Comment 5 for bug 1550741

Revision history for this message
Winfried PLappert (winfried-plappert) wrote :

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