[Bug 1820888] Re: unattended-upgrades may hold back upgrades due to comparing package versions by their string representation
Launchpad Bug Tracker
1820888 at bugs.launchpad.net
Fri Mar 22 21:52:07 UTC 2019
This bug was fixed in the package unattended-upgrades - 1.10ubuntu2
---------------
unattended-upgrades (1.10ubuntu2) disco; urgency=medium
* Compare apt.package.Version objects and not the versions' string
representation. (LP: #1820888)
This prevented adjusting candidates when the strings sorted differently.
Also extend tests to catch issue.
* Fall back to adjusting more packages' candidates
when a package from an allowed origin can't be marked to install/upgrade.
(LP: #1821101)
* Skip sending email when no package had to be installed, upgraded or removed
(LP: #1821103) (Closes: #924554)
-- Balint Reczey <rbalint at ubuntu.com> Fri, 22 Mar 2019 20:42:08 +0100
** Changed in: unattended-upgrades (Ubuntu)
Status: New => Fix Released
--
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/1820888
Title:
unattended-upgrades may hold back upgrades due to comparing package
versions by their string representation
Status in unattended-upgrades package in Ubuntu:
Fix Released
Bug description:
This is part of the reason why the autopkgtes installing all security updates is failing for cosmic with 1.10ubuntu1:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-disco/disco/amd64/u/unattended-upgrades/20190318_182031_fe4fe@/log.gz
...
Checking: libnss-systemd ([<Origin component:'main' archive:'cosmic-updates' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>])
pkg libsystemd0 not in allowed origin
sanity check failed
...
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1820888/+subscriptions
More information about the foundations-bugs
mailing list