[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 Sat, 20 Jul 2013 18:33:07 +0000
with message-id <E1V0bxr-0002Jy-Ag@franck.debian.org>
and subject line Bug#716863: fixed in debian-edu-artwork 0.42-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.42-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: Sat, 20 Jul 2013 20:04:01 +0200
Source: debian-edu-artwork
Binary: debian-edu-artwork
Architecture: source all
Version: 0.42-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.42-1) unstable; urgency=low
 .
   * Add new colorful shiny artwork from Christoph Muetze in
     art/playground/wheezy.
   * Update all artwork based on the sources in art/playground/wheezy.
     (Some previews / screenshots are still missing.)
   * Bump version number to indicate package is somewhat mature by now.
   * debian/update-artwork: fix update-alternatives removal call in
     restore_desktop_background(). (Closes: #716863)
   * Fix typo in debian/copyright, thanks lintian.
Checksums-Sha1: 
 515586388e6d88aed06aab63d1d88287c82ef456 2011 debian-edu-artwork_0.42-1.dsc
 ff54a4df0db34c15ca9b95801dcdf0213ac080d6 45978184 debian-edu-artwork_0.42.orig.tar.gz
 d2e82e4e2882589c64614e079b436aa683446f66 13984 debian-edu-artwork_0.42-1.diff.gz
 6bd3e527a3652b6cadb79e5f9bb952aa277a3d26 16502532 debian-edu-artwork_0.42-1_all.deb
Checksums-Sha256: 
 3a6c96f8b4aef0fca310d7711e70e84e7108af35407ee742c12849ae2735b2f0 2011 debian-edu-artwork_0.42-1.dsc
 fad7e5317e3f219e3a8d90ddeeca93bd2fef47e0f706d4d112a0bd09d827c7ec 45978184 debian-edu-artwork_0.42.orig.tar.gz
 1b2b2a4d6970bbddecd58bd4f75dd0feeacbb4b65963c80900eef197d9b0d1d7 13984 debian-edu-artwork_0.42-1.diff.gz
 e5759c6ce46835f131f2d69455c2add6a451f0e194432fad35c4b09f0d0d245d 16502532 debian-edu-artwork_0.42-1_all.deb
Files: 
 8c46bb5bfa0da2752ed6eba21df2fdee 2011 graphics extra debian-edu-artwork_0.42-1.dsc
 2877fa5bdb76ebe47597dd1dc123ebe6 45978184 graphics extra debian-edu-artwork_0.42.orig.tar.gz
 b0a22e06d0d19c77ad4faf36f17512a5 13984 graphics extra debian-edu-artwork_0.42-1.diff.gz
 eb6f3859f62c60b5c85b4e8d08d3b81e 16502532 graphics extra debian-edu-artwork_0.42-1_all.deb

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

iQIVAwUBUerTkgkauFYGmqocAQij2w/+I9zlExZYLVtkd/hN5jQ0YsaKf2jJPxqc
KlC7bepf2KeSwCnbA+9eWhgana3mSQ78goI4VQuo/iaT9dfc6GmB7IcVkl+fkWzl
WQe0gQrPKndHZz6y/P5/IsC5lat2NfKW+2c35DLjlFMfnJ7dsTF5bEuqbOnWcHSe
IZBDdc4UEThmb59YYn5UnE/3h7mms+BYfrkTbsetSSTpDeOTJNo98eN2IPQFN9au
g+8dbBCK+e2mpMcnySAtKXU86zKGEMk0bu+rFOrLMmEC103N+WYkVdDR+yY8osCp
8QHeeduUN3FFsYIQpGLtXidUw33nCWl0gLJqfk0b++dsCCGdBnqlFjfNQk/HjZ6L
gRnkeCU2dbEaDdHvuTHEkHcjg6vGD1rezNuVcbl5dsrTSoxkEsRu1TRWbCp52O+n
rat7j/TkhJp50XE658CBk8KH79JfUPT3hENQDPRko53CfCJ1Yzfa14Qsd7PYgEKg
mZvpLrHE+DXxUBXj71K0XRBLo5/o0Fy2BbHbhXHNhl/iPEdQTyqSG3inaUxLJZSI
J9hkiR0+eQWE9pA6xu+jYXPdURdEWxaYiAXkh2/PFI1DNzEW2uBDzaF/SxoZ7OOK
ze/Eh6PGCJ+76xL2jHMBI3JCJrDdSTz3ZUMIfxGdSe1Ev4d/8HQROpMfihJSpDSy
WBNwacGOYL8=
=3dFt
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: