Your message dated Sat, 05 Mar 2016 16:56:15 +0000
with message-id <[email protected]>
and subject line Bug#813244: fixed in heroes 0.21-14
has caused the Debian Bug report #813244,
regarding heroes-sdl: leaves alternatives after purge: /etc/alternatives/heroes 
-> /usr/games/heroes-sdl
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 [email protected]
immediately.)


-- 
813244: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813244
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: heroes-sdl
Version: 0.21-13
Severity: important
User: [email protected]
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...):

1m28.8s INFO: Warning: Package purging left files on system:
  /etc/alternatives/heroes -> /usr/games/heroes-sdl      not owned


This was observed on an upgrade from 0.21-10 to 0.21-13. Since there
has been some package reorganization between these versions the use of
alternatives may have become obsolete and needs to be cleaned up in the
preinst of the remaining "main" package.


cheers,

Andreas

Attachment: heroes-sdl_0.21-13.log.gz
Description: application/gzip

Attachment: heroes-sdl_0.21-13.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: heroes
Source-Version: 0.21-14

We believe that the bug you reported is fixed in the latest version of
heroes, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephen Kitt <[email protected]> (supplier of updated heroes 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 [email protected])


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

Format: 1.8
Date: Sat, 05 Mar 2016 16:44:22 +0100
Source: heroes
Binary: heroes heroes-sdl heroes-common
Architecture: source
Version: 0.21-14
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Stephen Kitt <[email protected]>
Description:
 heroes     - Collect powerups and avoid your opponents' trails
 heroes-common - transitional package for heroes
 heroes-sdl - transitional package for heroes
Closes: 813244 816269
Changes:
 heroes (0.21-14) unstable; urgency=medium
 .
   [ Stephen Kitt ]
   * Handle heroes' permissions in the dh_fixperms override, for
     architecture-dependent builds only.
   * Preserve the original manpages, help2man can't rebuild the new ones
     on buildds.
   * Allow building with GCC 6.
   * Avoid attempting to rebuild doc/heroes.texi, the build isn't
     compatible with current autogen (closes: #816269).
 .
   [ Alexandre Detiste ]
   * Remove leftover heroes alternative (closes: #813244).
Checksums-Sha1:
 b6d2a2f2d5b609e924d9da3e5d044f7e2f5bd9b8 2137 heroes_0.21-14.dsc
 8693af81eaf13750d61a1adfca9d103f0a2dcc09 28652 heroes_0.21-14.debian.tar.xz
Checksums-Sha256:
 e9dd5402dad93c6f4074e6f05d9ed30070fba8a8bc97c898efd08bbee54a6433 2137 
heroes_0.21-14.dsc
 5a31faa91ee965e68e493a2c3082ff3b7b4f7f467e6fe259cbf39b8c25d4be61 28652 
heroes_0.21-14.debian.tar.xz
Files:
 0ca16a387cb6a476ab227535d685d5e1 2137 games optional heroes_0.21-14.dsc
 f8c9aa0e0a2dfed90c166301e99dde7c 28652 games optional 
heroes_0.21-14.debian.tar.xz

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

iQIcBAEBCgAGBQJW2v76AAoJEIDTAvWIbYOcmfoQAJD21xvz8U9JGDCUxxstwCY6
4PwYa9pEqOTuKOduXA37vnTN71jvR1PSKrCK9338LLyD9hrQTEhnYfEPfGTWVoWx
NluZniDhyrAcSyWTVgKGpC+O/7phFZft6cqqfS3iURYixqTX/4OpQulnI6rEfViP
ASwQ9qtOE0THJCvUqaTA5y/IxNdZW6JysB3dSjPK8iTehlMnV8UD2GSVsJFoV/nh
p+rSgex1rndN4YeeevYe8YZDwW6udwyfIsx42xbipk2a8rtESJSgbLL+b77cYMYv
SP0UdLNzKzOj0m2kzECnM9oj4Aqy7SQKNYOUNM5g1GeNLV+Ok2U3Mkf7Vf6yXFQz
DVAMCojgvmLWs0ambGeAAfNgaIeJ2TEdC/FLMjBEnCEZQ1CBKTHi/zRagrvGIXdO
fb+pKElnHApEpH76omXqfqG/8wlPBAe/mmL8FHDzBhMxFgLwrMItSQdKizByHxd/
kncHy/j7JSA/eaFByGQPStOK1xSSmA7XOBn/WqpAQzWw1Jko/jF1ciIpTdOj0JXO
HOED72+e9ogFjBqPpfncGECT49tK+ERUtM5u1kzbPKp6EAaP3HzXapDmwNaTHH2X
YxOEJvNLTGFNebYrdzzBFHP+XSnE+MMC2Tk5bVf/wBekbRcbhav4X3mWJfUnWxjS
fA48C2abe44Yen4hgJgV
=AZ2X
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to