Your message dated Thu, 30 Jul 2015 04:33:59 +0000
with message-id <e1zkfxb-0003zz...@franck.debian.org>
and subject line Bug#792849: fixed in kwin 4:5.3.2-3
has caused the Debian Bug report #792849,
regarding kde-window-manager: leaves alternatives after purge: x-window-manager 
-> /usr/bin/kwin
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 ow...@bugs.debian.org
immediately.)


-- 
792849: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792849
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: kde-window-manager
Version: 4:5.3.2-2
Severity: important
User: debian...@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#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 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...):

4m39.2s INFO: Warning: Package purging left files on system:
  /etc/alternatives/x-window-manager -> /usr/bin/kwin    not owned
  /usr/bin/x-window-manager -> /etc/alternatives/x-window-manager        not 
owned

This was observed after an upgrade from stretch to sid.
If the alternative is no longer used in the new package version, it
should be removed during 'postinst configure'.


cheers,

Andreas

Attachment: kde-window-manager_4:5.3.2-2.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: kwin
Source-Version: 4:5.3.2-3

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

Debian distribution maintenance software
pp.
Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> (supplier of 
updated kwin 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 29 Jul 2015 16:43:28 -0400
Source: kwin
Binary: kwin-dev kwin-common kwin-x11 kwin-wayland libkwin4-effect-builtins1 
libkwineffects6 libkwinglutils6 libkwinglesutils6 libkwinxrenderutils6 
kwin-data kwin-dbg kde-window-manager
Architecture: source all
Version: 4:5.3.2-3
Distribution: unstable
Urgency: high
Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Description:
 kde-window-manager - transitional package for kwin-x11
 kwin-common - KDE window manager, common files
 kwin-data  - KDE window manager data files
 kwin-dbg   - KDE window manager - debug files
 kwin-dev   - KDE window manager - devel files
 kwin-wayland - KDE window manager, wayland version
 kwin-x11   - KDE window manager, X11 version
 libkwin4-effect-builtins1 - KDE window manager effect builtins library
 libkwineffects6 - KDE window manager effects library
 libkwinglesutils6 - KDE window manager gl utils library
 libkwinglutils6 - KDE window manager gl utils library
 libkwinxrenderutils6 - KDE window manager render utils library
Closes: 792849 793026 793997
Changes:
 kwin (4:5.3.2-3) unstable; urgency=high
 .
   [ Maximiliano Curia ]
   * kwin-wayland: Add qtwayland5 dependency, for the wayland qt5 plugin.
 .
   [ Scott Kitterman ]
   * Urgency high for RC but fix in testing
   * Remove obsolete kwin alternative and add new alternative for kwin_x11 so
     kwin will work as x-window-manager (Closes: #792849, #793997, #793026)
Checksums-Sha1:
 4801d55f1d92f8dfd91245fa3df7cdc6c0e27e82 4207 kwin_5.3.2-3.dsc
 62cf8b74dedefe62cbceef293b9a75bc57b2a82f 15812 kwin_5.3.2-3.debian.tar.xz
 2450f81332b97d36c353cb86e3a2d7120c303b36 7710 
kde-window-manager_5.3.2-3_all.deb
 3bfca947680a5caad7be8e0b1e4ad5591934c974 2903160 kwin-data_5.3.2-3_all.deb
Checksums-Sha256:
 ab02a1c1e049214bbf5ffefc3bb69555269972df150c90fe4e5e6ff09e6f3cc0 4207 
kwin_5.3.2-3.dsc
 b8fed5f684ec8fdce1f7dd56fe80b221e39b43f57d2535c4069c420212c5fb3b 15812 
kwin_5.3.2-3.debian.tar.xz
 cae86d12511470045b810b167973954b99f753531b657b81e6cf2b5a1e95d1fe 7710 
kde-window-manager_5.3.2-3_all.deb
 d6ebff8a8567650019124c8d4f7d6ed08ea463ec44e92d66bf6af527c9da06d2 2903160 
kwin-data_5.3.2-3_all.deb
Files:
 ef28c78bca88e45a118eb3f9336149c9 4207 kde optional kwin_5.3.2-3.dsc
 4cb7f7f5d3cbaf82639b64b2751c786c 15812 kde optional kwin_5.3.2-3.debian.tar.xz
 1e895b86e39817b2981e0fe971598cfb 7710 oldlibs extra 
kde-window-manager_5.3.2-3_all.deb
 600fa14423841803d95253ff893c6277 2903160 kde optional kwin-data_5.3.2-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVuaVxAAoJEHjX3vua1Zrx52YQALCsafnF7088mFxdlnwYzx4T
2XYNPEKD1vGgGD8e3IEnBgAGVCO8P9hlt5Y5gcskVjxyKyELV25D6UKF4nVVHs0X
wWlSuUMmIgZdGU/REO4P1Ik4zZqtTsw7VqsjPWy45sS5C+7tqRnxk0wuw92Qwgex
m9CzOJ2nOHeXYHtYMFbob/ijyFMlK9JiJl5GCYANb8B5tiYS/B9HC/kgqhCFP+5K
NQFRaWOTn+qunVNRBhfqle8eEAvojUZnoU0thkz4yqrQvpYvh2iXX629kU1w4JeP
ZfdjI9Knpalrj3QQDy/lEcwh99NC6i94hkdvmWXkx38C05Wr5V3N3HuS83rMiZcD
prL6zpGubpTYqgmlV0F7a++rDpdW5UDorYGEsLBiFUZa2iYUMpFvmq0gFRb4pOF5
LZJYpi5LdLO26Y/j1BKhyPA74LiEkeFM672YyJoL+EeUFjj1z5tclo8ZOKPjV9JO
MSd1f3sGRgWe/oNXRxPlTaCJ8Hnkjxq7wR+A2U8ybFRyBGgJMxYXYVFO3swq08iX
rmGDq9fxQuJCL+/FoFZGtHo+yCFNWwm7QOfJOo0gmRriXC1OlPhK2v2sUn6b2/vn
0rNIho3HC+7smhDQTGTznbzzxTAPjgEw0mRDJp/EeUvn/kwp+pnRj1siekoIJgWc
AHFfHPGBAWNvaZUrfvrt
=6qbY
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to