From 32c74bc5a09cc3918876e26c1c98b908427cacff Mon Sep 17 00:00:00 2001 From: shenmo <jifengshenmo@outlook.com> Date: Tue, 5 Nov 2024 18:26:21 +0800 Subject: [PATCH] fix: can not install depends --- tool/ssaudit | 2 +- tool/ssinstall | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/ssaudit b/tool/ssaudit index 37ee792..711fd4e 100755 --- a/tool/ssaudit +++ b/tool/ssaudit @@ -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 diff --git a/tool/ssinstall b/tool/ssinstall index 9ea6120..20d6f90 100755 --- a/tool/ssinstall +++ b/tool/ssinstall @@ -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"