[Bug 1649959] Re: unattended upgrade of apt kills running apt-daily job
Chaskiel Grundman
1649959 at bugs.launchpad.net
Wed Dec 14 17:13:42 UTC 2016
Right. apport wouldn't know to grab U-U logs for an apt bug. Attached.
Also below is the journal snippet that lead me to conclude that system
unit updates were responsible:
Dec 14 02:40:02 sphinx systemd[1]: Reloading.
Dec 14 02:40:02 sphinx systemd[1]: snapd.refresh.timer: Adding 10min 24.692802s random time.
Dec 14 02:40:02 sphinx systemd[1]: Reloading.
Dec 14 02:40:02 sphinx systemd[1]: snapd.refresh.timer: Adding 1h 3min 1.020974s random time.
Dec 14 02:40:02 sphinx systemd[1]: Stopped Daily apt activities.
-- Subject: Unit apt-daily.service has finished shutting down
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit apt-daily.service has finished shutting down.
Dec 14 02:40:02 sphinx systemd[1]: apt-daily.timer: Adding 7h 38min 41.241571s random time.
Dec 14 02:40:02 sphinx systemd[1]: apt-daily.timer: Adding 2h 14.441752s random time.
Dec 14 02:40:02 sphinx systemd[1]: Starting Daily apt activities...
-- Subject: Unit apt-daily.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit apt-daily.service has begun starting up.
Dec 14 02:40:02 sphinx systemd[1]: Started Daily apt activities.
-- Subject: Unit apt-daily.service has finished start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit apt-daily.service has finished starting up.
--
-- The start-up result is done.
Dec 14 02:40:02 sphinx systemd[1]: apt-daily.timer: Adding 10h 59min 12.586084s random time.
Dec 14 02:40:02 sphinx systemd[1]: apt-daily.timer: Adding 7h 36min 31.098210s random time.
** Attachment added: "unattended-upgrades.log"
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1649959/+attachment/4791679/+files/unattended-upgrades.log
--
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:
New
Bug description:
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