Bug#952534: debsums: conffiles not removed: /etc/debsums-ignore

Paul Wise pabs at debian.org
Tue Feb 25 12:42:26 GMT 2020


Package: debsums
Version: 2.2.5
Severity: normal
User: debian-qa at lists.debian.org
Usertags: obsolete-conffile adequate

The recent upgrade did not deal with obsolete conffiles properly.
Please use the dpkg-maintscript-helper support provided by
dh_installdeb to remove these obsolete conffiles on upgrade.

https://www.debian.org/doc/debian-policy/ch-files.html#s-config-files
https://manpages.debian.org/man/1/dh_installdeb

This bug report brought to you by adequate:

https://bonedaddy.net/pabs3/log/2013/02/23/inadequate-software/

$ apt upgrade
...
Preparing to unpack .../archives/debsums_2.2.5_all.deb ...
Unpacking debsums (2.2.5) over (2.2.4) ...
Setting up debsums (2.2.5) ...
Installing new version of config file /etc/cron.daily/debsums ...
Installing new version of config file /etc/cron.monthly/debsums ...
Installing new version of config file /etc/cron.weekly/debsums ...
Removing empty /etc/debsums-ignore, a non-existing /etc/debsums-ignore
now has the same semantics.
Processing triggers for man-db (2.9.0-2) ...

$ p=debsums ; adequate $p ; dpkg-query -W -f='${Conffiles}\n' $p | grep obsolete
debsums: obsolete-conffile /etc/debsums-ignore
 /etc/debsums-ignore d41d8cd98f00b204e9800998ecf8427e obsolete

$ find /etc/debsums-ignore
find: ‘/etc/debsums-ignore’: No such file or directory

-- System Information:
Debian Release: bullseye/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')
Architecture: amd64 (x86_64)

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

Versions of packages debsums depends on:
ii  libdpkg-perl          1.19.7
ii  libfile-fnmatch-perl  0.02-2+b7
ii  perl                  5.30.0-9
ii  ucf                   3.0038+nmu1

debsums recommends no packages.

debsums suggests no packages.

-- Configuration Files:
/etc/debsums-ignore [Errno 2] No such file or directory: '/etc/debsums-ignore'

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20200225/1447244e/attachment.sig>


More information about the pkg-perl-maintainers mailing list