Bug#935044: debsums: extend localepurge support

gregor herrmann gregoa at debian.org
Sun Aug 18 14:58:17 BST 2019


Package: debsums
Version: 2.2.3
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

debsums knows about a couple of locations where localepurge removes
files from and doesn't report those files as missing. Recently
localepurge has started to remove more localization files, and so the
weekly debsums cronjob mails is very long by now.

>From localepurge(1):

      The contents of following directories will be affected from removals:
       - /usr/share/doc/kde/HTML
       - /usr/share/gnome/help
       - /usr/share/locale
       - /usr/share/man
       - /usr/share/omf
       - /usr/share/tcltk
       - /usr/share/cups/{templates,locale,doc-root}
       - /usr/share/calendar
       - /usr/share/aptitude
       - /usr/share/help/<domain>/HELP_CONTENT(files&dirs)

I believe the new ones are

 /usr/share/aptitude
 /usr/share/calendar
 /usr/share/cups/{templates,locale,doc-root}
 /usr/share/help/<domain>/HELP_CONTENT(files & dirs)
 /usr/share/tcltk

Some examples from a `debsums -cs' run:

debsums: missing file /usr/share/aptitude/README.cs (from aptitude-common package)
debsums: missing file /usr/share/aptitude/aptitude-defaults.ar (from aptitude-common package)
debsums: missing file /usr/share/aptitude/help-cs.txt (from aptitude-common package)
debsums: missing file /usr/share/aptitude/mine-help-cs.txt (from aptitude-common package)

debsums: missing file /usr/share/calendar/de_AT/calendar.feiertag (from bsdmainutils package)
debsums: missing file /usr/share/calendar/de_DE/calendar.all (from bsdmainutils package)
debsums: missing file /usr/share/calendar/de_DE/calendar.feiertag (from bsdmainutils package)

debsums: missing file /usr/share/help/ca/cheese/burst-mode.page (from cheese-common package)
debsums: missing file /usr/share/help/ca/empathy/account-irc.page (from empathy-common package)
debsums: missing file /usr/share/help/ca/evince/annotation-properties.page (from evince-common package)

debsums: missing file /usr/share/cups/locale/ca/cups_ca.po (from cups-common package)
debsums: missing file /usr/share/cups/doc-root/de/index.html (from cups-server-common package)
debsums: missing file /usr/share/cups/templates/de/add-class.tmpl (from cups-server-common package)

debsums: missing file /usr/share/tcltk/tcl8.6/msgs/af.msg (from libtcl8.6:amd64 package)
debsums: missing file /usr/share/tcltk/tk8.6/msgs/cs.msg (from libtk8.6:amd64 package)


PS: I think #857747 can be closed in principle, this works basically,
except for the newly removed files :)


Cheers,
gregor

- -- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 'oldoldstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=de_AT.utf8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages debsums depends on:
ii  dpkg                  1.19.7
ii  libdpkg-perl          1.19.7
ii  libfile-fnmatch-perl  0.02-2+b6
ii  perl                  5.28.1-6
ii  ucf                   3.0038+nmu1

debsums recommends no packages.

debsums suggests no packages.

- -- Configuration Files:
/etc/debsums-ignore changed [not included]
/etc/default/debsums changed [not included]

- -- debconf information:
  debsums/apt-autogen: true

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAl1ZWXVfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgY3/hAAmu0LOsEDPOthaZpuuLF8YJDkkNpcZxgYYCFWIYbekaibnIOdxJntz784
zNJVtRzDE0Fm9+jI85pZTxDPyRmPvygHba87LRrPZBasabgsnSHxTrp3KA3RvkQX
Befa9Qt22//VTYjN631UJ8k7T+0gx1RCOSlsthJe6WZKGdRH8Bn+wS3h8tp4+Z7O
6GTtdNYwOTAp0pN35PyDkRDMb1yaRYAHFGvhDVdGPP6BCxSvh5fX/fudsyjeUENB
ZdBFMoZEPf5IS1lzCWTrqSMvc0HlPSrJK6hNPphR7OzieElSg9KK8GTxMhXVCWTL
wPBgqNLZWF3VTZt1UU9CeU0M8LkZobla5GhRpXEvZ2wAh42haeG3dfLg0gi8F0OS
j74aIMBerM96jIlEkN9qNs5lRR2oDsBoBFcjEnAOqyb64RrCtmoIJ+bpH7CNrP5J
x6Ql2xFKMMkQs7wGUYV5UKeX1DMc/oQua9DgQzrBFPyOf28HpmvETCPhO1Ku14y4
MGdOh/SZla3EN17kuyrqumAp9X2Pp88zgBICKphJ3+c+gIBk+AvrwPoSZksFRHph
hSlfmBxJT63mAgKe+P2ajkxZ3gbdjujiQOZ3UVtZtjTeG/sLJkKJZeKtFPl/ZfJB
QPlOVMLZp26c/HYYgIJ3lfpTSwY0bk+7DPD6OkojE60f3FnaXsc=
=zRit
-----END PGP SIGNATURE-----



More information about the pkg-perl-maintainers mailing list