Your message dated Tue, 17 Apr 2012 07:04:16 +0000
with message-id <e1sk2sw-0000ul...@franck.debian.org>
and subject line Bug#668971: fixed in tsdecrypt 8.0-2
has caused the Debian Bug report #668971,
regarding tsdecrypt: leaves alternatives after purge: /usr/bin/tsdecrypt
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 ow...@bugs.debian.org
immediately.)


-- 
668971: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668971
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: tsdecrypt
Version: 8.0-1
Severity: important
User: debian...@lists.debian.org
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...):

0m15.0s ERROR: WARN: Broken symlinks:
  /usr/bin/tsdecrypt -> /etc/alternatives/tsdecrypt
  /etc/alternatives/tsdecrypt -> /usr/bin/tsdecrypt_dvbcsa

0m16.7s ERROR: FAIL: Package purging left files on system:
  /etc/alternatives/tsdecrypt    not owned
  /usr/bin/tsdecrypt     not owned


cheers,

Andreas

Attachment: tsdecrypt_8.0-1.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: tsdecrypt
Source-Version: 8.0-2

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

tsdecrypt_8.0-2.debian.tar.gz
  to main/t/tsdecrypt/tsdecrypt_8.0-2.debian.tar.gz
tsdecrypt_8.0-2.dsc
  to main/t/tsdecrypt/tsdecrypt_8.0-2.dsc
tsdecrypt_8.0-2_amd64.deb
  to main/t/tsdecrypt/tsdecrypt_8.0-2_amd64.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 668...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alessio Treglia <ales...@debian.org> (supplier of updated tsdecrypt 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 16 Apr 2012 18:46:50 +0200
Source: tsdecrypt
Binary: tsdecrypt
Architecture: source amd64
Version: 8.0-2
Distribution: unstable
Urgency: low
Maintainer: Debian Multimedia Maintainers 
<pkg-multimedia-maintainers@lists.alioth.debian.org>
Changed-By: Alessio Treglia <ales...@debian.org>
Description: 
 tsdecrypt  - decrypt MPEG transport stream
Closes: 668971
Changes: 
 tsdecrypt (8.0-2) unstable; urgency=low
 .
   * Make 'postrm remove' and 'postrm disappear' remove the
     /usr/bin/tsdecrypt alternative (Closes: #668971).
   * Don't remove the alternative on 'prerm deconfigure' to
     preserve user configuration.
Checksums-Sha1: 
 f9c82806db27fa771b9671e5324f18bbd074db5c 1975 tsdecrypt_8.0-2.dsc
 bec11a0ff1a5399ca0b4aec0715587a98b4fabea 6350 tsdecrypt_8.0-2.debian.tar.gz
 c4cf25ecd97c9baf79d61d4b3e1f08917850f0d7 185182 tsdecrypt_8.0-2_amd64.deb
Checksums-Sha256: 
 9d51052ee5eb21d7a137cf8e5847630b40b4039857d3e7c1e3ea22904a2af89a 1975 
tsdecrypt_8.0-2.dsc
 f777d833dd98507fa677048ba93344a9d43b92c05ac3def959e4b3319c3a630f 6350 
tsdecrypt_8.0-2.debian.tar.gz
 59f37e0957061718f07e92c153cbfdb09adafc26917eed02808d61fe7d650742 185182 
tsdecrypt_8.0-2_amd64.deb
Files: 
 9a18439c18730a766727f1c7535fd045 1975 video optional tsdecrypt_8.0-2.dsc
 e379f6723ff1b343dc0b3ef509bfaf58 6350 video optional 
tsdecrypt_8.0-2.debian.tar.gz
 f11975db5a231d065ef4dc351232eb02 185182 video optional 
tsdecrypt_8.0-2_amd64.deb

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

iQIcBAEBCgAGBQJPjRLyAAoJEOikiuUxHXZa4fIQAIJFngxc4f1mfGga+TwVl1LC
xaLtekjawoulaaZ28s8TdsjpBhpH0avLoyLiatDs9j4g05s5756pSV8qbzZaQ+cR
L+WxSoMhICy4n7MZWjcwBEGKOG6gHmSbNKu5FY4J34llG+Dc8bhNV/9jX+10YHuY
czIOr2d8KlIBt/nvYUYZSpVMKJPdwAEJBa2iUYDEq35Hf81OQ3vKAQOdDXD/5Qs8
aApI+BhTOt0pe8aURpMpoCDFjt15npgQcEIo7L2tAFs2Co0B0rp/YgWyh5WPLoJG
9dH8CIE78fHcxFP20Od4l5lz1Zp6bJcUz1y6gKfZKfJrQaOsctqbPLeaedVasy/a
CpIvpzEPXBkP5UsN62Im6faJCd00Quy+WvIkw6i3r98SXvsJwdE7DZqmXxza3GFa
eoO3/fVY5KHmmMfhV7k4nv1Z9ZRTsjE7dYkDQS1Wc5atTcw2V8O0tczAoc1xiJ/N
noylbFJkzxkRilu74uEWBBhlR6KJ5oOJRmAY2LOnPcrnPF7aMs6Z4/bikeegNKhl
sACsyPe5EVoZQSG4MkEUDRQwnB4R4JCULtOnPDUiMM0THaxCrgE76eJ4QZSDr05l
ATxgre8INZDwyCylhnCjOocTWTM/FhBIawTmRh3Du1zipFCeUQo/kKeIrASz7Unm
FBSpOOSzjtCbhHtsV3Sn
=RMDb
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to