[Bug 1779157] Re: /usr/bin/unattended-upgrade:AssertionError:/usr/bin/unattended-upgrade at 1927:main:do_install
Launchpad Bug Tracker
1779157 at bugs.launchpad.net
Fri Jul 6 15:38:27 UTC 2018
This bug was fixed in the package unattended-upgrades - 1.4ubuntu1
---------------
unattended-upgrades (1.4ubuntu1) cosmic; urgency=medium
* Merge from Debian unstable
- Remaining changes:
- unattended-upgrades: Do not automatically upgrade the development
release of Ubuntu unless Unattended-Upgrade::DevRelease is true.
- Dropped changes, included in Debian:
- Stop rewriting test apt.conf in test_untrusted.py.
- Fix test_on_battery on Ubuntu development releases
unattended-upgrades (1.4) unstable; urgency=medium
* Skip starting init.d script in debhelper-generated postinst part
(LP: #1778800)
* Use "deb-systemd-invoke start" instead of "systemctl start" in postinst.
It is used only in a workaround applied for a Debian bug and for upgrading
from pre-bionic versions.
* Clear cache when autoremoval is invalid for a package set marked for
removal (LP: #1779157)
* Clear cache after failed commits to return from a possibly invalid state
* Unlock for dpkg operations with apt_pkg.pkgsystem_unlock_inner() when it
is available, also stop running when reacquiring the lock fails.
Thanks to to Julian Andres Klode for original partial patch
* Use fully qualified domain name in email subject.
* Send email about all failures and crashes (Closes: #898607)
* Add short textual summary of the results in the summary email
* Recommend overriding configuration in a separate file.
This can be better than changing /etc/apt/apt.conf.d/50unattended-upgrades
because package updates don't conflict with local changes this way.
* Adjust candidates only for packages to be possibly installed
(Closes: #892028, #899366) (LP: #1396787)
* Add Unattended-Upgrade::OnlyOnACPower config file example for all
distributions
* debian/control: Drop redundant Testsuite: autopkgtest field to keep Lintian
happy
* Bump Standards-Version to 4.1.4
* Add debian/tests/upgrade-all-security to install all current security
updates. On development releases this tests latest stable, on stable
releases it tests the release itself.
* Skip updates on metered connections (Closes: #855570)
* Quote shell variables in autopkgtest
* Stop u-u early when it should stop later anyway
* Measure time for --dry-run and after all updates are installed in
autopkgtests
* Filter out packages cheaper when they are not from allowed origins
* Collect autoremovable packages, too, when looking for upgradable ones
-- Balint Reczey <rbalint at ubuntu.com> Fri, 06 Jul 2018 13:33:29 +0200
** Changed in: unattended-upgrades (Ubuntu)
Status: In Progress => 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/1779157
Title:
/usr/bin/unattended-upgrade:AssertionError:/usr/bin/unattended-
upgrade at 1927:main:do_install
Status in unattended-upgrades package in Ubuntu:
Fix Released
Bug description:
The Ubuntu Error Tracker has been receiving reports about a problem regarding unattended-upgrades. This problem was most recently seen with package version 1.1ubuntu1.18.04.1, the problem page at https://errors.ubuntu.com/problem/9b1b98279fa2b503abb1b1b69bec0cabf647be0c contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
Traceback
Traceback (most recent call last):
File "/usr/bin/unattended-upgrade", line 1927, in <module>
sys.exit(main(options))
File "/usr/bin/unattended-upgrade", line 1782, in main
logfile_dpkg)
File "/usr/bin/unattended-upgrade", line 1057, in do_install
"removal:%s" % "".join([pkg.name for pkg in marked_delete]))
AssertionError: Internal error. The following packages are marked for removal:linux-headers-4.15.0-20-generic
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1779157/+subscriptions
More information about the foundations-bugs
mailing list