File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ system_upgrade() {
3434 export DEBIAN_FRONTEND=noninteractive
3535 if ! apt-get clean --yes -o DPkg::Lock::Timeout=" $APTTIMEOUT " ; then echo " FAILED" ; return 1; fi
3636 # bad packages may require interactive input despite of this setting so do not mask output (no cond_redirect)
37- if ! apt-get upgrade --yes -o DPkg::Lock::Timeout=" $APTTIMEOUT " -o Dpkg::Options::=" --force-confdef" -o Dpkg::Options::=" --force-confold" ; then echo " FAILED" ; return 1; fi
37+ if ! apt-get upgrade --yes --allow-downgrades - o DPkg::Lock::Timeout=" $APTTIMEOUT " -o Dpkg::Options::=" --force-confdef" -o Dpkg::Options::=" --force-confold" ; then echo " FAILED" ; return 1; fi
3838 if ! cond_redirect java -version & > /dev/null; then
3939 update_config_java " Temurin21" && java_install " Temurin21"
4040 fi
You can’t perform that action at this time.
0 commit comments