[Bug 1795647] Re: /usr/bin/unattended-upgrade:apt_pkg.Error:try_to_upgrade:mark_upgrade_adjusted:call_adjusted:/usr/bin/unattended-upgrade at 1991:main:calculate_upgradable_pkgs:try_to_upgrade:rewind_cache:mark_install

Balint Reczey balint.reczey at canonical.com
Mon Nov 12 13:48:32 UTC 2018


*** This bug is a duplicate of bug 1322382 ***
    https://bugs.launchpad.net/bugs/1322382

This is an apt resolver issue. There are several bugs reported against
apt's resolver and I picked one as the duplicate.

Traceback

Traceback (most recent call last):
  File "/usr/bin/unattended-upgrade", line 1288, in try_to_upgrade
    cache.mark_upgrade_adjusted(pkg, from_user=not pkg.is_auto_installed)
  File "/usr/bin/unattended-upgrade", line 212, in mark_upgrade_adjusted
    self.call_adjusted(apt.package.Package.mark_upgrade, pkg, **kwargs)
  File "/usr/bin/unattended-upgrade", line 209, in call_adjusted
    raise NoAllowedOriginError
NoAllowedOriginError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/unattended-upgrade", line 1991, in <module>
    sys.exit(main(options))
  File "/usr/bin/unattended-upgrade", line 1647, in main
    cache, options, allowed_origins, blacklisted_pkgs, whitelisted_pkgs)
  File "/usr/bin/unattended-upgrade", line 1349, in calculate_upgradable_pkgs
    whitelisted_pkgs)
  File "/usr/bin/unattended-upgrade", line 1311, in try_to_upgrade
    rewind_cache(cache, pkgs_to_upgrade)
  File "/usr/bin/unattended-upgrade", line 933, in rewind_cache
    pkg2.mark_install(from_user=not pkg2.is_auto_installed)
  File "/usr/lib/python3/dist-packages/apt/package.py", line 1483, in mark_install
    fixer.resolve(True)
apt_pkg.Error: E:Unable to correct problems, you have held broken packages.


** This bug has been marked a duplicate of bug 1322382
   apt-get says that there are 'held broken' packages when there are no held packages

-- 
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/1795647

Title:
  /usr/bin/unattended-
  upgrade:apt_pkg.Error:try_to_upgrade:mark_upgrade_adjusted:call_adjusted:/usr/bin
  /unattended-
  upgrade at 1991:main:calculate_upgradable_pkgs:try_to_upgrade:rewind_cache:mark_install

Status in unattended-upgrades package in Ubuntu:
  New

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.5, the problem page at https://errors.ubuntu.com/problem/9b828180fea9b17c9544fe682fd13c0b9587907f 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/unattended-upgrades/+bug/1795647/+subscriptions



More information about the foundations-bugs mailing list