[Bug 1770224] [NEW] unattended-upgrades crashes with: apt_pkg.Error: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages
errors.ubuntu.com bug bridge
whoopsie-daisy-bug-bridge at canonical.com
Wed May 9 17:12:02 UTC 2018
Public bug reported:
It seems pkgProblemResolver is hitting an internal bug quite frequently
with latest u-u:
Traceback (most recent call last):
File "/usr/bin/unattended-upgrade", line 1927, in <module>
sys.exit(main(options))
File "/usr/bin/unattended-upgrade", line 1822, in main
options.dry_run)
File "/usr/bin/unattended-upgrade", line 1399, in do_auto_remove
res, error = cache_commit(cache, logfile_dpkg, verbose)
File "/usr/bin/unattended-upgrade", line 513, in cache_commit
res = cache.commit(install_progress=iprogress)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 565, in commit
res = self._fetch_archives(fetcher, pm)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 385, in _fetch_archives
raise LockFailedException("Failed to lock %s" % lockfile)
apt.cache.LockFailedException: Failed to lock /var/cache/apt/archives/lock
I believe this should be fixed in apt rather than just catching it in u-u.
More info:
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, the problem page at https://errors.ubuntu.com/problem/49de8d44b4ceccb27b66921173ee7e837e7a1e54 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/.
** Affects: apt (Ubuntu)
Importance: Undecided
Status: New
** Tags: bionic
--
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/1770224
Title:
unattended-upgrades crashes with: apt_pkg.Error: E:Error,
pkgProblemResolver::Resolve generated breaks, this may be caused by
held packages
Status in apt package in Ubuntu:
New
Bug description:
It seems pkgProblemResolver is hitting an internal bug quite
frequently with latest u-u:
Traceback (most recent call last):
File "/usr/bin/unattended-upgrade", line 1927, in <module>
sys.exit(main(options))
File "/usr/bin/unattended-upgrade", line 1822, in main
options.dry_run)
File "/usr/bin/unattended-upgrade", line 1399, in do_auto_remove
res, error = cache_commit(cache, logfile_dpkg, verbose)
File "/usr/bin/unattended-upgrade", line 513, in cache_commit
res = cache.commit(install_progress=iprogress)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 565, in commit
res = self._fetch_archives(fetcher, pm)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 385, in _fetch_archives
raise LockFailedException("Failed to lock %s" % lockfile)
apt.cache.LockFailedException: Failed to lock /var/cache/apt/archives/lock
I believe this should be fixed in apt rather than just catching it in u-u.
More info:
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, the problem page at https://errors.ubuntu.com/problem/49de8d44b4ceccb27b66921173ee7e837e7a1e54 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/.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1770224/+subscriptions
More information about the foundations-bugs
mailing list