* [Sun, Mar 29, 2020 at 07:46:31PM +0200] Bálint Réczey:
Could you please check the output of:
sudo unattended-upgrade --download-only --verbose -d
apt list --upgradable
And tell which package (version) triggers the error?
I tried reproducing it locally and I don't see it with the package set
installed on my sid system.
Hi Bálint,
please find the output in the attached file. I had just performed a
manual dist-upgrade, so the only blocked packages were libssl1.1 (which
I had to block for unrelated reasons) and
isc-dhcp-client/unstable 4.4.1-2.1+b2 amd64 [upgradable from: 4.4.1-2.1+b1]
that seems to be the cause.
Thank you,
Gian Piero.
$ sudo unattended-upgrade --download-only --verbose -d
Starting unattended upgrades script
Allowed origins are: o=Debian, n=sid
Initial blacklist:
Initial whitelist (not strict):
Marking not allowed <apt_pkg.PackageFile object:
filename:'/var/lib/apt/lists/deb.debian.org_debian_dists_experimental_main_i18n_Translation-en'
a=experimental,c=main,v=,o=Debian,l=Debian arch='' site='deb.debian.org'
IndexType='Debian Translation Index' Size=1635686 ID:1> with -32768 pin
Marking not allowed <apt_pkg.PackageFile object:
filename:'/var/lib/apt/lists/deb.debian.org_debian_dists_experimental_main_binary-amd64_Packages'
a=experimental,c=main,v=,o=Debian,l=Debian arch='amd64' site='deb.debian.org'
IndexType='Debian Package Index' Size=2117234 ID:0> with -32768 pin
Applying pinning: PkgFilePin(id=1, priority=-32768)
Applying pin -32768 to package_file: <apt_pkg.PackageFile object:
filename:'/var/lib/apt/lists/deb.debian.org_debian_dists_experimental_main_i18n_Translation-en'
a=experimental,c=main,v=,o=Debian,l=Debian arch='' site='deb.debian.org'
IndexType='Debian Translation Index' Size=1635686 ID:1>
Applying pinning: PkgFilePin(id=0, priority=-32768)
Applying pin -32768 to package_file: <apt_pkg.PackageFile object:
filename:'/var/lib/apt/lists/deb.debian.org_debian_dists_experimental_main_binary-amd64_Packages'
a=experimental,c=main,v=,o=Debian,l=Debian arch='amd64' site='deb.debian.org'
IndexType='Debian Package Index' Size=2117234 ID:0>
Using
(^linux-.*-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^kfreebsd-.*-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^gnumach-.*-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^.*-modules-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^.*-kernel-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^linux-.*-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^kfreebsd-.*-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^gnumach-.*-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^.*-modules-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^.*-kernel-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$)
regexp to find kernel packages
Using
(^linux-.*-5\.4\.0\-4\-amd64$|^linux-.*-5\.4\.0\-4$|^kfreebsd-.*-5\.4\.0\-4\-amd64$|^kfreebsd-.*-5\.4\.0\-4$|^gnumach-.*-5\.4\.0\-4\-amd64$|^gnumach-.*-5\.4\.0\-4$|^.*-modules-5\.4\.0\-4\-amd64$|^.*-modules-5\.4\.0\-4$|^.*-kernel-5\.4\.0\-4\-amd64$|^.*-kernel-5\.4\.0\-4$|^linux-.*-5\.4\.0\-4\-amd64$|^linux-.*-5\.4\.0\-4$|^kfreebsd-.*-5\.4\.0\-4\-amd64$|^kfreebsd-.*-5\.4\.0\-4$|^gnumach-.*-5\.4\.0\-4\-amd64$|^gnumach-.*-5\.4\.0\-4$|^.*-modules-5\.4\.0\-4\-amd64$|^.*-modules-5\.4\.0\-4$|^.*-kernel-5\.4\.0\-4\-amd64$|^.*-kernel-5\.4\.0\-4$)
regexp to find running kernel packages
Checking: isc-dhcp-client ([<Origin component:'main' archive:'unstable'
origin:'Debian' label:'Debian' site:'deb.debian.org' isTrusted:True>])
falling back to adjusting isc-dhcp-client's dependencies
An error occurred: '<' not supported between instances of 'NotImplementedType'
and 'int'
Traceback (most recent call last):
File "/usr/bin/unattended-upgrade", line 1986, 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 1747, in calculate_upgradable_pkgs
try_to_upgrade(pkg,
File "/usr/bin/unattended-upgrade", line 1706, in try_to_upgrade
cache.mark_upgrade_adjusted(pkg, from_user=not pkg.is_auto_installed)
File "/usr/bin/unattended-upgrade", line 438, in mark_upgrade_adjusted
self.call_adjusted(apt.package.Package.mark_upgrade, pkg, **kwargs)
File "/usr/bin/unattended-upgrade", line 405, in call_adjusted
self.adjust_candidate(self[dep])
File "/usr/bin/unattended-upgrade", line 345, in adjust_candidate
if new_cand < pkg.candidate:
File "/usr/lib/python3/dist-packages/apt/package.py", line 514, in __lt__
return self._cmp(other) < 0
TypeError: '<' not supported between instances of 'NotImplementedType' and 'int'
Extracting content from
/var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2020-03-29
20:17:20
Sending mail to root
mail returned: 0
Traceback (most recent call last):
File "/usr/bin/unattended-upgrade", line 2512, in <module>
sys.exit(main(options))
File "/usr/bin/unattended-upgrade", line 1986, 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 1747, in calculate_upgradable_pkgs
try_to_upgrade(pkg,
File "/usr/bin/unattended-upgrade", line 1706, in try_to_upgrade
cache.mark_upgrade_adjusted(pkg, from_user=not pkg.is_auto_installed)
File "/usr/bin/unattended-upgrade", line 438, in mark_upgrade_adjusted
self.call_adjusted(apt.package.Package.mark_upgrade, pkg, **kwargs)
File "/usr/bin/unattended-upgrade", line 405, in call_adjusted
self.adjust_candidate(self[dep])
File "/usr/bin/unattended-upgrade", line 345, in adjust_candidate
if new_cand < pkg.candidate:
File "/usr/lib/python3/dist-packages/apt/package.py", line 514, in __lt__
return self._cmp(other) < 0
TypeError: '<' not supported between instances of 'NotImplementedType' and 'int'
$ apt list --upgradable
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Listing...
isc-dhcp-client/unstable 4.4.1-2.1+b2 amd64 [upgradable from: 4.4.1-2.1+b1]
libssl1.1/unstable 1.1.1e-1 amd64 [upgradable from: 1.1.1a-1]