Your message dated Fri, 13 Apr 2012 23:32:22 +0000
with message-id <[email protected]>
and subject line Bug#668446: fixed in dia 0.97.2-8
has caused the Debian Bug report #668446,
regarding dia: 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.)


-- 
668446: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668446
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dia,dia-gnome
Version: 0.97.2-7
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. deconfigured 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...):

0m37.6s ERROR: WARN: Broken symlinks:
  /usr/bin/dia -> /etc/alternatives/dia
  /etc/alternatives/dia -> /usr/bin/dia-normal-integrated

0m39.4s ERROR: FAIL: Package purging left files on system:
  /etc/alternatives/dia  not owned
  /usr/bin/dia   not owned

(and similarly for dia-gnome)


cheers,

Andreas

Attachment: dia_0.97.2-7.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: dia
Source-Version: 0.97.2-8

We believe that the bug you reported is fixed in the latest version of
dia, which is due to be installed in the Debian FTP archive:

dia-common_0.97.2-8_all.deb
  to main/d/dia/dia-common_0.97.2-8_all.deb
dia-gnome_0.97.2-8_i386.deb
  to main/d/dia/dia-gnome_0.97.2-8_i386.deb
dia-libs_0.97.2-8_i386.deb
  to main/d/dia/dia-libs_0.97.2-8_i386.deb
dia_0.97.2-8.debian.tar.gz
  to main/d/dia/dia_0.97.2-8.debian.tar.gz
dia_0.97.2-8.dsc
  to main/d/dia/dia_0.97.2-8.dsc
dia_0.97.2-8_i386.deb
  to main/d/dia/dia_0.97.2-8_i386.deb



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.
Roland Stigge <[email protected]> (supplier of updated dia 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: SHA1

Format: 1.8
Date: Fri, 13 Apr 2012 23:47:21 +0200
Source: dia
Binary: dia-common dia-libs dia dia-gnome
Architecture: source all i386
Version: 0.97.2-8
Distribution: unstable
Urgency: low
Maintainer: Debian Dia Team <[email protected]>
Changed-By: Roland Stigge <[email protected]>
Description: 
 dia        - Diagram editor
 dia-common - Diagram editor (common files)
 dia-gnome  - Diagram editor (GNOME version)
 dia-libs   - Diagram editor (library files)
Closes: 668446
Changes: 
 dia (0.97.2-8) unstable; urgency=low
 .
   * Fixed pre/post rm/inst regarding update-alternatives (Closes: #668446)
Checksums-Sha1: 
 461df0aa3f5fdbca7c9ea0d4de278bcd7fa4b9f8 1604 dia_0.97.2-8.dsc
 a883358b07f56c6a903cc4d4b2d95906ca960be1 38414 dia_0.97.2-8.debian.tar.gz
 34290c2884f09db79b684de5b80e38d63c317ad5 6325942 dia-common_0.97.2-8_all.deb
 0b41f25c6115d1de3e4183e123f536c31bf5b969 913264 dia-libs_0.97.2-8_i386.deb
 8ecba823e92d8899b116f02265fb4d34ee6a106c 227060 dia_0.97.2-8_i386.deb
 8338e155122b19a1bd6fa86dae863739e213abe6 228020 dia-gnome_0.97.2-8_i386.deb
Checksums-Sha256: 
 a8e6d15af0fc9f92628b989ab95b6af3411740d2b989593b9faaed6df424eac9 1604 
dia_0.97.2-8.dsc
 52e5144fdb007906e88296e90b804a7a4f2d6b923fa038302111aa5e69c0b7e8 38414 
dia_0.97.2-8.debian.tar.gz
 c5ad0fc2e461c76bd3b3cefd7d0969cf506b193014601149ff7b584f66bc2878 6325942 
dia-common_0.97.2-8_all.deb
 7022701c8b5cf16be8e591538c7fccc5a707a9fdcbfa839f7e0f1f5781edbc5f 913264 
dia-libs_0.97.2-8_i386.deb
 5aab9bce1a850e22294f104eae57e6e773a1bba6ebfe693826eb42d0c99a6ea8 227060 
dia_0.97.2-8_i386.deb
 f35626a9848abd4e6bb36451c432a57a513c1aca7ab7b01aa456883f592f87c4 228020 
dia-gnome_0.97.2-8_i386.deb
Files: 
 3a6ca6182bcf87f14602d3f8f609e721 1604 graphics optional dia_0.97.2-8.dsc
 4fd1366069acc092c9b11e992d23b24d 38414 graphics optional 
dia_0.97.2-8.debian.tar.gz
 68bbc74defc7a064dda425396e22187a 6325942 graphics optional 
dia-common_0.97.2-8_all.deb
 1f5dfdf8312c66a63cbd85b180cd3aeb 913264 graphics optional 
dia-libs_0.97.2-8_i386.deb
 57bf0b084590701156205893d320d227 227060 graphics optional dia_0.97.2-8_i386.deb
 05c8dcd2e9acebff8e95ccc965745937 228020 gnome optional 
dia-gnome_0.97.2-8_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iD8DBQFPiLKMcaH/YBv43g8RAm69AJ9zq9L+yeivqajmXVUBP/E3Za4YsgCgqfE1
/V93+1IafFqQSwcaICAYSlQ=
=ajU0
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to