Your message dated Wed, 07 Dec 2016 22:04:45 +0000
with message-id <[email protected]>
and subject line Bug#834093: fixed in guile-2.0 2.0.13+1-3
has caused the Debian Bug report #834093,
regarding guile-2.0: leaves alternatives after purge: /usr/bin/guile,
/usr/share/man/man1/guile.1.gz
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.)
--
834093: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834093
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: guile-2.0
Version: 2.0.11+1-11
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#s-removedetails
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...):
0m38.2s INFO: Warning: Package purging left files on system:
/etc/alternatives/guile -> /usr/lib/x86_64-linux-gnu/guile-2.0/bin/guile
not owned
/etc/alternatives/guile.1.gz -> /usr/share/man/man1/guile-2.0.1.gz not
owned
/usr/bin/guile -> /etc/alternatives/guile not owned
/usr/share/man/man1/guile.1.gz -> /etc/alternatives/guile.1.gz not
owned
cheers,
Andreas
guile-2.0_2.0.11+1-11.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: guile-2.0
Source-Version: 2.0.13+1-3
We believe that the bug you reported is fixed in the latest version of
guile-2.0, 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.
Rob Browning <[email protected]> (supplier of updated guile-2.0 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: Wed, 07 Dec 2016 14:33:19 -0600
Source: guile-2.0
Binary: guile-2.0 guile-2.0-dev guile-2.0-doc guile-2.0-libs
Architecture: source amd64 all
Version: 2.0.13+1-3
Distribution: unstable
Urgency: medium
Maintainer: Rob Browning <[email protected]>
Changed-By: Rob Browning <[email protected]>
Description:
guile-2.0 - GNU extension language and Scheme interpreter
guile-2.0-dev - Development files for Guile 2.0
guile-2.0-doc - Documentation for Guile 2.0
guile-2.0-libs - Core Guile libraries
Closes: 834093
Changes:
guile-2.0 (2.0.13+1-3) unstable; urgency=medium
.
* guile.postinst: always update alternatives. Previously the postinst
might not update the alternatives, producing orphaned entries.
Thanks to Andreas Beckmann for reporting the problem.
(Closes: 834093)
Checksums-Sha1:
67424ca4990fc44177a47e198bf5fa7e49583c6b 2118 guile-2.0_2.0.13+1-3.dsc
120fe073fd6d162a0d74cdb0435040c1c18430c9 19020
guile-2.0_2.0.13+1-3.debian.tar.xz
df96dbd4b03db4b8d30b1604bb2d0633a86c8ccf 699132
guile-2.0-dev_2.0.13+1-3_amd64.deb
d3c091df3d8025d2a97a70772cd461907918ad37 871836
guile-2.0-doc_2.0.13+1-3_all.deb
e95fe6227ebbfc81602d7ab3111c069ce7c995cb 964486
guile-2.0-libs-dbgsym_2.0.13+1-3_amd64.deb
666ebf08edbff77bd5956740f7dc09d92894c0d6 2231158
guile-2.0-libs_2.0.13+1-3_amd64.deb
215440f8ca44270a84a835301b91f95c20c7cd94 6284
guile-2.0_2.0.13+1-3_amd64.buildinfo
37c8c9e49876803c3018610995b795d520aa3c15 17676 guile-2.0_2.0.13+1-3_amd64.deb
Checksums-Sha256:
253d89e53fc2dc33afca23633b6f2cd7a28af0e95488929f6044b92bd1e3c097 2118
guile-2.0_2.0.13+1-3.dsc
0077fcc37ff3f0de24d8e24bdd1bfa0f6fce3e2781179b94b47562d3da4f506f 19020
guile-2.0_2.0.13+1-3.debian.tar.xz
6a7a41f5b86405e3a85b881596df7c14bb3f627dbc6ce2efc526d4aa7e2cfb99 699132
guile-2.0-dev_2.0.13+1-3_amd64.deb
27f2cf20d0d1803e507dec0a6b5e1917e64fec86f407f85c254ddcb1c079b3a1 871836
guile-2.0-doc_2.0.13+1-3_all.deb
479d9463687242c8310d25b10c5b189c76b1c79d145441297d88744ff2e2e627 964486
guile-2.0-libs-dbgsym_2.0.13+1-3_amd64.deb
09c0472e596e6dcba1c8e4c06281ad7e1a548a2f7639b1b5f4e5050e78a87fa8 2231158
guile-2.0-libs_2.0.13+1-3_amd64.deb
9574b3626b2f3ed47e2c0d2f48e2d948aaf7c5a6c81cd1b1bcbb73e122524436 6284
guile-2.0_2.0.13+1-3_amd64.buildinfo
c79cdf47bc35fab749aafffb1e865e1910187edb5f9bfac9ae7aa8547a9a93e5 17676
guile-2.0_2.0.13+1-3_amd64.deb
Files:
2f325a25a70fc243a3ce2b2a769d87e5 2118 interpreters optional
guile-2.0_2.0.13+1-3.dsc
de44a7e0da1acfc9db89a2fb14334c20 19020 interpreters optional
guile-2.0_2.0.13+1-3.debian.tar.xz
8bedacc57d12ab94ef78139577b5a6f1 699132 lisp optional
guile-2.0-dev_2.0.13+1-3_amd64.deb
019970f69d191d45ce56082549da652f 871836 doc optional
guile-2.0-doc_2.0.13+1-3_all.deb
a045d858060c86637450576200f06d5b 964486 debug extra
guile-2.0-libs-dbgsym_2.0.13+1-3_amd64.deb
ab0296822578fd121c55498ebd69342b 2231158 lisp optional
guile-2.0-libs_2.0.13+1-3_amd64.deb
3f7c98b2e69915225d8186abc1650111 6284 interpreters optional
guile-2.0_2.0.13+1-3_amd64.buildinfo
95078669fc865d58d4291a5135477784 17676 lisp optional
guile-2.0_2.0.13+1-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIyBAEBCAAcBQJYSIKfFRxybGJAZGVmYXVsdHZhbHVlLm9yZwAKCRDu8RbFWlpC
8VCmD/45OWNo2fvD8i6VxZKuWPCFeQTZrWeE+U0U8aIT+Dha37KEyjII4Yj7XF7f
Ti4sA/jxyuHVIV9oBnvbPwBKpu4HYoS8iYwXM/zI0Shn/bVkfBuUFPbQPr30bIjS
WVHUcxih4/xAwZePSehHVyKeBfeOFPAVXr7pbX2v4w4+XYNQYmRcelAdb8cspfML
ZawZHZuMjB7jW1xN7wwiIZ34kPZ7N9AKhwRd6WLzj/ZMQFwf8M/rarRDYXeT5aBV
V4S9UieMrgW4j60YpevVDv3o+xSwRfaRGzDUL9CNLJ8vA/Qn5Ci+4TQ4XSEny73a
b1NFoafqyNBVDvhATn+gfIQs7m4Y7hxVQVYL09m3u31WSaKSxa+buxWkwGPkDopv
fCSTegOeNFPr5eJTytn8Ifc9kImKdnjJlhS/uuzeSlOMfu7UYI2wcPmCPhUKRDT+
QeqCReYDNIJkLW7hgYsQTm0uZnn4NAfQ9xdCUtdx0NKklUVQNcU/zoksj4kv9KjA
SARIQQp62pSLOZNrDMZtGILGHgOm0gtDDnKOSYEPVy35u6z8BS+tfl2VNc8VSAnu
keBXFu+sDIpGz9oADUurPzxwrCPPSilO/nDuecEpvQn8WBEYOU1oucZFRZPzgZ2H
+g7YxfpsmsZ5T3vVb6TkNWjg/In8/82SXhTzqsSuFCv0U7qqVw==
=lyQ7
-----END PGP SIGNATURE-----
--- End Message ---