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

Bug#985267: marked as done (desktop-base: leaves alternatives after purge: /usr/share/desktop-base/active-theme -> /etc/alternatives/desktop-theme)



Your message dated Sun, 21 Mar 2021 22:03:26 +0000
with message-id <E1lO6AQ-0006Ii-2E@fasolo.debian.org>
and subject line Bug#985267: fixed in desktop-base 11.0.3
has caused the Debian Bug report #985267,
regarding desktop-base: leaves alternatives after purge: /usr/share/desktop-base/active-theme -> /etc/alternatives/desktop-theme
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.)


-- 
985267: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985267
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: desktop-base
Version: 11.0.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...):

0m37.3s INFO: Warning: Package purging left files on system:
  /etc/alternatives/desktop-theme -> /usr/share/desktop-base/futureprototype-theme	 not owned
  /usr/share/desktop-base/	 owned by: desktop-base
  /usr/share/desktop-base/active-theme -> /etc/alternatives/desktop-theme	 not owned


cheers,

Andreas

Attachment: desktop-base_11.0.2.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: desktop-base
Source-Version: 11.0.3
Done: Aurélien COUDERC <coucouf@debian.org>

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

Debian distribution maintenance software
pp.
Aurélien COUDERC <coucouf@debian.org> (supplier of updated desktop-base 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: Sun, 21 Mar 2021 22:35:17 +0100
Source: desktop-base
Architecture: source
Version: 11.0.3
Distribution: unstable
Urgency: medium
Maintainer: Debian Desktop Team <debian-desktop@lists.debian.org>
Changed-By: Aurélien COUDERC <coucouf@debian.org>
Closes: 983884 985267
Changes:
 desktop-base (11.0.3) unstable; urgency=medium
 .
   * Make Debian logo and text darker on GRUB backgrounds to avoid grub’s own
     text being unreadable on top of these. (Closes: #983884)
   * Also remove futurePrototype alternative for desktop-theme in prerm
     maintainer script. (Closes: #985267)
   * Fix Name metadata for homeworld theme’s wallpaper.
   * Also fix plymouth text display in multi-screen configurations for previous
     themes: futureprototype, joy, lines, moonlight, softwaves (fixes more
     cases of #956426).
Checksums-Sha1:
 c0f3c0d32393ccfea74ff89dd1784f721a05bb46 1892 desktop-base_11.0.3.dsc
 6e4386fda82eb0c653ed8ca7ff63db17d3837e12 2707448 desktop-base_11.0.3.tar.xz
 02ce1ea12712d107b5246e5a963b0af1b4fc8d10 6768 desktop-base_11.0.3_amd64.buildinfo
Checksums-Sha256:
 8f59bf0a02c9b55a2db8e0f039165d573b0ac51bf2d2c629a6e6924c9bdd94d2 1892 desktop-base_11.0.3.dsc
 309fc72c7d8e0c7844300be0644dfbb70119b717f6ec908ecefa2753bcf02e60 2707448 desktop-base_11.0.3.tar.xz
 9f6a8aadeacaf2fe60a042cf6035cb7ff2c566cbe075f323899e01a45f0f9a3b 6768 desktop-base_11.0.3_amd64.buildinfo
Files:
 51fd3d23e1abc6b00ebc7b4963c8e3b4 1892 x11 optional desktop-base_11.0.3.dsc
 33d2299990c3a0cea9362a23bdadad4d 2707448 x11 optional desktop-base_11.0.3.tar.xz
 f3b7e144c60188482654ec4202ca43b1 6768 x11 optional desktop-base_11.0.3_amd64.buildinfo

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

iQJHBAEBCgAxFiEEIW//QAAaDgcOKDsfcaflM/KRoyQFAmBXvFYTHGNvdWNvdWZA
ZGViaWFuLm9yZwAKCRBxp+Uz8pGjJPEOEAC+3zyLqond2yW77gBN1QT9XHUtcCD2
1E4UDs3Wje6KiSIGHlboxl9NW5JYWvLvMWQ6EnyPz8/fjUH/tdSQtyCwEVFvHL9M
5R011fvnKu9uHek2BFhXy/3eCw9u2hi0iDSIuDUCND1ztethuTKPWiDEyc5+Q5rI
N+gIvbZsdRjGrS+07nefEudnG4nQAPeg+mnveqvKao4dIldgDnTwKUy5Qvisz5tO
FBaTSZvCELnllTuAQapuj6QK1FmKJomp5Et0asCbdKRT+qOd2utTxUzdNTX78td4
L0G3EW0hMCJZsKgMGp1K7eHIU/WcguPDWTKBxsCfniKmGuTSgVNfpL6d8V8kok3m
1euNN/gIburI4dLCjP3MaLJoIZI/CWu2PdOUd6U5YOXaKVdSjGLHHMIX64WxVQG+
6UNCvBZYeQUCLhaHkQQpIweReyTlXMRSremgWocHSSur+cV6TUGjEZOkbQg9kVnx
31D58M7KJxUPnrHdcTwxWU9J14PXEj5v4PNJAu18wEIkXFOQuY9IXPbt8xcbaKj7
d4HwzEXiLg/Nk1s3LfZ3XV/dK7KcQHYjcTp3UAf9FZCSXze4LhdVVLTCgyo4Vt6Z
ikeQU0pxm4aHlptBWRtI3owFbQbNQKDbgSGs5rxSM6n881RMz0G0RHwcPkyKy8dF
qzdR6J50mLsxXA==
=Cx4U
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: