diff --git a/cluster/apt.apply.update.sh b/cluster/apt.apply.update.sh index babfc92..378e803 100755 --- a/cluster/apt.apply.update.sh +++ b/cluster/apt.apply.update.sh @@ -276,6 +276,10 @@ upgrade_system() { # {{{ debug_message "upgrade_system − \ Try to apply APT upgrades". + ## First update repositories to get all available upgrades + aptitude update >> "${APT_TMP_FILE}" 2>&1 + + ## And apply full-upgrade DEBIAN_FRONTEND=noninteractive aptitude -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold full-upgrade >> "${APT_TMP_FILE}" 2>&1 }