[Bug 1891332] Re: /usr/bin/unattended-upgrade:apt_pkg.Error:try_to_upgrade:mark_upgrade_adjusted:call_adjusted:clear:/usr/bin/unattended-upgrade at 2514:main:run:calculate_upgradable_pkgs:try_to_upgrade:rewind_cache:clear
Balint Reczey
1891332 at bugs.launchpad.net
Thu Aug 13 11:49:48 UTC 2020
*** This bug is a duplicate of bug 1871145 ***
https://bugs.launchpad.net/bugs/1871145
** Description changed:
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.
** This bug has been marked a duplicate of bug 1871145
apt.Cache.clear() -> apt.Cache._depcache.init() raises Error
--
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/1891332
Title:
/usr/bin/unattended-
upgrade:apt_pkg.Error:try_to_upgrade:mark_upgrade_adjusted:call_adjusted:clear:/usr/bin
/unattended-
upgrade at 2514:main:run:calculate_upgradable_pkgs:try_to_upgrade:rewind_cache:clear
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 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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1891332/+subscriptions
More information about the foundations-bugs
mailing list