Your message dated Sun, 15 Dec 2013 13:18:58 +0000
with message-id <[email protected]>
and subject line Bug#729212: fixed in flexpart 9.02-6
has caused the Debian Bug report #729212,
regarding flexpart: leaves alternatives after purge: /usr/bin/flexpart
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.)


-- 
729212: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729212
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: flexpart
Version: 9.02-5
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...):

0m30.7s ERROR: WARN: Broken symlinks:
  /usr/bin/flexpart -> /etc/alternatives/flexpart
  /etc/alternatives/flexpart -> /usr/bin/flexpart.ecmwf

0m32.7s ERROR: FAIL: Package purging left files on system:
  /etc/alternatives/flexpart -> /usr/bin/flexpart.ecmwf  not owned
  /usr/bin/flexpart -> /etc/alternatives/flexpart        not owned


cheers,

Andreas

Attachment: flexpart_9.02-5.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: flexpart
Source-Version: 9.02-6

We believe that the bug you reported is fixed in the latest version of
flexpart, 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.
Alastair McKinstry <[email protected]> (supplier of updated flexpart 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: Sun, 15 Dec 2013 10:52:47 +0000
Source: flexpart
Binary: flexpart
Architecture: source i386
Version: 9.02-6
Distribution: unstable
Urgency: medium
Maintainer: Alastair McKinstry <[email protected]>
Changed-By: Alastair McKinstry <[email protected]>
Description: 
 flexpart   - Particle Dispersion model for tracing air transport phenomena
Closes: 729212 729444 730446
Changes: 
 flexpart (9.02-6) unstable; urgency=medium
 .
   * update-alternatives now removes alternatives on rm. Closes: #729212.
   * Standards-Version: 3.9.5. No changes required.
   * Move to section: science. Closes: #729444.
   * Fix typo in homepage URL. Closes: #730446.
   * Add -Wl,--as-needed to remove unnecessary links in makefiles
Checksums-Sha1: 
 458c8c358391bf198bbe30da3d72186b90d24787 1737 flexpart_9.02-6.dsc
 459ca64448fa4bde7198c631f08191dd50b3a3e9 3327 flexpart_9.02-6.debian.tar.gz
 24990494b68674cbee9fe1c5af436dd6e47a4eb1 1313462 flexpart_9.02-6_i386.deb
Checksums-Sha256: 
 a913fa999d3db186212e6f1afa94d6095ddc8c159b06695391a23c6af4663753 1737 
flexpart_9.02-6.dsc
 179eb584f71f6794368158b42e521ad2d6b0cc02d689057234e307f8d54049cc 3327 
flexpart_9.02-6.debian.tar.gz
 a69d585d738e0a9e5b4f1f7d2b973f3e00efd40780cf78032b46fcfbe095af2e 1313462 
flexpart_9.02-6_i386.deb
Files: 
 817533ad84b3dcba358f036b91bb849b 1737 science optional flexpart_9.02-6.dsc
 55a1d209251577e825cb923bf3f69bcd 3327 science optional 
flexpart_9.02-6.debian.tar.gz
 b1cbc80b94740af58e370f6068df733f 1313462 science optional 
flexpart_9.02-6_i386.deb

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

iQIcBAEBCAAGBQJSrYy0AAoJEN9LdrZRJ3Qs7uUP/1HP239IZG718RzFpTHQ9F13
t6QappggxlyJAhLglAmiDv6PqnvISUAP7vtDZrEYDReKcuMLuijE362geEX5SbVR
sFYH2Ti0QzLt3YBdVstlBK+UW91I1Ee/YcITv/iONRPa1wdkGI19ujbVqpbYqA4y
yVF19uXO1iPWfYM1aRz3eHddNhSIqXDmqAhJE8Rsglm1spS4Et4KaBX9lFusRJUc
o0ejdwzO/KG99iEDuPuc2DvWpzRf33Gr0y2/WLDKgvNo6ycJA6Ig/Yub/dbVLrO1
qaQ88eHC5La/dO4+SJHX5XftAHQ/LfE3W01b9swxgxTee3a0J0EKhpGK49+qcC40
ggunw5beS4KTj66r30NoieDYNT38au5tb57HyK561sa7DLvFASA9vnGhcE3K2wKa
s3aQFJIq0FM1CjYYjv/CD7kcDSB8B4ikZ0CpZibF3nV4Ha52c8/hE1dWvOR1AuYa
JVq6QdmlRb+ibEjcazzMzX5txua0imh1rI4Ahe93h+SFz4gBGzqrKKOmRbdZ+2RN
NJ2N1/kmJoYYmga91fNeiKEgp+659DwFzK//DbzyzuyJOZNLAiC6mDC6hKxCqvVz
PC7nkhEQmqm/yH3RC4PEYcMjq+v5RzVnGh0PtyACrSXTBxf2/bgLg8C/8RbKTa1R
7qcAT5GDmagLA8zPCsD5
=LSw3
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to