In order to check for the above condition, one need a precursor script (as root) before the update proper, which goes along these lines:
#! /bin/sh if [[ -n $(dpkg --get-selections | grep module-init-tools | cut -f1) ]] then cat <<- EOF >/etc/update-manager/release-upgrades.d/unauth.cfg [Distro] AllowUnauthenticated=yes EOF fi
In order to check for the above condition, one need a precursor script (as root) before the update proper, which goes along these lines:
#! /bin/sh manager/ release- upgrades. d/unauth. cfg cated=yes
if [[ -n $(dpkg --get-selections | grep module-init-tools | cut -f1) ]]
then
cat <<- EOF >/etc/update-
[Distro]
AllowUnauthenti
EOF
fi