Your message dated Thu, 22 Apr 2021 16:18:52 +0000
with message-id <[email protected]>
and subject line Bug#986875: fixed in chezscheme 9.5.4+dfsg-4
has caused the Debian Bug report #986875,
regarding chezscheme: leaves alternatives after upgrade from buster:
/usr/bin/scheme -> /etc/alternatives/scheme -> /usr/bin/chezscheme9.5
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.)
--
986875: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986875
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: chezscheme
Version: 9.5.4+dfsg-3
Severity: important
User: [email protected]
Usertags: piuparts
Hi,
during a test with piuparts I noticed your package left unowned files on
the system after purge, which is a violation of policy 6.8:
https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#details-of-removal-and-or-configuration-purging
The leftover files are actually alternatives that were installed by the
package but have not been properly removed.
While there is ongoing discussion how to remove alternatives correctly
(see https://bugs.debian.org/71621 for details) the following strategy
should work for regular cases:
* 'postinst configure' always installs the alternative
* 'prerm remove' removes the alternative
* 'postrm remove' and 'postrm disappear' remove the alternative
In all other cases a maintainer script is invoked (e.g. upgrade,
deconfigure) the alternatives are not modified to preserve user
configuration.
Removing the alternative in 'prerm remove' avoids having a dangling link
once the actual file gets removed, but 'prerm remove' is not called in
all cases (e.g. unpacked but not configured packages or disappearing
packages) so the postrm must remove the alternative again
(update-alternatives gracefully handles removal of non-existing
alternatives).
Note that the arguments for adding and removing alternatives differ, for
removal it's 'update-alternatives --remove <name> <path>'.
Filing this as important as having a piuparts clean archive is a release
goal since lenny.
>From the attached log (scroll to the bottom...):
0m42.4s INFO: Warning: Package purging left files on system:
/etc/alternatives/scheme -> /usr/bin/chezscheme9.5 not owned
/etc/alternatives/scheme-script -> /usr/bin/chezscheme9.5 not owned
/etc/alternatives/scheme-script.1.gz ->
/usr/share/man/man1/scheme-script9.5.1.gz not owned
/etc/alternatives/scheme.1.gz -> /usr/share/man/man1/chezscheme9.5.1.gz
not owned
/usr/bin/scheme -> /etc/alternatives/scheme not owned
/usr/bin/scheme-script -> /etc/alternatives/scheme-script not owned
/usr/share/man/man1/scheme-script.1.gz ->
/etc/alternatives/scheme-script.1.gz not owned
/usr/share/man/man1/scheme.1.gz -> /etc/alternatives/scheme.1.gz not
owned
cheers,
Andreas
--- End Message ---
--- Begin Message ---
Source: chezscheme
Source-Version: 9.5.4+dfsg-4
Done: Göran Weinholt <[email protected]>
We believe that the bug you reported is fixed in the latest version of
chezscheme, 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.
Göran Weinholt <[email protected]> (supplier of updated chezscheme 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: SHA512
Format: 1.8
Date: Sun, 18 Apr 2021 16:54:30 +0200
Source: chezscheme
Architecture: source
Version: 9.5.4+dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Göran Weinholt <[email protected]>
Changed-By: Göran Weinholt <[email protected]>
Closes: 986875
Changes:
chezscheme (9.5.4+dfsg-4) unstable; urgency=medium
.
* chezscheme.postinst: Clean up obsolete versioned alternatives on
upgrades from buster. Thanks to Andreas Beckmann for the report and
the patch! (Closes: #986875)
Checksums-Sha1:
408c3e203e8fad21cb13df08314c703395d75e40 2456 chezscheme_9.5.4+dfsg-4.dsc
18779d0f7a8625ccdff9db368cd3355f7a08307a 1977392
chezscheme_9.5.4+dfsg-4.debian.tar.xz
8be8940ca2aea49d266c0ba01ff5f0e2b0455385 6657
chezscheme_9.5.4+dfsg-4_source.buildinfo
Checksums-Sha256:
000c7a2d515c9e7fe3c667a75c4fb579227e3e20d3a588c1edc783a78b090a91 2456
chezscheme_9.5.4+dfsg-4.dsc
26b7592c03e37238f5a4341a9fd8653a11905f7f324fed7576900dd3e6c4252f 1977392
chezscheme_9.5.4+dfsg-4.debian.tar.xz
159b2b48446b53279bef1a4edccac3525e24559dc4875ab5bfe0657b5e93c554 6657
chezscheme_9.5.4+dfsg-4_source.buildinfo
Files:
e63e096d8a0a4dc1799f7a1ce67215ed 2456 lisp optional chezscheme_9.5.4+dfsg-4.dsc
e9a46eeb363e6179572cab5c3291ab4d 1977392 lisp optional
chezscheme_9.5.4+dfsg-4.debian.tar.xz
72c44c7401d62b6211f5065fb6d025b8 6657 lisp optional
chezscheme_9.5.4+dfsg-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEq+9SWYIFojDzWUBw933wfyFewnMFAmB8TiUACgkQ933wfyFe
wnNugQ//VnatbIgu4oQKTbeInB6RwQ+zypG0W6fqiXMks3NBYj+0N9LSPx2TCYbq
cZMN8gT9Ly7NV2SSQUZJfvi+V1f36TOLhFvENpQ49pr2kuxFdOHdPdY0memA9akV
JtrOakUswtNE8uFcP1CVMKVJQqObvNEiAUYvFWL2wbj9WwjjaOOOb9+pEAE0wxR9
IM/v4bVAVSjOGRdARt86jD1oOSB0tJVb3VVnPuGxXLNraYc0gOnM6YvDTCAlbTd9
PCiPhmWYElHzzEE/CqII9CO8SRGwJVF2OK9Du+lsT3zOveX4lzfk8uI/TAg7FjJZ
xZQecTF7DQ/j8joMf+w4Yscz8XU9eDSX1B45QZMuU2ITwXMvhgkYkNtb8QgjKAQy
9xpc7IS6p3EZrOXpt+DrXbaxqbBjH5Cd4JgIvmjNhc0Ekj8Fs/a8SGnJi2gwMmr6
wAzwXZX7wKvZFZ6EcRG/ctdzTTzfL7k2ng1ammIsVc1DII3tsJkkVG8L0vko6OwH
LX2te/7JKNORLM8H/xj1Ag6sJsDSqD2T2K0FVreEkwoWHZigYmg88PcFzHCeEDCx
gGLQlugIOlXlJJLXhvDNQmhYKVzjickIzC84m74+Rzm34LHyJCGuK2u9hURv0GNh
ks15UmPMVuDISSFkHaJ2NO5ybczsiBE+CIR16KavQBoUJjUoG+E=
=T1FJ
-----END PGP SIGNATURE-----
--- End Message ---