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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1550741

Title:
  Upgrade failed - unauthenticated package (module-init-tools)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1550741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to