[Bug 1649959] Re: unattended upgrade of apt kills running apt-daily job
Adam Conrad
adconrad at 0c3.net
Wed Dec 14 19:58:04 UTC 2016
Hello Chaskiel, or anyone else affected,
Accepted apt into yakkety-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/apt/1.3.3 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: apt (Ubuntu Yakkety)
Status: In Progress => Fix Committed
** Tags added: verification-needed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1649959
Title:
unattended upgrade of apt kills running apt-daily job
Status in apt package in Ubuntu:
Fix Committed
Status in apt source package in Yakkety:
Fix Committed
Bug description:
[Impact]
Causes automatic upgrades by unattended-upgrades to be interrupted if apt is configured, leaving the system in a partially configured state.
[Test case]
Install apt - make sure the apt-daily.service is not restarted (this systemd service runs unattended-upgrades)
[Regression Potential]
It's only overriding dh_systemd_start to not be called for the service, so I don't see any possibility for regressions.
[Original Bug report]
This morning, I discovered that my new xenial system had attempted an unattended upgrade overnight but the upgrade was incomplete. It attempted to upgrade
apt apt-transport-https apt-utils firefox firefox-locale-en flashplugin-installer libapt-inst2.0 libapt-pkg5.0 libgme0
but the unattended-upgrades-dpkg.log log terminates after apt is
configured.
I had to dpkg --configure --pending and apt-get -f install to get apt back into working order.
There were no errors, crashes or cores logged.
The journal indicates that apt-daily.service stopped and restarted around the time of the upgrade, so I am assuming that is the problem (that systemd killed the update session as the result of an update to the unit files)
---
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: XFCE
DistroRelease: Ubuntu 16.10
InstallationDate: Installed on 2016-12-06 (7 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
NonfreeKernelModules: openafs
Package: apt 1.3.2ubuntu0.1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 4.8.0-30.32-generic 4.8.6
Tags: yakkety
Uname: Linux 4.8.0-30-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo wireshark
_MarkForUpload: True
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1649959/+subscriptions
More information about the foundations-bugs
mailing list