diff --git a/scripts/pkg-manager.sh b/scripts/pkg-manager.sh index 3bf07350..e3d58c0a 100644 --- a/scripts/pkg-manager.sh +++ b/scripts/pkg-manager.sh @@ -47,8 +47,11 @@ cmd_install() case $ID in opensuse|suse) - [ "$non_interactive" = 1 ] && global_opts="$global_opts --non-interactive" - eval run sudo $env zypper $global_opts install "$@" + [ "$non_interactive" = 1 ] && { + opts="--force-resolution --auto-agree-with-licenses" + global_opts="$global_opts --non-interactive --gpg-auto-import-keys --no-gpg-checks" + } + eval run sudo $env zypper $global_opts install $opts "$@" ;; debian) [ "$non_interactive" = 1 ] && {