/usr/bin/unattended-upgrade:apt_pkg.Error:try_to_upgrade:mark_upgrade_adjusted:call_adjusted:clear:/usr/bin/unattended-upgrade@2514:main:run:calculate_upgradable_pkgs:try_to_upgrade:rewind_cache:clear

Bug #1891332 reported by errors.ubuntu.com bug bridge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unattended-upgrades (Ubuntu)
New
Undecided
Unassigned

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 2.3ubuntu0.1, the problem page at https://errors.ubuntu.com/problem/a16ab8014a871a4f125fcf1b5f1412bd338f9b5c 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 (most recent call last):
  File "/usr/bin/unattended-upgrade", line 1705, in try_to_upgrade
    cache.mark_upgrade_adjusted(pkg, from_user=not pkg.is_auto_installed)
  File "/usr/bin/unattended-upgrade", line 440, in mark_upgrade_adjusted
    self.call_adjusted(apt.package.Package.mark_upgrade, pkg, **kwargs)
  File "/usr/bin/unattended-upgrade", line 399, in call_adjusted
    self.clear()
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 700, in clear
    self._depcache.init()
apt_pkg.Error: E:The package ts3client needs to be reinstalled, but I can't find an archive for it.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/unattended-upgrade", line 2514, in <module>
    sys.exit(main(options))
  File "/usr/bin/unattended-upgrade", line 1985, in main
    res = run(options, rootdir, mem_log, logfile_dpkg,
  File "/usr/bin/unattended-upgrade", line 2157, in run
    pkgs_to_upgrade = calculate_upgradable_pkgs(cache, options)
  File "/usr/bin/unattended-upgrade", line 1746, in calculate_upgradable_pkgs
    try_to_upgrade(pkg,
  File "/usr/bin/unattended-upgrade", line 1716, in try_to_upgrade
    rewind_cache(cache, pkgs_to_upgrade)
  File "/usr/bin/unattended-upgrade", line 1334, in rewind_cache
    cache.clear()
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 700, in clear
    self._depcache.init()
apt_pkg.Error: E:The package ts3client needs to be reinstalled, but I can't find an archive for it.

Tags: focal
Balint Reczey (rbalint)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.