+ # Update package lists (so they exist at all), so we actually can
+ # install software.
+ $ROOTCMD apt-get update
+
+ # make sure we can upgrade automatically,
+ # even with unsigned repos, but only if user wants it
+ if [ "${FAI_ALLOW_UNSIGNED:-}" = "1" ] ; then
+ APTGET_OPTS="${APTGET_OPTS:-} --allow-unauthenticated"
+ APTITUDE_OPTS="${APTITUDE_OPTS:-} --allow-untrusted"
+ fi
+
+ if $ROOTCMD test -x /usr/bin/aptitude ; then