Your message dated Sun, 22 Apr 2012 14:52:38 +0000
with message-id <[email protected]>
and subject line Bug#668451: fixed in request-tracker4 4.0.5-2
has caused the Debian Bug report #668451,
regarding request-tracker4: 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.)


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

1m0.6s ERROR: WARN: Broken symlinks:
  /etc/alternatives/rt-preferences-viewer -> /usr/sbin/rt-preferences-viewer-4
  /etc/alternatives/rt-preferences-viewer.8.gz -> 
/usr/share/man/man8/rt-preferences-viewer-4.8.gz
  /usr/sbin/rt-preferences-viewer -> /etc/alternatives/rt-preferences-viewer
  /usr/share/man/man8/rt-preferences-viewer.8.gz -> 
/etc/alternatives/rt-preferences-viewer.8.gz

1m2.6s ERROR: FAIL: Package purging left files on system:
  /etc/alternatives/rt-preferences-viewer        not owned
  /etc/alternatives/rt-preferences-viewer.8.gz   not owned
  /etc/cron.d    owned by: cron
  /etc/cron.d/request-tracker4   not owned
  /usr/sbin/rt-preferences-viewer        not owned
  /usr/share/man/man8/rt-preferences-viewer.8.gz         not owned


cheers,

Andreas

Attachment: request-tracker4_4.0.5-1.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: request-tracker4
Source-Version: 4.0.5-2

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

request-tracker4_4.0.5-2.debian.tar.gz
  to main/r/request-tracker4/request-tracker4_4.0.5-2.debian.tar.gz
request-tracker4_4.0.5-2.dsc
  to main/r/request-tracker4/request-tracker4_4.0.5-2.dsc
request-tracker4_4.0.5-2_all.deb
  to main/r/request-tracker4/request-tracker4_4.0.5-2_all.deb
rt4-apache2_4.0.5-2_all.deb
  to main/r/request-tracker4/rt4-apache2_4.0.5-2_all.deb
rt4-clients_4.0.5-2_all.deb
  to main/r/request-tracker4/rt4-clients_4.0.5-2_all.deb
rt4-db-mysql_4.0.5-2_all.deb
  to main/r/request-tracker4/rt4-db-mysql_4.0.5-2_all.deb
rt4-db-postgresql_4.0.5-2_all.deb
  to main/r/request-tracker4/rt4-db-postgresql_4.0.5-2_all.deb
rt4-db-sqlite_4.0.5-2_all.deb
  to main/r/request-tracker4/rt4-db-sqlite_4.0.5-2_all.deb
rt4-fcgi_4.0.5-2_all.deb
  to main/r/request-tracker4/rt4-fcgi_4.0.5-2_all.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.
