fix: Now only use apt but not dpkg

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
2024-10-20 18:41:27 +00:00
committed by Gitee
parent 7ad606bbd4
commit fb01686527
2 changed files with 4 additions and 5 deletions

View File

@@ -164,9 +164,8 @@ if [ ! -z "$IS_SHA512SUM_CHECKED" ]; then
echo -e "${try_run_output}"
exit "$try_run_ret"
fi
dpkg --force-conflicts -i "$DEBPATH"
aptss install "$DEBPATH" -yf
aptss install "$DEBPATH" -yf --reinstall
unlock_file "$DEBPATH"