[Bug 1779157] Re: /usr/bin/unattended-upgrade:AssertionError:/usr/bin/unattended-upgrade at 1927:main:do_install
Balint Reczey
balint.reczey at canonical.com
Wed Jul 18 14:34:02 UTC 2018
The problem seems to be gone on errors.ubuntu.com.
There are a few errors falsely reported against the fixed version (1.1ubuntu1.18.04.4) but those are cases where the buggy version upgraded the package and afterwards apport collected the version of the fixed package, which did not run yet.
Also note that in the stack trace the u-u versions are mixed,
only 1.1ubuntu1.18.04.1 raises the error at line 1065 in do_install,
but the "if dpkg_log_content:" is from 1.1ubuntu1.18.04.4.
Traceback (most recent call last):
File "/usr/bin/unattended-upgrade", line 1935, in <module>
File "/usr/bin/unattended-upgrade", line 1790, in main
cache, auto_removable_kernel_pkgs,
File "/usr/bin/unattended-upgrade", line 1065, in do_install
if dpkg_log_content:
AssertionError: Internal error. The following packages are marked for removal:linux-modules-extra-4.15.0-23-generic
(https://errors.ubuntu.com/oops/84855090-8807-11e8-b8b4-fa163e192766)
** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-needed-done
--
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
Status in unattended-upgrades source package in Bionic:
Fix Committed
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
Also seen as:
https://errors.ubuntu.com/problem/733d2e7865692e215f406231edd3692a6a1810c5
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