[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, 15 Apr 2013 00:02:29 +0000
with message-id <E1URWsP-00073M-1a@franck.debian.org>
and subject line Bug#668442: fixed in tucnak2 2.47-2+deb7u1
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.47-2+deb7u1

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


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

Format: 1.8
Date: Wed, 10 Apr 2013 01:27:28 +0200
Source: tucnak2
Binary: tucnak2
Architecture: source amd64
Version: 2.47-2+deb7u1
Distribution: testing
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.47-2+deb7u1) testing; urgency=low
 .
   * Non-maintainer upload.
   * Remove the correct alternative upon package removal.  (Closes: #668442)
Checksums-Sha1: 
 942de9289103be988a2594975d39845954a7e7b3 1965 tucnak2_2.47-2+deb7u1.dsc
 0f53543d1726b9add1804eadc793f53a4316b6c4 16607 tucnak2_2.47-2+deb7u1.diff.gz
 be1459718de0a4ef4bd2f8919f447b2df730d5ed 1635078 tucnak2_2.47-2+deb7u1_amd64.deb
Checksums-Sha256: 
 b772aea3f69b0cc6debf34a2d86e19447be633922d6abe91e60e17d9c10fd779 1965 tucnak2_2.47-2+deb7u1.dsc
 8f1e6d47d1879e71813aab34bcd069cb0015847cb129fb2d77d8cbf27f2103f5 16607 tucnak2_2.47-2+deb7u1.diff.gz
 9147579261642df7ec7287259e7f21feb9a88e3c30f8b5d19aefce5443b74a03 1635078 tucnak2_2.47-2+deb7u1_amd64.deb
Files: 
 d2baeb972cde4cdd045a701df9f9749e 1965 hamradio optional tucnak2_2.47-2+deb7u1.dsc
 0c8e980ca6dfc7bf23d8293a94d11111 16607 hamradio optional tucnak2_2.47-2+deb7u1.diff.gz
 75fca5cba3585d2041c7f11a1881d42f 1635078 hamradio optional tucnak2_2.47-2+deb7u1_amd64.deb

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

iQIcBAEBCAAGBQJRZKTrAAoJEF+zP5NZ6e0Is8IQAIF4ayefrni5zYIomanskURt
fapPNC63vI8UC46QzbRD+l+Y2+53gisO8H5vHchtM5iCF6WlHSGz6fOSOJKoCiWU
C6fkgISU/uA3C5Xyt5VBjzNPPQe6e+Uv4S6wzR41lM+tqCp+qvGqM+uRfjCYSl8h
sxj9nWPFdk71aEafa5GRoH4/BvShCdVTyOj+eaqaVld0EkgJ8aC57/Al4u/9O1lK
bJJe2eRBQ3b85aSM28rpgrKemjLlFCqtYYpmghyrXjWfBJbMvncSMVBE36he/suP
e0xxl/nvbqgjd8IR+8KbhgTYDWOl4XeLbeq3+0MWaIepjig5IReHz+d6jhlg0Zcg
SoI0WAxSXMSV9l355DHYPOWOuBv5h+ZK8ecyK+bfPFLRtMLB91nziWEQ6rBTaGHg
Y+r55Rhvhrst1BdVpP+HsWpG2Wb2I/Xoc+N05+EuFoBJP/58YS0a7A5C1xJqBkFC
W6xrnhXRnQ+co4aV7JhfGybnjXEZLanD20aY3rmjrps1S7pesHpmuIRwb2HFpK+X
hb+YY4W3OpA+OBecYGsfDMxrmkkMZp6GbNeOpW3rUwiayR42cdgjpvNexOoGR8RV
JEoBAbSPUMzjHwt5vxDqXxjt7p6O8bOzAm7i7Z0xEYWEiRwsQ35RRe2ikweqnqze
A8662ku0ZyvUOTMBY8Fm
=VTxZ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: