[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 Mon, 04 Jun 2012 18:34:29 +0000
with message-id <E1Sbc6n-0002Yd-IT@franck.debian.org>
and subject line Bug#668442: fixed in tucnak2 2.48-1
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-1

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:

tucnak2_2.48-1.diff.gz
  to main/t/tucnak2/tucnak2_2.48-1.diff.gz
tucnak2_2.48-1.dsc
  to main/t/tucnak2/tucnak2_2.48-1.dsc
tucnak2_2.48-1_amd64.deb
  to main/t/tucnak2/tucnak2_2.48-1_amd64.deb
tucnak2_2.48.orig.tar.gz
  to main/t/tucnak2/tucnak2_2.48.orig.tar.gz



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.
Jaime Robles <jaime@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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 05 Apr 2012 10:16:00 +0000
Source: tucnak2
Binary: tucnak2
Architecture: source amd64
Version: 2.48-1
Distribution: unstable
Urgency: low
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: Jaime Robles <jaime@debian.org>
Description: 
 tucnak2    - VHF/UHF/SHF Hamradio contest log version 2
Closes: 668442
Changes: 
 tucnak2 (2.48-1) unstable; urgency=low
 .
   * New upstream release.
   * Fix the alternatives removal after purge. (closes: #668442)
Checksums-Sha1: 
 e5f3b6fdf9f6a148b03f8162d2dd803a2d5c4f71 1297 tucnak2_2.48-1.dsc
 ca2ce044150ab72da11da635abf0622c94f3a5ff 2985018 tucnak2_2.48.orig.tar.gz
 e8e7c5cd157e8b97fc98d85fc639568a5a71cda8 17097 tucnak2_2.48-1.diff.gz
 09b75ec765b716ba40a11aa5418f125fdb7663d9 1647436 tucnak2_2.48-1_amd64.deb
Checksums-Sha256: 
 a2a92985b9d218584f9dac17b45c0abcb48b5281e28526cb7b38253c575e4856 1297 tucnak2_2.48-1.dsc
 6399ea57d782dafdc68188490ad003b256fe7ed2b02385d1b3882fd9df294c97 2985018 tucnak2_2.48.orig.tar.gz
 15163f13860d7dac49afe6f791935b3d4a7fc9a35118cf198ab81ea5d4a5a948 17097 tucnak2_2.48-1.diff.gz
 c5ddb851b000575f81a368816bc4e8b127c382641b8fe942753cdd8d6caa23be 1647436 tucnak2_2.48-1_amd64.deb
Files: 
 4c0c82ae4918dad76f5b653bfd09ce7f 1297 hamradio optional tucnak2_2.48-1.dsc
 eb4ec2b0046782c0ecf24537e1b03057 2985018 hamradio optional tucnak2_2.48.orig.tar.gz
 9b5761f606e567130ad2dd82e86f1537 17097 hamradio optional tucnak2_2.48-1.diff.gz
 e995b4999bc6f90306f40ff59c068dfb 1647436 hamradio optional tucnak2_2.48-1_amd64.deb

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

iEYEARECAAYFAk/M/NAACgkQER46oL+8yYVCfQCff7w/lk5sx1IgbY1Vm08tGH96
jqUAn1xQWVv0onzf7Y3A4064IS3L7Xe6
=rKg1
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: