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

Bug#986535: marked as done (debian-edu-artwork-buster: leaves alternatives after purge: /usr/share/ldm/themes/default -> /etc/alternatives/ldm-theme -> /usr/share/ldm/themes/debian-edu-buster)



Your message dated Wed, 07 Apr 2021 19:18:24 +0000
with message-id <E1lUDh2-000D0R-K2@fasolo.debian.org>
and subject line Bug#986535: fixed in debian-edu-artwork 2.11.5-3
has caused the Debian Bug report #986535,
regarding debian-edu-artwork-buster: leaves alternatives after purge: /usr/share/ldm/themes/default -> /etc/alternatives/ldm-theme -> /usr/share/ldm/themes/debian-edu-buster
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.)


-- 
986535: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986535
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-edu-artwork-buster
Version: 2.11.5-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:

https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#details-of-removal-and-or-configuration-purging

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...):

1m14.6s INFO: Warning: Package purging left files on system:
  /etc/alternatives/ldm-theme -> /usr/share/ldm/themes/debian-edu-buster	 not owned
  /usr/share/ldm/	 not owned
  /usr/share/ldm/themes/	 not owned
  /usr/share/ldm/themes/default -> /etc/alternatives/ldm-theme	 not owned


cheers,

Andreas

Attachment: debian-edu-artwork-buster_2.11.5-2.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: debian-edu-artwork
Source-Version: 2.11.5-3
Done: Holger Levsen <holger@debian.org>

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

Debian distribution maintenance software
pp.
Holger Levsen <holger@debian.org> (supplier of updated debian-edu-artwork 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: SHA512

Format: 1.8
Date: Wed, 07 Apr 2021 20:56:21 +0200
Source: debian-edu-artwork
Architecture: source
Version: 2.11.5-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Holger Levsen <holger@debian.org>
Closes: 986535
Changes:
 debian-edu-artwork (2.11.5-3) unstable; urgency=medium
 .
   [ Andreas Beckmann ]
   * Clean up obsolete ldm-theme alternative on upgrades.  (Closes: #986535)
Checksums-Sha1:
 1da508802099101834861ae2069a9aa666022a10 2502 debian-edu-artwork_2.11.5-3.dsc
 b85a3c128d1b42113648fa337cda4c0d2189f3ca 21956 debian-edu-artwork_2.11.5-3.debian.tar.xz
 3bf68df606594338519eb9e06e66d5c1b2fe4b10 13105 debian-edu-artwork_2.11.5-3_source.buildinfo
Checksums-Sha256:
 263e1e54664fbf2245c747c8ee0b662e6a85bc3e37e74c08db03a4f9096c8009 2502 debian-edu-artwork_2.11.5-3.dsc
 12cf825c5e9812126b848a360cffac4cc99378c096220d5a038250f86fd117a1 21956 debian-edu-artwork_2.11.5-3.debian.tar.xz
 ac2676769932f29d3f41cab749e7aba6e8e768bb7bceb883196dc2ed0889e398 13105 debian-edu-artwork_2.11.5-3_source.buildinfo
Files:
 68df5b2cf3cb464b88eb989675827eee 2502 graphics optional debian-edu-artwork_2.11.5-3.dsc
 221f855e7f76aa6ea6b2a1f869e03b2d 21956 graphics optional debian-edu-artwork_2.11.5-3.debian.tar.xz
 0f8c848116297cb9945b912757e05918 13105 graphics optional debian-edu-artwork_2.11.5-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmBuAPcACgkQCRq4Vgaa
qhyF/w//ccil+WjTQOey9K9zgaWurVDJNNfZ55YPkNW7tbmy71KAKm36BIq8cuR+
Ig5Bq0a811PsOWjgFJKUmu5bD/2/j//JDD/mANuLn9W3OE89QrwJmKL9b/9N+yF3
6dnerZvl8x0SZE2Nn3tl0JeFHzizqLT253nGfwA8LWHKSVn1JBbXTRaSYQZznLXY
si4k4tLVcjtLALgx2cEJqFHPRslAkl8m2eLz8YR7vYMz3k5dgkiOq5MXOatTbhCV
AfTchDBwKYnwzJijtXJGUE7uq7INeIlO2eJVVd6Ox9w1xq9acYlk/DP8pXi/v+AF
eavUeDzsgBH2JwDN8KEL3K9US8DoKr6xEevDx/0trVgwIClqWrJUejLillI/+JLH
kwv/17R1Yxnk3mRVirtZB46LrcUcS79AirI2BZ/tpPrvoOPdk9FudnSIQfgN0k5e
4bAkStoMyMv+YlfFRC2unzqyd6jFBRKA/zo0TO5CNet0EJ8ZFOjQhkYJrjJhQl3o
xd4ETavt6H7DYWfVcdrwrVTl+J7vzxpHWr7M6qCDq6EpEz5HPX+dCPRTFH54OedQ
z2qEeX1Q6Zz+dKPEQL0iFshN9RAx39AowfffgZSRQ4rbgBJaoNCUGP6zYcSpK19t
3ZZ1Qz0wF24wextv+etL9X7tnJWiDbC3LLpZ4Ctux1a/3PM1PYI=
=tRPW
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: