不再使用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

3
debian/changelog vendored
View File

@@ -1,6 +1,7 @@
spark-store (4.2.3.2~Reason6) stable; urgency=medium
spark-store (4.2.3.2~Reason7) stable; urgency=medium
* ssinstall发现无法验证时尝试update而不是ssupdate
* 启动每日aptss update
* ssinstall在发现无法安装后
-- shenmo <shenmo@spark-app.store>

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"