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

Bug#716863: marked as done (debian-edu-artwork: leaves alternatives after purge: /etc/alternatives/desktop-background)



Your message dated Sun, 14 Jul 2013 15:18:49 +0000
with message-id <E1UyO4X-0001k5-ML@franck.debian.org>
and subject line Bug#716863: fixed in debian-edu-artwork 0.0.41-1
has caused the Debian Bug report #716863,
regarding debian-edu-artwork: leaves alternatives after purge: /etc/alternatives/desktop-background
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.)


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

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

0m41.6s ERROR: WARN: Broken symlinks:
  /usr/share/images/desktop-base/desktop-background -> /etc/alternatives/desktop-background
  /usr/share/images/desktop-base/default -> desktop-background
  /etc/alternatives/desktop-background -> /usr/share/images/desktop-base/debian-edu-wallpaper01_1920x1080.svg

0m43.8s ERROR: FAIL: After purging files have been modified:
  /etc/alternatives/desktop-background -> /usr/share/images/desktop-base/joy-wallpaper_1920x1080.svg	 not owned


cheers,

Andreas

Attachment: debian-edu-artwork_0.0.40-1.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: debian-edu-artwork
Source-Version: 0.0.41-1

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 716863@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: SHA256

Format: 1.8
Date: Sun, 14 Jul 2013 16:57:48 +0200
Source: debian-edu-artwork
Binary: debian-edu-artwork
Architecture: source all
Version: 0.0.41-1
Distribution: unstable
Urgency: low
Maintainer: Debian Edu developers <debian-edu@lists.debian.org>
Changed-By: Holger Levsen <holger@debian.org>
Description: 
 debian-edu-artwork - Debian Edu themes and artwork
Closes: 716863
Changes: 
 debian-edu-artwork (0.0.41-1) unstable; urgency=low
 .
   [ Petter Reinholdtsen ]
   * Remove Morten Werner Forsbring from uploaders.  Thank you Werner for
     all your good work.
 .
   [ Wolfgang Schweer ]
   * Replace svg file with aspect ratio 5:4 (1280x1024) with another (fake)
     one working correctly with both GNOME and KDE.
   * List this file once again in debian-edu.xml.
   * Add update-alternatives removal for desktop-background. (Closes: #716863)
Checksums-Sha1: 
 7d7131a3bebc23d850d757a79bca1cacf07cc877 2025 debian-edu-artwork_0.0.41-1.dsc
 60fbd9ae29c91a67352d56f47f17b7309821d0f4 35038484 debian-edu-artwork_0.0.41.orig.tar.gz
 458e32b0fc2fe9fd7e2a17b226c74074a7c5c8e8 14047 debian-edu-artwork_0.0.41-1.diff.gz
 5520fd42021245ec1a2bc97b7817d777d2d0d7f8 11057232 debian-edu-artwork_0.0.41-1_all.deb
Checksums-Sha256: 
 93631dd5785f48c45505842714325351878d40fdd96cd1ef6fcea4f7b71bfc23 2025 debian-edu-artwork_0.0.41-1.dsc
 6dbd431b345ef63da6acd3a64cd7ce848787e49367545a22bb5877f8219f3804 35038484 debian-edu-artwork_0.0.41.orig.tar.gz
 535aec668a0e3b4a05703e14e25c9702045c084e8f62bcef9671941ae80a0cf2 14047 debian-edu-artwork_0.0.41-1.diff.gz
 a3adbad81f42c115c84a4b5a2252f8176b06d7caa31b2cd912f211c240de833a 11057232 debian-edu-artwork_0.0.41-1_all.deb
Files: 
 1b7a42a099d8ef135a18d04945594c50 2025 graphics extra debian-edu-artwork_0.0.41-1.dsc
 25a151e6dd21935c93c1861d5bd00ba5 35038484 graphics extra debian-edu-artwork_0.0.41.orig.tar.gz
 cfe394989e46266cd2c8c136904dfff6 14047 graphics extra debian-edu-artwork_0.0.41-1.diff.gz
 8eb25223529961f37f7e2ec2e5934584 11057232 graphics extra debian-edu-artwork_0.0.41-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIVAwUBUeK9qgkauFYGmqocAQj7XBAAiPlwilO0KgtcptpJSxBkgIAjL+KNK8gl
Jpzn5qSB+IZ6PdScgvAQmVuu3q6IsnL2+b6E4HD0xo2oGqAZFQiq1872nUmMG7s7
x8k+6e2k8srclFaomeMV3b7/D88Xgq6X4jOE3rg99gdu3Xsrsa8EFis3BFQI31gO
YO9bHkDT6gDmknIgxA0XBVYZNRIgr4FjyCcajWW+NP48phhc5oTe9nwJq1GmIzs2
Qnx04+rO7NaOnSm3138E6mUWILdrWVrxdIhn3J4yKA0JgHL2iY1MVn3VnEKFJOXO
QtXes81lfdq8VaZJdXTIUCWTXuNQNWnUsAjvbdqZePo3h03pj3lkLxkmPPZtbKns
mlRjibVXXz8bTGwu/Qheb5Qy2vvWQSzXwDI9lz81zmpTZZJlYtonyMrcINwVodZ8
FLCt2+Qj2xivsv8TV3XCvvNAglp3CF6s+qFCi/DKo5/BrI6cxD7eeQETAuS1SiGY
0TkV7A2i65J/4m7CvBQgTdE3sV1AsIY5o5vS2jc8L0h5kQ+fK4jb9KWdjDJkyIqp
nrawbCZVT8Y5R1bbFXkteNT5ysIRnXOBPe1cXDWb2jWueHUuzTLOEuRZcopmr/Ev
+Rz2hX4emLXLf9cnDhIoDw9poZW56wz1fnPDdXjJycMOCXvkl6DHXN0XqwnHi8a1
qoFb8h6MgGE=
=VmQX
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: