Your message dated Fri, 03 Sep 2021 23:33:57 +0000
with message-id <[email protected]>
and subject line Bug#993529: fixed in plocate 1.1.10-3
has caused the Debian Bug report #993529,
regarding mlocate: cruft left behind on purge
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
993529: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993529
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mlocate
Version: 1.1.10-2
Severity: normal
I have noticed that some cruft remained on the system after purging the
mlocate package, namely
- a dangling symlink
/etc/systemd/system/timers.target.wants/mlocate.timer
- a statoverride for /usr/bin/mlocate in the dpkg database
The postrm script in mlocate version 0.26-5 cleaned these up on purge,
for the transitional package it might make more sense to do it in the
postinst.
See the attached log file which reproduces the problems in a throwaway
chroot (install mlocate 0.26-5, upgrade to 1.1.10-2 and purge the
package).
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.61-nouveau (SMP w/2 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
# find / -name "mlocate*"
/var/cache/apt/archives/mlocate_0.26-5_amd64.deb
# dpkg -i $(find / -name "mlocate*")
Selecting previously unselected package mlocate.
(Reading database ... 12635 files and directories currently installed.)
Preparing to unpack .../mlocate_0.26-5_amd64.deb ...
Unpacking mlocate (0.26-5) ...
Setting up mlocate (0.26-5) ...
update-alternatives: using /usr/bin/mlocate to provide /usr/bin/locate (locate)
in auto mode
Adding group `mlocate' (GID 102) ...
Done.
# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
liburing1 plocate
The following packages will be upgraded:
mlocate
1 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 4544 B/133 kB of archives.
After this operation, 57.3 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ftp.de.debian.org/debian sid/main amd64 mlocate all 1.1.10-2 [4544
B]
Fetched 4544 B in 0s (9658 B/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package liburing1:amd64.
(Reading database ... 12698 files and directories currently installed.)
Preparing to unpack .../liburing1_0.7-3_amd64.deb ...
Unpacking liburing1:amd64 (0.7-3) ...
Preparing to unpack .../mlocate_1.1.10-2_all.deb ...
Unpacking mlocate (1.1.10-2) over (0.26-5) ...
Selecting previously unselected package plocate.
Preparing to unpack .../plocate_1.1.10-2_amd64.deb ...
Unpacking plocate (1.1.10-2) ...
Setting up liburing1:amd64 (0.7-3) ...
Setting up plocate (1.1.10-2) ...
Installing new version of config file /etc/updatedb.conf ...
update-alternatives: warning: alternative /usr/bin/mlocate (part of link group
locate) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/locate is dangling; it will be
updated with best choice
update-alternatives: using /usr/bin/plocate to provide /usr/bin/locate (locate)
in auto mode
Adding group `plocate' (GID 103) ...
Done.
Setting up mlocate (1.1.10-2) ...
Removing obsolete conffile /etc/cron.daily/mlocate ...
Processing triggers for libc-bin (2.31-17) ...
# apt purge mlocate
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
liburing1 plocate
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
mlocate*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 14.3 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 12659 files and directories currently installed.)
Removing mlocate (1.1.10-2) ...
(Reading database ... 12656 files and directories currently installed.)
Purging configuration files for mlocate (1.1.10-2) ...
# find / -name "mlocate*"
/etc/systemd/system/timers.target.wants/mlocate.timer
/var/cache/apt/archives/mlocate_0.26-5_amd64.deb
/var/lib/systemd/deb-systemd-helper-enabled/timers.target.wants/mlocate.timer
/var/lib/systemd/deb-systemd-helper-enabled/mlocate.timer.dsh-also
# dpkg-statoverride --list | grep mlocate
root mlocate 2755 /usr/bin/mlocate
--- End Message ---
--- Begin Message ---
Source: plocate
Source-Version: 1.1.10-3
Done: Steinar H. Gunderson <[email protected]>
We believe that the bug you reported is fixed in the latest version of
plocate, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Steinar H. Gunderson <[email protected]> (supplier of updated plocate package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 04 Sep 2021 01:06:12 +0200
Source: plocate
Architecture: source
Version: 1.1.10-3
Distribution: unstable
Urgency: medium
Maintainer: Steinar H. Gunderson <[email protected]>
Changed-By: Steinar H. Gunderson <[email protected]>
Closes: 993529
Changes:
plocate (1.1.10-3) unstable; urgency=medium
.
* In mlocate.postinst, purge the systemd timer and the statoverride
for /usr/bin/mlocate, similar to what would happen if the old package
got purged. Suggested by Sven Joachim. (Closes: #993529)
Checksums-Sha1:
72997aa46c1d941e294f7c1aedb559a22c238460 1872 plocate_1.1.10-3.dsc
69c5e1357614cfe6d33f68989a06feda328c455b 6152 plocate_1.1.10-3.debian.tar.xz
0e49a6610d31b9b653335f39d1907c2c9915960c 7358 plocate_1.1.10-3_amd64.buildinfo
Checksums-Sha256:
1a92819983bbf7d0d919e02b9aebc958fea7cd911644469f73e11b89e8153c4d 1872
plocate_1.1.10-3.dsc
4ad203f1208b5810fc072d3876f9b52240e945f322d22b1a6470995939eb2c7f 6152
plocate_1.1.10-3.debian.tar.xz
445bb912535eefd6d98defd1b7ba70f7a6cc44af6a18e541de865c9381bee434 7358
plocate_1.1.10-3_amd64.buildinfo
Files:
6ac8bd84d65dc724279c8a8e8c74c2ff 1872 utils optional plocate_1.1.10-3.dsc
07c4a8d6413059c873d7594a8682346c 6152 utils optional
plocate_1.1.10-3.debian.tar.xz
d3f1cb7c5078c90ec62993d2fddc1df5 7358 utils optional
plocate_1.1.10-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEwukAT/AowY5OrduDf2F1YXeXj3YFAmEyrN8ACgkQf2F1YXeX
j3Z1ChAA1UwXW0egnOcqK43NNkvyQ0vFPE7usqoszFVJgxIjSgScypnRsIRsOyD2
UAuqiyWF03nkw5uwNj5Ej6AHDt17rIfTCcTgV9MeCjSneHwoqUNlgJrK3UwTSMp3
OFN6dDV+ouiMLoMrHT4Ol+c+DRJOegVxfRoMOj3enu8AltHFItu9rwRupvSGojEQ
dfQIpZe9EDcainH2HNYsJ1dSqP0Y7hQdQWxwEX7rHwd5Dv+qoivJvlBeTaudkiM8
YYBM2L91eTnSe76+4olidgIv7y7LBTwL1GGtUIOl+IdFuDwIbCVjnQufNKl0MOlf
TDZ/NVhdw6qXGjwjjs8QxFfjiBqpfbeFahVVOWDAOLABe4Cy1W+NIwc2HBh4zYcM
kzhU8RItJxD4Cuy+q2rFWOV7UIYXTXr2xb/MgOLaXxRKidVuywzjLW3hfmrJ1tS1
/e7t7dMrK5Y2imk7Lii4dIPFJ7vppX5z9xv8ycNPet9RC9SC5slAGlR5JJWyp+pz
7qnnVyReiGGMVCYasOTM7eLYm/TAMPDGztHHxFMUY/fP0/Xp7MgEYzlWh9KEQaTC
U8WHCX7BuPi7//Dz5QISzKevC9ePzGP21LxE9KRBjCgUoAwdjw+gtjC/BU39+N02
fzOppJFxlMnyg4Wvd0WG2Q6ABnPWitsLvTzF4TGr3DWyxejB1ks=
=2C7K
-----END PGP SIGNATURE-----
--- End Message ---