For example when configuration files have been modified and user
input is required then apt-get will fail and complain with:
| E: There are problems and -y was used without --force-yes
So let's force the action as we are in automated mode.
APT_LISTCHANGES_FRONTEND=none APT_LISTBUGS_FRONTEND=none $ROOTCMD aptitude -y upgrade
fi
else
- APT_LISTCHANGES_FRONTEND=none APT_LISTBUGS_FRONTEND=none $ROOTCMD apt-get -y upgrade
+ APT_LISTCHANGES_FRONTEND=none APT_LISTBUGS_FRONTEND=none $ROOTCMD apt-get -y --force-yes upgrade
fi
exit # make sure we don't continue behind the following "fi"