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

Bug#861259: marked as done (mknbi: leaves alternatives after purge: /usr/bin/mknbi-{linux,mgl,dos})



Your message dated Wed, 26 Apr 2017 16:49:36 +0000
with message-id <E1d3Q8G-0001eO-Is@fasolo.debian.org>
and subject line Bug#861259: fixed in mknbi 1.4.4-14
has caused the Debian Bug report #861259,
regarding mknbi: leaves alternatives after purge: /usr/bin/mknbi-{linux,mgl,dos}
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.)


-- 
861259: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861259
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: mknbi
Version: 1.4.4-13
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:

https://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 https://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. unpacked but not configured packages 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...):

4m3.8s ERROR: FAIL: Installed diversions (dpkg-divert) not removed by purge:
  diversion of /usr/bin/mknbi-linux to /usr/bin/mknbi-linux.netboot by mknbi
  diversion of /usr/bin/mknbi-mgl to /usr/bin/mknbi-mgl.netboot by mknbi
  diversion of /usr/bin/mknbi-dos to /usr/bin/mknbi-dos.netboot by mknbi


This was observed after the upgrade path

  lenny -> squeeze -> wheezy -> jessie -> stretch


cheers,

Andreas

Attachment: mknbi_1.4.4-13.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: mknbi
Source-Version: 1.4.4-14

We believe that the bug you reported is fixed in the latest version of
mknbi, 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 861259@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 mknbi 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: Wed, 26 Apr 2017 18:18:17 +0200
Source: mknbi
Binary: mknbi
Architecture: source
Version: 1.4.4-14
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Description:
 mknbi      - Create tagged images for Etherboot or Netboot
Closes: 861259
Changes:
 mknbi (1.4.4-14) unstable; urgency=medium
 .
   * QA upload.
   * Clean up leftover diversions dating back to lenny.  (Closes: #861259)
Checksums-Sha1:
 85dad56168944225de726f6b15cdeb6af7145d3c 1867 mknbi_1.4.4-14.dsc
 b3c2d4276c711822c2a636b89f1f95d8d2a7ded7 5961 mknbi_1.4.4-14.debian.tar.gz
 6920b8460ec90061d100524c983af376b2998a79 5000 mknbi_1.4.4-14_source.buildinfo
Checksums-Sha256:
 78365db999ba3e238000387751b320cbfe25b4b9b44b0103b9d02c05c2e3598c 1867 mknbi_1.4.4-14.dsc
 b89b62b9d1b412cc2d101e84b27dc9e5218828c6d28e6812c9eda859505166ec 5961 mknbi_1.4.4-14.debian.tar.gz
 bfbb1f1365e6dc276bc3308420629f9dc346f899872e87c97e018128efebeda5 5000 mknbi_1.4.4-14_source.buildinfo
Files:
 a9027a86df2f3ccb1d0c9070797dfb1d 1867 admin optional mknbi_1.4.4-14.dsc
 4942bbc7c852def69322da9e2279727d 5961 admin optional mknbi_1.4.4-14.debian.tar.gz
 fb52f11ce4d3e1d85fc4ac1fa89a16e5 5000 admin optional mknbi_1.4.4-14_source.buildinfo

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJZAMoKAAoJEF+zP5NZ6e0IGqkQAIvMaA6xTdvn4/EjQFSh8DI0
94Qw1cgVO1A1iFhr9ctJZyo5FThQmzrQq2hsZ2PIzlHE3svY9yftTCrh5H7W+0DC
piKbdseAkB8SLyyYt5yYSOcuKKVfEqnwyY/lb3TrJ3EhgSwkBtEo7LKb80ulsmb9
ywVdYHZW/9fwfOzyBJcjIAR/1H5tcvQ4k7qeVOxRkl9xiHO4wz0V6CPhp1dhlYie
9M8l73RPKmlHGp10ng6emga+KRBVKIJYasrUKnYXqy2YofUq17lefY2bakzQUxFL
3UCXMFLOCCcxGvzxon4w3qxfW46MbLo+Slj8lBVN8H+Uhpbkt+res584LkwbwXXp
A0aC22vZVIm97yrl8X8sqUdfcxbnbymYX2ZpLR+a4801lUg5EuV3VdOsgap3IpIJ
lmEd2/ie33sK/ilxEZaqYarpmrc8h4BTZL1ufxhz5f4MXfy5HGcT5dvcEOh/G5VG
+FGcBtdPYYJLQ2Z+sCll6CfD4QPjcuqkjIoHB+27XKFCdpnvK6/PMLt1TUOtyfoN
mnyCbrUFprMcmmi1ppVHGJca3uE+aydA0Y3Q/3mMrXxFwsVF8Px3lNKeAkKBeW9Z
VqInP0XzQcpvhYWYqiW//obMH+4iXtvvtXQx0Llp8Eoa8E6bx7QpaAHtiXQXf5WL
Ej2Ow79cvsHiAJxYgif3
=JEji
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: