Your message dated Thu, 23 Feb 2023 21:17:08 +0000
with message-id <[email protected]>
and subject line Bug#1029803: fixed in command-not-found 20.10.1-1+deb11u1
has caused the Debian Bug report #1029803,
regarding command-not-found breaks dist-upgrade bullseye → bookworm
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1029803: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029803
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: command-not-found
Version: 20.10.1-1
Severity: grave
Tags: patch
X-Debbugs-Cc: [email protected], [email protected]
Hi Julian,
(this is somewhat related to #968757 and #954249)
(kibi CCed)
Steps to reproduce (on an bullseye installation)
1) Install command-not-found
2) Edit /etc/apt/sources.list to
deb http://deb.debian.org/debian/ bookworm main contrib non-free
non-free-firmware
(note the new component non-free-firmware)
3) run `apt update`
# apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://deb.debian.org/debian bullseye-backports InRelease
Hit:5 https://packages.chef.io/repos/apt/stable bullseye InRelease
Hit:6 http://deb.debian.org/debian bookworm InRelease
Hit:7 http://deb.debian.org/debian sid InRelease
Hit:8 http://deb.debian.org/debian experimental InRelease
Traceback (most recent call last):
File "/usr/lib/cnf-update-db", line 26, in <module>
col.create(db)
File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 95,
in create
self._fill_commands(con)
File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 143,
in _fill_commands
self._parse_single_contents_file(con, f, fp.stdout)
File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 282,
in _parse_single_contents_file
priority = component_priorities[component]
KeyError: 'non-free-firmware'
Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test
-w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then
/usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code
This is already fixed in unstable, but in it's current form this will break the
upgrade path from bullseye to bookworm. The fix is trivial, adding
`'non-free-firmware': 60,` to CommandNotFound/db/creator.py is enough. I propose
doing a p-u to fix it.
Greets,
Lee
-- System Information:
Debian Release: 11.6
APT prefers stable-updates
APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990,
'stable'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.0.0-0.deb11.6-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages command-not-found depends on:
ii apt-file 3.2.2
ii lsb-release 11.1.0
ii python3 3.9.2-3
ii python3-apt 2.2.1
command-not-found recommends no packages.
Versions of packages command-not-found suggests:
pn snapd <none>
-- no debconf information
-- debsums errors found:
debsums: changed file
/usr/share/command-not-found/CommandNotFound/db/creator.py (from
command-not-found package)
--- End Message ---
--- Begin Message ---
Source: command-not-found
Source-Version: 20.10.1-1+deb11u1
Done: Paul Gevers <[email protected]>
We believe that the bug you reported is fixed in the latest version of
command-not-found, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Paul Gevers <[email protected]> (supplier of updated command-not-found package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 22 Feb 2023 16:09:19 +0100
Source: command-not-found
Architecture: source
Version: 20.10.1-1+deb11u1
Distribution: bullseye
Urgency: medium
Maintainer: Julian Andres Klode <[email protected]>
Changed-By: Paul Gevers <[email protected]>
Closes: 1029803
Changes:
command-not-found (20.10.1-1+deb11u1) bullseye; urgency=medium
.
* creator.py: add new non-free-firmware component (Closes: #1029803)
* debian/tests: Add adduser dependency, fix test to not assume vim-tiny
matches for vim. (from bookworm branch)
Checksums-Sha1:
099609f0f8bfbb98bc61a1363f1648ec588a3b24 1848
command-not-found_20.10.1-1+deb11u1.dsc
774d928084bffa5c2dec7f5dd4d0d43dbb65be51 14576
command-not-found_20.10.1-1+deb11u1.debian.tar.xz
Checksums-Sha256:
aa9c7381ac73bed209f7f5ac59433f3c46c46b4bc6d79c608e09dd6388cc450f 1848
command-not-found_20.10.1-1+deb11u1.dsc
772175f330dde4f7a2f4701f13e61e328bc0809dbe4cc8e998bca986ce217d76 14576
command-not-found_20.10.1-1+deb11u1.debian.tar.xz
Files:
aea695271229b119e1cba0bdc4fc9cf8 1848 admin optional
command-not-found_20.10.1-1+deb11u1.dsc
90f2d71458e41b45e2a95fc4f2c54646 14576 admin optional
command-not-found_20.10.1-1+deb11u1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAmP2M1kACgkQnFyZ6wW9
dQrROwf7B2CkmMjYWGrLFnkxtZ30wSoxTKt9JgBKB6YUc87liGVv0hklPey50oNf
+km9ghEbEIn8fbLZzDeU4cEpvMTj04dYZMSkOc5O/ddQ+wVo8+oIvtSTaEWV7HrW
eAt4DBdm2jslsQBQKV+m8EO2KrSOjjuJHMmqmBJsfTOs1lmCY9NVeIFVpdCcOGH5
VHjkFTVYA7wSZH/2a+G7VoIdQjOqgvbsN347SgRZRmHMBZlrdC36YktsZCtYy7AN
o3d8f0AYHmBJP7HadHmXa9bhBfITf1Bhd4c1J9XFGETvGGh5IqKlZ4bejeQdO5DN
ZY1ENOsBF/YEX1OGDJLdq1thiT5YWg==
=LT5w
-----END PGP SIGNATURE-----
--- End Message ---