[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#668442: marked as done (tucnak2: leaves alternatives after purge)



Your message dated Sun, 27 Oct 2013 15:22:15 +0000
with message-id <E1VaSAR-0002CB-RR@franck.debian.org>
and subject line Bug#668442: fixed in tucnak2 2.48-2.2
has caused the Debian Bug report #668442,
regarding tucnak2: 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 owner@bugs.debian.org
immediately.)


-- 
668442: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668442
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tucnak2
Version: 2.47-2
Severity: important
User: debian-qa@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...):

0m23.8s ERROR: WARN: Broken symlinks:
  /etc/alternatives/tucnak -> /usr/bin/tucnak
  /usr/bin/tucnak2 -> /etc/alternatives/tucnak

0m25.2s ERROR: FAIL: Package purging left files on system:
  /etc/alternatives/tucnak	 not owned
  /usr/bin/tucnak2	 not owned


cheers,

Andreas

Attachment: tucnak2_2.47-2.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: tucnak2
Source-Version: 2.48-2.2

We believe that the bug you reported is fixed in the latest version of
tucnak2, 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 668442@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated tucnak2 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 17 Oct 2013 15:27:36 +0200
Source: tucnak2
Binary: tucnak2
Architecture: source amd64
Version: 2.48-2.2
Distribution: unstable
Urgency: low
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Description: 
 tucnak2    - VHF/UHF/SHF Hamradio contest log version 2
Closes: 668442
Changes: 
 tucnak2 (2.48-2.2) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Merge changes from 2.47-2+deb7u1:
     - Remove the correct alternative upon package removal.  (Closes: #668442)
Checksums-Sha1: 
 89c67f905cb0d3c5462cd21cec40213b758102f3 1974 tucnak2_2.48-2.2.dsc
 0fea656593fc87a82196459a2070769da277f9c0 17238 tucnak2_2.48-2.2.diff.gz
 63ba145a0d0a0d38d1edd5f6e6e8bb60b169a782 1116894 tucnak2_2.48-2.2_amd64.deb
Checksums-Sha256: 
 5f3d07ee49d8849de4f447d424f834342dbfe99829d55197fc67799ca9328e0b 1974 tucnak2_2.48-2.2.dsc
 1bfc603e87b4e95b8c80a22864dee11036e05c11698411ad3a55eeea8ee756b5 17238 tucnak2_2.48-2.2.diff.gz
 14b5a96c38de453e033ac0b1faabec3b1673e865ba8673a0dc7b6f1bdd94579f 1116894 tucnak2_2.48-2.2_amd64.deb
Files: 
 9d42c8a35d9c4ac21668838f4e2491ba 1974 hamradio optional tucnak2_2.48-2.2.dsc
 e3d15a733b9586acbdfe7c83254234a1 17238 hamradio optional tucnak2_2.48-2.2.diff.gz
 5cb466e8b2697f1819af37407a73db50 1116894 hamradio optional tucnak2_2.48-2.2_amd64.deb

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

iQIcBAEBCAAGBQJSX+kAAAoJEF+zP5NZ6e0IOm8P/iwqzhz1Qju0JJHQykTo37mJ
wkN2uzOFCspPuCxMidlz8dfQeWVqfu6saRGoiuISTrydqppc4gWdag0QZX4vZgc9
TPDRv1griQCBZNDGg2mIDnI9jMus0G+OS9JIHSwAiQk/h+k2L2Iuwf1uOPSyrR2j
aofEz8B1klAdchJp6AsuN/IBCFD9zKR+ypStFBgy5D3rGDJ/fJ/NA0ZLhutY4WJz
ssyxnfcwEqVxtl863mT7doabusG6fbMZoVSl1xbVoNIju3oVAmqZTNQKX6rNEqy6
83LRcC+BbQCvvX9J4G53G798l6i2Gwr6fdoqjPu3IOwXmXzcgGeDa5I8w5hu1aTk
4JUHcDWtvftXNke+zYk+WH9KYT3BISQ0MyFVbI5MoYZMhlBFNDklTSEjVUa7kLeJ
17KF07dLHmRtSLJDN8+Gs0FuLyCCCZyWFvqh5VJETTylxRt2UKXfZwGM84JwcA8w
pibImfTA12YXdU0FLBxzGuZ4MIz3yaS0dM8RQeyxYeGkOGy5mReaTXPz+XRZXlzL
FyxeJM9anp7AmGIoaKNwIGcg9f1cQWULWgFc2cCPeSOZTq25r/kuV8fzeVGggNXm
2MwMzkZKGFoWRgmR2lEIoJQkEProRsUjXDeIFUIXuP5QoVOGloh++TKVyKcqje3Y
YbmTYQtUBXgj6UyV5dAr
=nasE
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: