Bug#993714: conffile which got removed during upgrade reported missing

Evangelos Ribeiro Tzaras devrtz-debian at fortysixandtwo.eu
Sun Sep 5 12:19:44 BST 2021


Package: debsums
Version: 3.0.2
Severity: normal

Dear Maintainer,

I'm trying to upgrade the gnome-calls package where the a .desktop file changed 
and got renamed

from /etc/xdg/autostart/sm.puri.Calls-daemon.desktop 
to /etc/xdg/autostart/org.gnome.Calls-daemon.desktop

In my debian/gnome-calls.maintscript I've put

rm_conffile /etc/xdg/autostart/sm.puri.Calls-daemon.desktop 41~alpha-1~

and I've made sure that it indeed removes the old file when upgrading
from the latest version (0.2.0-2):


$ sudo dpkg -i ../gnome-calls_41\~rc-1_amd64.deb
(Reading database ... 437749 files and directories currently
installed.)
Preparing to unpack .../gnome-calls_41~rc-1_amd64.deb ...
Unpacking gnome-calls (41~rc-1) over (0.2.0-2) ...
Setting up gnome-calls (41~rc-1) ...
Removing obsolete conffile /etc/xdg/autostart/sm.puri.Calls-
daemon.desktop ...
Processing triggers for mailcap (3.70) ...
Processing triggers for gnome-menus (3.36.0-1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for libglib2.0-0:i386 (2.68.4-1) ...
Processing triggers for libglib2.0-0:amd64 (2.68.4-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.9.4-2) ...


Salsa CI had a failing piuparts job [1]:


1m37.0s DUMP: 
   debsums: missing file /tmp/tmpqxks8a8q/etc/xdg/autostart/sm.puri.Calls-daemon.desktop (from gnome-calls package)
   1m37.0s DEBUG: Command failed (status=2), but ignoring error: ['debsums', '--root', '/tmp/tmpqxks8a8q', '-ac', '--ignore-obsolete']
   1m37.0s ERROR: FAIL: debsums reports modifications inside the chroot:
     debsums: missing file /etc/xdg/autostart/sm.puri.Calls-daemon.desktop (from gnome-calls package)


which is very weird to me, since it's _supposed_ to not be there.
See a couple of lines above:

Removing obsolete conffile /etc/xdg/autostart/sm.puri.Calls-daemon.desktop ...


Now I'm not familiar with debsums but since that seems to be at the
heart of the failing piuparts job I've tested the following:

$ debsums -e gnome-calls                                              
debsums: missing file /etc/xdg/autostart/sm.puri.Calls-daemon.desktop (from gnome-calls package)
/etc/xdg/autostart/org.gnome.Calls-daemon.desktop                             OK

Is this behaviour expected? Could it be that the new `remove-on-upgrade`
feature added to dpkg in 1.20.9 is not (yet) understood by debsums?

Thanks,
Evangelos

[1] https://salsa.debian.org/devrtz/gnome-calls/-/jobs/1904855

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64, i386

Kernel: Linux 5.10.0-8-amd64 (SMP w/32 CPU threads)
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 debsums depends on:
ii  libdpkg-perl          1.20.9
ii  libfile-fnmatch-perl  0.02-2+b8
ii  perl                  5.32.1-5
ii  ucf                   3.0043

debsums recommends no packages.

Versions of packages debsums suggests:
ii  bash-completion  1:2.11-3

-- no debconf information



More information about the pkg-perl-maintainers mailing list