I was unable to reproduce the libdrm issue or determine how it could have happened from attempting to reproduce it and examining the code. To be clear: I'm not disputing that it happened, just saying I can't figure out how so I can't figure out how to fix it. :-/

In the process of attempting to reproduce it I discovered and fixed three different bugs. Two of those bugs only impact debugging snapshots, and indeed, they prevented the snapshot you sent me from being complete, which is part of why I was unable to reproduce the issue. It's remotely possible that the third bug might explain the behavior you saw, but I can't figure out how.

All I can think to do at this point is to put out a new experimental version of apt-listchanges with these three fixes in it and then we'll see if the issue you encountered happens again. Because I can't reproduce the issue or figure out how it could have happened, I can't think of a better solution than that at this point.

  jik

On 10/17/23 02:36, Axel Beckert wrote:
Package: apt-listchanges
Version: 4.2
Severity: normal

Hi Jonathan,

two other cases of ancient NEWS items being show, this time with
apt-listchanges 4.2 and when upgrading falkon from 23.08.1-1 to
23.08.2-1 and multiple src:libdrm packages from 2.4.115-1 to 2.4.116-1:

$ dpkg -l 'libdrm*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Tr
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                  Version      Architecture Description
+++-=====================-============-============-===================
ii  libdrm-amdgpu1:amd64  2.4.115-1    amd64        Userspace interface
ii  libdrm-amdgpu1:i386   2.4.115-1    i386         Userspace interface
ii  libdrm-common         2.4.115-1    all          Userspace interface
ii  libdrm-dev:amd64      2.4.115-1    amd64        Userspace interface
ii  libdrm-intel1:amd64   2.4.115-1    amd64        Userspace interface
ii  libdrm-intel1:i386    2.4.115-1    i386         Userspace interface
ii  libdrm-nouveau2:amd64 2.4.115-1    amd64        Userspace interface
ii  libdrm-nouveau2:i386  2.4.115-1    i386         Userspace interface
ii  libdrm-radeon1:amd64  2.4.115-1    amd64        Userspace interface
ii  libdrm-radeon1:i386   2.4.115-1    i386         Userspace interface
ii  libdrm2:amd64         2.4.115-1    amd64        Userspace interface
ii  libdrm2:i386          2.4.115-1    i386         Userspace interface
ii  libdrm2-dbgsym:amd64  2.4.115-1    amd64        debug symbols for l

I got shown three NEWS entries, one from a few days ago (correct), one
from 2018 (falkon) and one from 2007, seemingly for libdrm2, but I
suspect that at least the multiarch setup (libdrm2:amd64 vs
libdrm2:i386, see above) might have played a role:

--- News for falkon ---

falkon (3.0.0-3) unstable; urgency=medium
   ===========================================

   Falkon is a replacement for the former package Qupzilla. If you, or some
   other user of this computer were using Qupzilla formerly, it is possible
   to restore bookmarks which were gathered with Qupzilla, so they become
   available for Falkon users.

   Here is a method for user John Doe, in shell language:

   # USER_HOME=/home/johnDoe;
   # cp ${USER_HOME}/.config/qupzilla/profiles/default/bookmarks.json \
   ${USER_HOME}/.config/falkon/profiles/defaults/

   Please notice that doing so will erase any previous file
   ${USER_HOME}/.config/falkon/profiles/defaults/bookmarks.json

  -- Georges Khaznadar<georg...@debian.org>   Tue, 03 Apr 2018 18:26:55 +0200

[Inbetween was NEWS for xca 2.5.0-1 which was current as I upgraded from
2.4.0-2+b1]

--- News for libdrm2 ---

libdrm (2.3.0-4) experimental; urgency=low

   * We are now shipping libdrm with the default permissions set to 666,
     rather than the upstream default of 660. If you have untrusted users,
     you should configure the X server to explicitly use a mode of 660 in
     the xorg.conf.

  -- David Nusinow<dnusi...@debian.org>   Wed, 18 Apr 2007 22:44:21 -0400

-- Package-specific info:

-- System Information:
Debian Release: trixie/sid
   APT prefers unstable
   APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), 
(500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 
'buildd-experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages apt-listchanges depends on:
ii  apt                     2.7.6
ii  cdebconf [debconf-2.0]  0.271
ii  debconf [debconf-2.0]   1.5.82
ii  python3                 3.11.4-5+b1
ii  python3-apt             2.6.0
ii  python3-debconf         1.5.82
ii  sensible-utils          0.0.20
ii  ucf                     3.0043+nmu1

apt-listchanges recommends no packages.

Versions of packages apt-listchanges suggests:
ii  alacritty [x-terminal-emulator]        0.12.2-2+b1
ii  chromium [www-browser]                 118.0.5993.70-1
ii  cool-retro-term [x-terminal-emulator]  1.2.0+ds2-1+b1
ii  dillo [www-browser]                    3.0.5-7+b1
ii  edbrowse [www-browser]                 3.7.7-5
ii  elinks [www-browser]                   0.16.1.1-4
ii  eterm [x-terminal-emulator]            0.9.6-7.1
ii  falkon [www-browser]                   23.08.1-1
ii  firefox [www-browser]                  118.0.2-1
ii  firefox-esr [www-browser]              115.3.0esr-1+b1
ii  gnome-console [x-terminal-emulator]    45.0-1
ii  gnome-terminal [x-terminal-emulator]   3.50.0-1
ii  hv3 [www-browser]                      3.0~fossil20110109-8
ii  kitty [x-terminal-emulator]            0.26.5-5
ii  konqueror [www-browser]                4:22.12.3-2
ii  konsole [x-terminal-emulator]          4:23.08.1-1
ii  lilyterm [x-terminal-emulator]         0.9.9.4+git20150208.f600c0-5+b1
ii  links [www-browser]                    2.29-1+b1
ii  links2 [www-browser]                   2.29-1+b1
ii  luakit [www-browser]                   1:2.3.3-1
ii  lxterminal [x-terminal-emulator]       0.4.0-2
ii  lynx [www-browser]                     2.9.0dev.12-1
ii  midori [www-browser]                   7.0-2.1+b1
ii  netrik [www-browser]                   1.16.1-4
ii  netsurf [www-browser]                  3.6-3.2
ii  netsurf-gtk [www-browser]              3.10-3.1
ii  postfix [mail-transport-agent]         3.8.2-1
ii  pterm [x-terminal-emulator]            0.79-1
ii  python3-gi                             3.46.0-1
ii  qterminal [x-terminal-emulator]        1.3.0-1
ii  qutebrowser [www-browser]              2.5.4-1
ii  rxvt-unicode [x-terminal-emulator]     9.31-1
ii  sakura [x-terminal-emulator]           3.8.7-1
ii  stterm [x-terminal-emulator]           0.9-1
ii  surf [www-browser]                     2.1+git20221016-5
ii  terminator [x-terminal-emulator]       2.1.3-1
ii  terminology [x-terminal-emulator]      1.13.0-2
ii  termit [x-terminal-emulator]           3.1-3
ii  tilix [x-terminal-emulator]            1.9.5-2
ii  w3m [www-browser]                      0.5.3+git20230121-2
ii  xfce4-terminal [x-terminal-emulator]   1.1.0-2
ii  xterm [x-terminal-emulator]            386-1
ii  yakuake [x-terminal-emulator]          23.08.1-1
ii  zutty [x-terminal-emulator]            0.14.6.20230701+dfsg1-2

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

Reply via email to