Package: apt-listchanges
Version: 3.24
Severity: normal
Usertags: version

I noticed that when I upgrade the linux-headers-amd64 metapackage,
which is built from the linux-signed-amd64 source package, then
apt-listchanges is not able to retrieve the changelog:

   apt-listchanges: Unable to retrieve changelog for package 
linux-headers-amd64; 'apt-get changelog' failed with: E: Version '6.0.5+1' for 
'linux-headers-amd64' was not found

It looks like it is passing the source version with the binary name
instead of the binary version with the binary name.

   $ apt-cache showsrc linux-headers-amd64 | grep ^Version
   Version: 6.0.3+1
   Version: 6.0.5+1
   
   $ apt-cache show linux-headers-amd64 | grep ^Version
   Version: 6.0.5-1
   Version: 6.0.3-1
   
   $ apt-get changelog linux-headers-amd64=6.0.5+1 | sponge | head -n2 
   E: Version '6.0.5+1' for 'linux-headers-amd64' was not found
   E: No packages found
   
   $ apt-get changelog linux-headers-amd64=6.0.5-1 | sponge | head -n2 
   Get:1 store: linux-signed-amd64 6.0.5+1 Changelog
   linux (6.0.5-1) unstable; urgency=medium

-- Package-specific info:
==> /etc/apt/listchanges.conf <==
[apt]
frontend=pager
email_address=root
confirm=1
save_seen=/var/lib/apt/listchanges.db
which=both
no_network=false
email_format=text
headers=false
reverse=false

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt-listchanges depends on:
ii  apt                    2.5.3+b1
ii  debconf [debconf-2.0]  1.5.79
ii  python3                3.10.6-1
ii  python3-apt            2.3.0+nmu1
ii  python3-debconf        1.5.79
ii  sensible-utils         0.0.17
ii  ucf                    3.0043

apt-listchanges recommends no packages.

Versions of packages apt-listchanges suggests:
ii  chromium [www-browser]                     107.0.5304.87-1
ii  dillo [www-browser]                        3.0.5-7+b1
ii  elinks [www-browser]                       0.13.2-1+b4
ii  exim4-daemon-light [mail-transport-agent]  4.96-7
ii  firefox [www-browser]                      106.0-1
ii  firefox-esr [www-browser]                  102.4.0esr-1
ii  gnome-console [x-terminal-emulator]        43.0-2
ii  gnome-terminal [x-terminal-emulator]       3.46.2-1
ii  links [www-browser]                        2.27-1+b1
ii  lynx [www-browser]                         2.9.0dev.10-1+b1
ii  netsurf-gtk [www-browser]                  3.10-1+b3
ii  python3-gi                                 3.42.2-2
ii  w3m [www-browser]                          0.5.3+git20220429-1+b1
ii  xterm [x-terminal-emulator]                374-1

-- debconf information:
* apt-listchanges/email-address: root
* apt-listchanges/email-format: text
* apt-listchanges/save-seen: true
* apt-listchanges/frontend: pager
* apt-listchanges/which: both
* apt-listchanges/reverse: false
* apt-listchanges/headers: false
* apt-listchanges/no-network: false
* apt-listchanges/confirm: true

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to