[Bug 1661611] Re: apt/unattended-upgrades stalls shutdown
Brian Murray
brian at ubuntu.com
Tue Feb 7 21:58:31 UTC 2017
apt_pkg.config.find_b() returns a boolean not a string.
"find_b(key[, default=False]) → bool Return the boolean value stored at
key, or the value given by the bool object default if the requested
option is not set."
>From apt.alioth.debian.org/python-apt-
doc/library/apt_pkg.html#apt_pkg.config.find_b
So it's not a bug in unattended-upgrade-shutdown as checking for False
is correct.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/1661611
Title:
apt/unattended-upgrades stalls shutdown
Status in unattended-upgrades package in Ubuntu:
Incomplete
Bug description:
When unattended-upgrades is installed, 9 out of 10 shutdowns/reboots
hang while "starting unattended upgrades shutdown". This hang stalls
the shutdown process for 5-10 mins.
If I disable unnattended-upgrades via the /etc/apt/apt.conf.d/20auto-
upgrades and/or 50unattended-upgrades, the problems occurs.
If I terminate the service before shutdown/reboot (sudo service
unattended-upgrades stop) the problem still occurs.
If I remove the package (sudo apt remove unattended-upgrades) the
problem no longer occurs.
This occurs on a freshly installed version of Ubuntu Server 16.04.1
(both unattended-upgrades installed via install GUI or manual install
of unattended-upgrades)
Both Kern.log & syslog do not show the shutdown process (I believe
because the filesystems have already unmounted)
Original report: http://askubuntu.com/questions/878630/apt-unattended-
upgrades-stalls-shutdown
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1661611/+subscriptions
More information about the foundations-bugs
mailing list