fix: can not install depends

This commit is contained in:
shenmo 2024-11-05 18:26:21 +08:00
parent ce34fc763f
commit 32c74bc5a0
2 changed files with 2 additions and 2 deletions

@ -123,7 +123,7 @@ DEBPATH=$(realpath "$1")
exit "$try_run_ret"
fi
dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf --reinstall --allow-downgrades
dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf
if [ "$?" = "0" ] && [ "$2" = "--delete-after-install" ]; then
if dpkg -s "$package_name" >/dev/null 2>&1; then

@ -166,7 +166,7 @@ if [ ! -z "$IS_SHA512SUM_CHECKED" ]; then
exit "$try_run_ret"
fi
dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf --reinstall --allow-downgrades
dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf
unlock_file "$DEBPATH"