Dominic Hargreaves <[email protected]> (supplier of updated request-tracker4 
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: Sun, 22 Apr 2012 14:58:39 +0100
Source: request-tracker4
Binary: request-tracker4 rt4-clients rt4-fcgi rt4-apache2 rt4-db-postgresql 
rt4-db-mysql rt4-db-sqlite
Architecture: source all
Version: 4.0.5-2
Distribution: unstable
Urgency: low
Maintainer: Debian Request Tracker Group 
<[email protected]>
Changed-By: Dominic Hargreaves <[email protected]>
Description: 
 request-tracker4 - extensible trouble-ticket tracking system
 rt4-apache2 - Apache 2 specific files for request-tracker4
 rt4-clients - mail gateway and command-line interface to request-tracker4
 rt4-db-mysql - MySQL database backend for request-tracker4
 rt4-db-postgresql - PostgreSQL database backend for request-tracker4
 rt4-db-sqlite - SQLite database backend for request-tracker4
 rt4-fcgi   - External FastCGI support for request-tracker4
Closes: 660867 661101 668451
Changes: 
 request-tracker4 (4.0.5-2) unstable; urgency=low
 .
   * Improve rt4-fcgi description to clarify that it's only required
     where an external FCGI process is needed, and that it's not
     nginx specific
   * Add Dutch debconf translation (Closes: #661101)
   * Create cron job world-readable during new installations
     (Closes: #660867)
   * Correctly remove all conffiles during purge (Closes: #668451)
   * Remove references to obsolete /etc/apache2/conf.d (see #669774)
   * Update Standards-Version (no changes)
Checksums-Sha1: 
 5f232c9bba41b5428d475134f9f4b7605b54716e 2112 request-tracker4_4.0.5-2.dsc
 055c764b85f93541ec51205fe5f418e31449b80a 64767 
request-tracker4_4.0.5-2.debian.tar.gz
 18543793538c6a2d2a198c03548feb699717f021 3944348 
request-tracker4_4.0.5-2_all.deb
 82e5b601da2c4dcf7db9453c51778cb1dc0cd1b6 45638 rt4-clients_4.0.5-2_all.deb
 c22dc769462d3040ea3afbcfdaebaa0dc6e348f2 8710 rt4-fcgi_4.0.5-2_all.deb
 8fc23ac3f16631e5b560dc9ee9519c6b467c9a4c 7592 rt4-apache2_4.0.5-2_all.deb
 425e1bebde398d593e367f06ebed9cbd6ff86aac 6870 rt4-db-postgresql_4.0.5-2_all.deb
 15655c5f58e0c882b9f46def32cbb211e3b18015 6862 rt4-db-mysql_4.0.5-2_all.deb
 87822fa1f999a858dd180593a15ca44e5e174312 6960 rt4-db-sqlite_4.0.5-2_all.deb
Checksums-Sha256: 
 5755e16170df69d4fc8a5999f1f03739d6fcf67f301281f62a4fca7c6fa6e491 2112 
request-tracker4_4.0.5-2.dsc
 772e75635edbf972abfdf46b20a3f0b8b1bbe094d1b40ba75a4a28e531b450c7 64767 
request-tracker4_4.0.5-2.debian.tar.gz
 3f97402c34e949ce6c3d6809274bf69a32ecc888c4dfd6175ae89b597b03bf80 3944348 
request-tracker4_4.0.5-2_all.deb
 bed8935401af2087ce926d1e3930a4bb9a5f6a97288b02e90bfec43aadea24db 45638 
rt4-clients_4.0.5-2_all.deb
 940e5a946e026311dd606d96eeed4e4d27f19b418fbf9c7396ffa48930b11603 8710 
rt4-fcgi_4.0.5-2_all.deb
 48a52810f3a79412277ed798160b10090b761d7700c4ad0a3b309265d8d6d01d 7592 
rt4-apache2_4.0.5-2_all.deb
 91fffcfced78ea8d898f4fd5d960a205320ec7918f9a581f0c422ef6e2e75cea 6870 
rt4-db-postgresql_4.0.5-2_all.deb
 5a6b242441967f40537508e999b25f31ec38e26f029b0065de0d2f1b3d960aad 6862 
rt4-db-mysql_4.0.5-2_all.deb
 51f076805bd4baf18ee0875c5851fd854d287f2d57782c9e020dca228be5d4c7 6960 
rt4-db-sqlite_4.0.5-2_all.deb
Files: 
 ff398d2639d62ef6066311221eb5e178 2112 misc optional 
request-tracker4_4.0.5-2.dsc
 dfda56f1b94c1ed3d89edafa0614dcc3 64767 misc optional 
request-tracker4_4.0.5-2.debian.tar.gz
 a33abff546ae47e85def3d9f8cc21c33 3944348 misc optional 
request-tracker4_4.0.5-2_all.deb
 652021a1893cac0ea9c3f239564212b5 45638 misc optional 
rt4-clients_4.0.5-2_all.deb
 60f5b5eefb9fbd815b6341725bb12921 8710 misc optional rt4-fcgi_4.0.5-2_all.deb
 81dde7f9298e4d14892d1f65d1a3157f 7592 misc optional rt4-apache2_4.0.5-2_all.deb
 04f051cc6e76f34c78280835487a1906 6870 misc optional 
rt4-db-postgresql_4.0.5-2_all.deb
 7d61542ca0b500053b087edc6edd1ecc 6862 misc optional 
rt4-db-mysql_4.0.5-2_all.deb
 28205531df8720e78a8b0cb841318852 6960 misc optional 
rt4-db-sqlite_4.0.5-2_all.deb

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

iD8DBQFPlA7uYzuFKFF44qURAsbaAJ95kS3oMNA+DR+PJmc87zn2hXloFgCfTRiO
vsjKGSvj3IZpOgd2CQC+pc4=
=dRwx
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to