不再使用cp-r同步系统lists,防止把未更新的也带过来

This commit is contained in:
2023-03-08 00:44:21 +08:00
parent e6561e0a07
commit 9b4c3aa2ce
2 changed files with 3 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ curl --silent -o /tmp/aptss-conf/apt-fast.conf "https://d.store.deepinos.org.c
chmod -R 755 /tmp/aptss-conf
curl --silent -o /opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list "https://d.store.deepinos.org.cn/sparkstore${STORE_LIST_URL}.list"
cp -r /var/lib/apt/lists/* /var/lib/aptss/lists/
apt update -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" -o Dir::Etc::sourcelist="/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list"