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

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



Your message dated Thu, 20 May 2021 21:03:28 +0000
with message-id <E1ljppI-0004kP-Lx@fasolo.debian.org>
and subject line Bug#986562: fixed in debian-edu-artwork-legacy 20201210-3
has caused the Debian Bug report #986562,
regarding debian-edu-artwork-spacefun: leaves alternatives after purge: /usr/share/ldm/themes/default -> /etc/alternatives/ldm-theme -> /usr/share/ldm/themes/debian-edu-spacefun
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.)


-- 
986562: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986562
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-legacy
Source-Version: 20201210-3
Done: Mike Gabriel <sunweaver@debian.org>

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

Debian distribution maintenance software
pp.
Mike Gabriel <sunweaver@debian.org> (supplier of updated debian-edu-artwork-legacy 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: Thu, 20 May 2021 22:35:53 +0200
Source: debian-edu-artwork-legacy
Architecture: source
Version: 20201210-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Mike Gabriel <sunweaver@debian.org>
Closes: 986562
Changes:
 debian-edu-artwork-legacy (20201210-3) unstable; urgency=medium
 .
   [ Andreas Beckmann ]
   * Clean up obsolete ldm-theme alternative on upgrades. (Closes: #986562)
 .
   [ Wolfgang Schweer ]
   * Make sure the Plymouth theme is restored to the Debian default one in case
     the debian-edu-artwork-spacefun package is removed.
Checksums-Sha1:
 369840a31a950d8d2062640b9a9e8cf0eac49234 2246 debian-edu-artwork-legacy_20201210-3.dsc
 f60090dfb685928acdf79c3b6a312e72dd653350 5208 debian-edu-artwork-legacy_20201210-3.debian.tar.xz
 716c40a46568633b44536936f216f3e56a956c3c 14069 debian-edu-artwork-legacy_20201210-3_source.buildinfo
Checksums-Sha256:
 fb60a6f7a79d3bad3fbbf53403416fd15a7f446f4243ce1f4ceb0aa7ac98e7f7 2246 debian-edu-artwork-legacy_20201210-3.dsc
 8c69308eb98225da774bc269fa6c25c28bfa66a563dbe28596ceb8840c5c4296 5208 debian-edu-artwork-legacy_20201210-3.debian.tar.xz
 e35d36a5c1e6225205efb0915b29e30419d39f6b6967b3aec6b3053d09ec7a40 14069 debian-edu-artwork-legacy_20201210-3_source.buildinfo
Files:
 8fd67243a0f1002d10db71f324ebc1f8 2246 graphics optional debian-edu-artwork-legacy_20201210-3.dsc
 7adae1c347b4231dc146b0c68fbe77b6 5208 graphics optional debian-edu-artwork-legacy_20201210-3.debian.tar.xz
 5d11d546ad9a20816b72f39b5621f864 14069 graphics optional debian-edu-artwork-legacy_20201210-3_source.buildinfo

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

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmCmyUYVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsx83EP/3LctCVJ3Si/spCWz7Ffz++nJe4r
HpSvqJoCjTsrajuwc8cTmgd/R/g0XwgGTFt+JItJL+r9sv45LbmkAIRSufEetw+6
qvUb0CjRgFF+Spn/muc0xV9ieKav7YzfoXNLHYSVpSzgaJB6s+s36oybH5MGWUXf
ITMUFtTuZcIjiY8+ANKo8Ha2pLtJtaTv41n04mNAO7rHRz421GIHZuefDF013n+Y
oqY/Mbhix8n43x1lMA0veSnsPA+4NvCDigf5s3mzJ8T0qGwsLMy4JuyCOgiaCPMM
8He0pOb/oEl39lr7yO8Jw2ghEy5Qb4qw1RlLchBI1IBu3Vcrq/w9NRpuz2QW48Jn
b44dVc1D9cBkxLhkc+hSpB8b5TtzkctLkHdZKQmArvWPJyGX41ZxdlW/WCNroltC
8I3ZNEgp62Glxjs3p4jyZeQt5k9KxRVjSmM8CxhnULSSRYCbIzuEblbWpDP1yjQ2
+MhOW5bWASTKQzRJMsNj6CmTCqiMOA80/IEwfiIxjrQFAIoHVPMhKpFmpVJqyDPv
jZ38iMrrOC36yl/rIKh8WxDQ3mgz80n3ATq2NDW15BJTDDxmjYu/krcMrTAp1I92
wgLuCy/ul2yyiOzzaE+H8Tk3GbpVTUJ4Lg4ZFeI0zQV9BSTFt615vzEXfEBYttnS
Yg4RbgjC6L2AnsVX
=f1ie
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: