Your message dated Sat, 08 Mar 2014 23:00:22 +0000
with message-id <[email protected]>
and subject line Bug#700706: fixed in skytools3 3.1.5-1
has caused the Debian Bug report #700706,
regarding skytools3{,-walmgr}: leaves alternatives after 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.)
--
700706: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700706
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: skytools3,skytools3-walmgr
Version: 3.1.3-1
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:
http://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 http://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...):
0m33.0s ERROR: WARN: Broken symlinks:
/usr/share/man/man1/queue_splitter.1.gz -> /etc/alternatives/queue_splitter.1
/usr/share/man/man1/queue_mover.1.gz -> /etc/alternatives/queue_mover.1
/usr/share/man/man1/scriptmgr.1.gz -> /etc/alternatives/scriptmgr.1
/usr/share/man/man1/londiste.1.gz -> /etc/alternatives/londiste.1
/usr/bin/queue_splitter -> /etc/alternatives/queue_splitter
/usr/bin/queue_mover -> /etc/alternatives/queue_mover
/usr/bin/scriptmgr -> /etc/alternatives/scriptmgr
/usr/bin/londiste -> /etc/alternatives/londiste
/etc/alternatives/queue_splitter.1 -> /usr/share/man/man1/queue_splitter3.1.gz
/etc/alternatives/queue_splitter -> /usr/bin/queue_splitter3
/etc/alternatives/queue_mover.1 -> /usr/share/man/man1/queue_mover3.1.gz
/etc/alternatives/queue_mover -> /usr/bin/queue_mover3
/etc/alternatives/scriptmgr.1 -> /usr/share/man/man1/scriptmgr3.1.gz
/etc/alternatives/scriptmgr -> /usr/bin/scriptmgr3
/etc/alternatives/londiste.1 -> /usr/share/man/man1/londiste3.1.gz
/etc/alternatives/londiste -> /usr/bin/londiste3
0m34.7s ERROR: FAIL: Package purging left files on system:
/etc/alternatives/londiste -> /usr/bin/londiste3 not owned
/etc/alternatives/londiste.1 -> /usr/share/man/man1/londiste3.1.gz not
owned
/etc/alternatives/queue_mover -> /usr/bin/queue_mover3 not owned
/etc/alternatives/queue_mover.1 -> /usr/share/man/man1/queue_mover3.1.gz
not owned
/etc/alternatives/queue_splitter -> /usr/bin/queue_splitter3 not owned
/etc/alternatives/queue_splitter.1 ->
/usr/share/man/man1/queue_splitter3.1.gz not owned
/etc/alternatives/scriptmgr -> /usr/bin/scriptmgr3 not owned
/etc/alternatives/scriptmgr.1 -> /usr/share/man/man1/scriptmgr3.1.gz not
owned
/usr/bin/londiste -> /etc/alternatives/londiste not owned
/usr/bin/queue_mover -> /etc/alternatives/queue_mover not owned
/usr/bin/queue_splitter -> /etc/alternatives/queue_splitter not owned
/usr/bin/scriptmgr -> /etc/alternatives/scriptmgr not owned
/usr/share/man/man1/londiste.1.gz -> /etc/alternatives/londiste.1 not
owned
/usr/share/man/man1/queue_mover.1.gz -> /etc/alternatives/queue_mover.1
not owned
/usr/share/man/man1/queue_splitter.1.gz -> /etc/alternatives/queue_splitter.1
not owned
/usr/share/man/man1/scriptmgr.1.gz -> /etc/alternatives/scriptmgr.1 not
owned
/var/log/skytools/ not owned
0m46.4s ERROR: WARN: Broken symlinks:
/usr/share/man/man1/walmgr.1.gz -> /etc/alternatives/walmgr.1
/usr/bin/walmgr -> /etc/alternatives/walmgr
/etc/alternatives/walmgr.1 -> /usr/share/man/man1/walmgr3.1.gz
/etc/alternatives/walmgr -> /usr/bin/walmgr3
0m48.3s ERROR: FAIL: Package purging left files on system:
/etc/alternatives/walmgr -> /usr/bin/walmgr3 not owned
/etc/alternatives/walmgr.1 -> /usr/share/man/man1/walmgr3.1.gz not
owned
/usr/bin/walmgr -> /etc/alternatives/walmgr not owned
/usr/share/man/man1/walmgr.1.gz -> /etc/alternatives/walmgr.1 not owned
Note that postrm purge should also get rid of /var/log/skytools/
cheers,
Andreas
skytools3_3.1.3-1.log.gz
Description: GNU Zip compressed data
--- End Message ---
--- Begin Message ---
Source: skytools3
Source-Version: 3.1.5-1
We believe that the bug you reported is fixed in the latest version of
skytools3, 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.
Christoph Berg <[email protected]> (supplier of updated skytools3 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, 26 Feb 2014 21:05:32 +0100
Source: skytools3
Binary: skytools3 python-pgq3 python-skytools3 skytools3-walmgr
skytools3-ticker postgresql-9.3-pgq3
Architecture: source amd64
Version: 3.1.5-1
Distribution: unstable
Urgency: medium
Maintainer: Dimitri Fontaine <[email protected]>
Changed-By: Christoph Berg <[email protected]>
Description:
postgresql-9.3-pgq3 - Skype tools for PostgreSQL replication, londiste and PGQ
python-pgq3 - python framework for Skype tools for PostgreSQL replication
python-skytools3 - python framework for Skype tools for PostgreSQL replication
skytools3 - Skype tools for PostgreSQL replication, londiste and PGQ
skytools3-ticker - Skype tools for PostgreSQL replication, londiste and PGQ
skytools3-walmgr - Skype tools for PostgreSQL replication and failover
Closes: 700706
Changes:
skytools3 (3.1.5-1) unstable; urgency=medium
.
* New upstream version.
* Include orig-lib.tar.gz for the libusual submodule.
* Add watch file.
* Point Vcs at packaging git on git.d.o.
* Add "9.3" in debian/pgversions.
* Correctly remove alternatives on remove, spotted by Andreas Beckmann.
(Closes: #700706)
* Run installcheck using autopkgtest (needs trust auth).
+ Accept alternative londiste_provider result (- vs %2d).
Checksums-Sha1:
1e2b523622ff702da02ca72bc01a80bd56d59ab8 2619 skytools3_3.1.5-1.dsc
004506bcbac9fbbe11b7b9d144ca26bc2502525e 209575 skytools3_3.1.5.orig-lib.tar.gz
4025d03e8b566c7f904e9f703090c1c550a830ef 508941 skytools3_3.1.5.orig.tar.gz
d177126b12f2f87d2fca4209ea87b1f53cd1a4f2 10624 skytools3_3.1.5-1.debian.tar.xz
a11b162b41c996d1ae4beecc70d3f1586087b6c3 137562 skytools3_3.1.5-1_amd64.deb
c19377ff964b5f8b819c78d95eb5c6e236c4d0ac 37190 python-pgq3_3.1.5-1_amd64.deb
5d21549f5d9882685ce442535e0d331c9e7cdc2a 79900
python-skytools3_3.1.5-1_amd64.deb
177393a259b239ac5f46dcb3b9b8b5e8715a5254 40620
skytools3-walmgr_3.1.5-1_amd64.deb
413742a5b3825a28fea2dde2711b7c059759b07f 28756
skytools3-ticker_3.1.5-1_amd64.deb
135d63deaf14387ea723542406166c1512abe470 67084
postgresql-9.3-pgq3_3.1.5-1_amd64.deb
Checksums-Sha256:
d9ad583b1c6b708276d17c15dac1d9aaacdb6d90c64ab2e2e96901f55946b09e 2619
skytools3_3.1.5-1.dsc
89e7d9c0462582234d6f4b11d2a336258a7fde5e9dac157406cbedfb51d441af 209575
skytools3_3.1.5.orig-lib.tar.gz
4f34db73ccb69a47eac3a09274ddb78751630845bf9482b10848e8e3c57daad9 508941
skytools3_3.1.5.orig.tar.gz
2e8bf9ecff4f1bd83d14336fce757c9d20ce35b957b9706007fc45f47a3d02c1 10624
skytools3_3.1.5-1.debian.tar.xz
69e7668ef07b7a67db5a38ee7b817a4c240baf7cec407573e290d38889da7590 137562
skytools3_3.1.5-1_amd64.deb
f03a7c687f1e627717d2261da23e734055a8b90448f5f300a7071b3a01efa55f 37190
python-pgq3_3.1.5-1_amd64.deb
06246845dd2f14594b9cdd007b8a9a41d4c49e135af48e947ef1918c32013a7c 79900
python-skytools3_3.1.5-1_amd64.deb
d03352a280d6b9c529bbecc4107bd3334f79398407fe888439c1ad4a201afb4a 40620
skytools3-walmgr_3.1.5-1_amd64.deb
03d60c069a18c45672f0e4a5ffafb2560f261cbb4fa2011f2ad0bab2fd1da46d 28756
skytools3-ticker_3.1.5-1_amd64.deb
86be2b0c6ab07e94804254bc0cc5043317be94ac36ac1e850006606127c6c3b5 67084
postgresql-9.3-pgq3_3.1.5-1_amd64.deb
Files:
1565f514faac49f8a662f9dab2b59829 2619 database extra skytools3_3.1.5-1.dsc
b06c25a0b9b3c4b7b4b9cff5d80aab2d 209575 database extra
skytools3_3.1.5.orig-lib.tar.gz
697523eb0788421728167e523145efa2 508941 database extra
skytools3_3.1.5.orig.tar.gz
7cd9d4810b3ff46f0b4298ed2b4333e7 10624 database extra
skytools3_3.1.5-1.debian.tar.xz
48283164b1196b51b51bec8f788c6817 137562 database extra
skytools3_3.1.5-1_amd64.deb
d1f966dba6a74db8d91eb3ee03c29c78 37190 python extra
python-pgq3_3.1.5-1_amd64.deb
90069da71c3d88027c6f6b0863336bcd 79900 python extra
python-skytools3_3.1.5-1_amd64.deb
71c26742735e7622a327ad0f4e4c1f5b 40620 database extra
skytools3-walmgr_3.1.5-1_amd64.deb
cdabcf851bfca3a3cd5b269fd6526775 28756 database extra
skytools3-ticker_3.1.5-1_amd64.deb
e88bc7e1dc5fa9c63a181c7e37e75480 67084 database extra
postgresql-9.3-pgq3_3.1.5-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJTDmhPAAoJEExaa6sS0qeuam8QAK/zCsKDjHbBI3OwFWujzZew
82zZtNkW+a2iQ1dQH5D2ASR/OiK4NzTnVQVeOAkJv4zG+pQ1grWLAEto0jAVdia4
W/ZZc8DQQpC3QOs83uPEz+U9AYE8oGw0fiyLy9xAfTRhbYpy/boJOSZK1uYkeULF
JbR29ldivEAtVOrY56b52MF2tzHxgQ1uTxNQgliswEmZzme9BlLqxoDxYJntwmS7
NCU8aKWVJIHKWV9mWPoYAq9lHve4YYKrTDluHeFeCUWIBhE6kj6LuIJ+PDaM971X
KPiEacFWauRwQE+lnvWk7MMjp2vHNc8BrwYdJOtPuFniUVJN+SkyTf24iAbV21U0
Jav6AFR2HcvHYWkId0Y3XxrKupS5+EIeJz/9HeN/x9dXWEzhR/5P622DzIB82Z/U
MAlmUiltxuoEToFpSBXmG7C7huaf6mHA/8xS4r0yH1O+/mlg89Qh2MJOK6tmutFf
N0y8eMe5BS8OuCR6xX+7XPrtJMah6XEwdXp6eFuHdCtrUS4ckdWDWP9pxGAqvkT9
QUevDGrgPKqWPXUxZVVcdA69FR2baJjJCMHXn1ei0BLhRzlG1j4iMoRmoeRMwBye
w8+lxBnBO580pW4G1FR3l40uXe55A6t8EQS1+dzPsYMvEptYKvmOFcFfOUR8Q0Ni
aEXAoAx4sCU7e+VnkKzq
=yFG5
-----END PGP SIGNATURE-----
--- End Message ---