Your message dated Sat, 17 Jan 2015 23:18:35 +0000
with message-id <[email protected]>
and subject line Bug#773196: fixed in git-remote-bzr 0.2+20140705-2
has caused the Debian Bug report #773196,
regarding git-bzr: leaves alternatives after purge: 
/etc/alternatives/git-remote-bzr
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.)


-- 
773196: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773196
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: git-bzr
Version: 2:0.2+20140705-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:

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.

This was observed on the upgrade path wheezy-backports -> jessie.

Since this seems to be an obsolete alternative, it should be cleaned up
in the postinst, probably in the git-remote-bzr package.

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...):

1m49.5s INFO: Warning: Package purging left files on system:
  /etc/alternatives/git-remote-bzr -> /usr/lib/git-core/git-remote-bzr--git     
 not owned
  /etc/alternatives/git-remote-bzr.1.gz -> 
/usr/share/man/man1/git-remote-bzr--git.1.gz  not owned


cheers,

Andreas

Attachment: git-bzr_2:0.2+20140705-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: git-remote-bzr
Source-Version: 0.2+20140705-2

We believe that the bug you reported is fixed in the latest version of
git-remote-bzr, 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.
Vagrant Cascadian <[email protected]> (supplier of updated git-remote-bzr 
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: Sat, 17 Jan 2015 15:03:58 -0800
Source: git-remote-bzr
Binary: git-remote-bzr git-bzr
Architecture: source all
Version: 0.2+20140705-2
Distribution: unstable
Urgency: medium
Maintainer: Vagrant Cascadian <[email protected]>
Changed-By: Vagrant Cascadian <[email protected]>
Description:
 git-bzr    - transitional dummy package
 git-remote-bzr - bidirectional bridge between Git and Bazaar
Closes: 773196
Changes:
 git-remote-bzr (0.2+20140705-2) unstable; urgency=medium
 .
   * git-remote-bzr postinst: Remove obsolete alternatives no longer
     provided by the git-bzr package (Closes: #773196).
Checksums-Sha1:
 eac58da15ea3882a32377442f5cdcb5b234aabb0 2146 git-remote-bzr_0.2+20140705-2.dsc
 a1e52cceb7221791af6736256497bc687703aaa4 2812 
git-remote-bzr_0.2+20140705-2.debian.tar.xz
 c270999f223e0813cfe77156ea58556ed5d79931 11652 
git-remote-bzr_0.2+20140705-2_all.deb
 69c5507d3c686cb06661130a0a43f49c322c98f5 2068 git-bzr_0.2+20140705-2_all.deb
Checksums-Sha256:
 abbfb4d4b092cbd8a0828a99e3554d8993b2b6b143ffb7a74f377707730e450d 2146 
git-remote-bzr_0.2+20140705-2.dsc
 710052454d06938d6420808f4a450c079b59831848c33b56f9dec1fad8add07b 2812 
git-remote-bzr_0.2+20140705-2.debian.tar.xz
 a564c55a3647bbbfe5071f8e5b893d39f34b7f96d34ec1f1cb409537d7f90ab7 11652 
git-remote-bzr_0.2+20140705-2_all.deb
 be3bd009af30349e3427994bc2267216c966eb3f9045520fe7d04f65106e83de 2068 
git-bzr_0.2+20140705-2_all.deb
Files:
 effa0bd48a98d8e283cb38f748fcd812 2146 vcs extra 
git-remote-bzr_0.2+20140705-2.dsc
 028012cbba6373017a043f5ba802f07e 2812 vcs extra 
git-remote-bzr_0.2+20140705-2.debian.tar.xz
 ec57c3f814682599a4368b563877e3d1 11652 vcs extra 
git-remote-bzr_0.2+20140705-2_all.deb
 7d17503a9e28d009b3c617bb61dc1f95 2068 vcs extra git-bzr_0.2+20140705-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJUuuvSAAoJELeLgtSBS5G2UH0P/0gC72Gl7IKIYQTduqLZhsps
KZGv/EAiCQWm0gysFwc8eq64hmoMsDPSmdLbK28bZJY/gpw0nkeSEYwEMUPdyBBn
I9czQ0gAbLrls/J3DIZZaCHi9YACA4ayUk3laBJe0SNc9e+OeYdZDWrIGbEFElbH
RuvrLN1DkZ7Qt6FxLtQ5M5PhUKeRwuIcOhDrr1Y4CLJ6vGk7Omqkv6zwnsLRFKC4
TEVfr/o+SihNT1dJFQkRVFoVw59vpsJ8ksVAgpMbLUaZAtdHGREMYXUgUuzWNPjQ
rZl+aJfUS2geFfh0NkfoVbrRnHTF7TA9BLmtN69lk8ITYrR90nEDRIHSXUoSAP4M
836bHNfE31rE82z4nGQde3ZuHEgP3w6WxxkTDiTuHNxrmX94Yt4FDQx8PyvSG3x3
0KM1nFw+MgqjNi0pTjPNNiqf34upy1+56KjxIYyXPHpMo1vnjDyaphnwloKshHi+
MQFByIpoFgwOTroLFoIG1Bcwney4nFg35Q8WwF6dqdIh/6H/AJmFw0OwTziXmRFx
H3wGkknMPSKFN0hk7wIv+6CAJFLKbMpQU8zdSCzIO8ky0+XodPUcIbkVr/55A5zb
il1cGAbrlqbqDzAGTNlS57imwzC9UtIaywIHXinGtdgUUJapslEGX3N18Rwty62j
Eh0zj4DlKNPutHpRZi/0
=nSIw
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to