Your message dated Sat, 15 Oct 2016 22:46:53 +0000
with message-id <e1bvxjb-00038x...@franck.debian.org>
and subject line Bug#840828: fixed in tigervnc 1.6.0+dfsg-3
has caused the Debian Bug report #840828,
regarding tigervnc-viewer: leaves alternatives after purge: 
/usr/bin/{,x}vncviewer
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.)


-- 
840828: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840828
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: tigervnc-viewer
Version: 1.6.0+dfsg-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...):

0m27.9s INFO: Warning: Package purging left files on system:
  /etc/alternatives/vncviewer -> /usr/bin/xtigervncviewer        not owned
  /etc/alternatives/vncviewer.1.gz -> /usr/share/man/man1/xtigervncviewer.1.gz  
 not owned
  /etc/alternatives/xvncviewer -> /usr/bin/xtigervncviewer       not owned
  /etc/alternatives/xvncviewer.1.gz -> /usr/share/man/man1/xtigervncviewer.1.gz 
 not owned
  /usr/bin/vncviewer -> /etc/alternatives/vncviewer      not owned
  /usr/bin/xvncviewer -> /etc/alternatives/xvncviewer    not owned
  /usr/share/man/man1/vncviewer.1.gz -> /etc/alternatives/vncviewer.1.gz        
 not owned
  /usr/share/man/man1/xvncviewer.1.gz -> /etc/alternatives/xvncviewer.1.gz      
 not owned


cheers,

Andreas

Attachment: tigervnc-viewer_1.6.0+dfsg-2.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: tigervnc
Source-Version: 1.6.0+dfsg-3

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

Debian distribution maintenance software
pp.
Ola Lundqvist <o...@debian.org> (supplier of updated tigervnc 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: Sat, 15 Oct 2016 22:42:51 +0200
Source: tigervnc
Binary: tigervnc-common tigervnc-scraping-server tigervnc-standalone-server 
tigervnc-xorg-extension tigervnc-viewer
Architecture: source amd64
Version: 1.6.0+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: TigerVNC Packaging Team <pkg-tigervnc-de...@lists.alioth.debian.org>
Changed-By: Ola Lundqvist <o...@debian.org>
Description:
 tigervnc-common - Virtual network computing; Common software needed by servers
 tigervnc-scraping-server - VNC server uses screen scraping of an already 
running X server
 tigervnc-standalone-server - Standalone VNC server
 tigervnc-viewer - Virtual network computing client software for X
 tigervnc-xorg-extension - X server vnc extension
Closes: 840828
Changes:
 tigervnc (1.6.0+dfsg-3) unstable; urgency=medium
 .
   * Vncviewer alternatives are now correctly removed at package removal.
     Closes: #840828.
   * Improved the debian/rules clean target.
   * Update alternatives gracefully handle non-existing files so the check
     is removed to ensure it is called in all cases.
Checksums-Sha1:
 98a3bb88397a58140f2f4a0b8323eec729fc8282 4425 tigervnc_1.6.0+dfsg-3.dsc
 434b9410869ed9394b3af5e6c17027141241d140 37412 
tigervnc_1.6.0+dfsg-3.debian.tar.xz
 4e5c9ae352d1dbaa79d325b4341243e57f4286da 63472 
tigervnc-common_1.6.0+dfsg-3_amd64.deb
 6cd68beeabd0247fdafa9ea92445a283f4a8e1da 182426 
tigervnc-scraping-server_1.6.0+dfsg-3_amd64.deb
 2c34ed0da4ff79b19756e327b3487c457187c484 967012 
tigervnc-standalone-server_1.6.0+dfsg-3_amd64.deb
 326300bcc079ee3c84db8489c8312eccfae7b949 202564 
tigervnc-xorg-extension_1.6.0+dfsg-3_amd64.deb
 0a5e425e02875877833e453b8603ee52541cce98 157274 
tigervnc-viewer_1.6.0+dfsg-3_amd64.deb
Checksums-Sha256:
 8115837ec383df4250789e1e021c8c76bc5473d651535a9c34b9f557907ef81a 4425 
tigervnc_1.6.0+dfsg-3.dsc
 1683dffce1fbc1821c4d19e2d33dd65278bb31d2a8868a811d7edd91237ed9e2 37412 
tigervnc_1.6.0+dfsg-3.debian.tar.xz
 3ad5e94fc06de2133014aeaf32f07559dea3199f2a32f1536811fc4b6b790219 63472 
tigervnc-common_1.6.0+dfsg-3_amd64.deb
 76d6c4a31e2238e27bb193e86c051b723db9f2c404f7b063a9a8681529369c6f 182426 
tigervnc-scraping-server_1.6.0+dfsg-3_amd64.deb
 98bf1c9f265697ac86ede155af655822e8147f94b679900a9bc1ec5ad6629915 967012 
tigervnc-standalone-server_1.6.0+dfsg-3_amd64.deb
 6f3cc3010f3789bf5d3338b97cc62d1d0e1f0fe9988c2450fa44445844843b7c 202564 
tigervnc-xorg-extension_1.6.0+dfsg-3_amd64.deb
 afe1e6f92638376e6de23a4e066a95c93d70db6ac381c18d2f2a0f23ac913ca2 157274 
tigervnc-viewer_1.6.0+dfsg-3_amd64.deb
Files:
 eeabc2a924916357d5c1fba007b61fd6 4425 x11 optional tigervnc_1.6.0+dfsg-3.dsc
 0fb68b9121d1b8378e2bf014317dabd6 37412 x11 optional 
tigervnc_1.6.0+dfsg-3.debian.tar.xz
 146a6b2f4030de31cfa49b7e88601b28 63472 x11 optional 
tigervnc-common_1.6.0+dfsg-3_amd64.deb
 77333b5fa6343d9b17baecebc5d12b13 182426 x11 optional 
tigervnc-scraping-server_1.6.0+dfsg-3_amd64.deb
 56af9bd725673f72c67024d2501b412a 967012 x11 optional 
tigervnc-standalone-server_1.6.0+dfsg-3_amd64.deb
 c6051e3c03afd6f950f55c35ccc57832 202564 x11 optional 
tigervnc-xorg-extension_1.6.0+dfsg-3_amd64.deb
 550d56b469fe3deb59c456430e7dc930 157274 x11 optional 
tigervnc-viewer_1.6.0+dfsg-3_amd64.deb

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

iQIcBAEBCAAGBQJYApteAAoJEF6Q3PqUJodv/L0P/3Ya/i//SzM9u3lCdFVeflui
Ml6N9FBwwqSezmIFoXIymuI854/LuVUa+B3UcGkt2cHbyl8i+R4BEPNxu5EnVgVY
w3VAsZhXQxt5uUr38E4QAWMdQQZK7/rOigZSH7Na+P9fFxXBVHO63jayNjmbqvZe
jx8pAhpLLEz+e4dbAxQaRBOjTesKor01s988n/VpLqaHn4l1tf8OxtgoGLxyQkDl
XReXNf1OGIw/zRFx5gSibrfNpR4icim//IGEH4nyP0eK+Y9IcI24aJ6h1czq0yaw
vJzkWcE2+O2/Md1fADgBrceVDI28bbRhSzwbivulwbkvsYjM9fqQs4CFu+baxUxQ
E4HRlq+P5v78BbMtepmdCyrA/dtrfgJSGVWomir8QRAf36TngOw9481j/1dcwJ+R
YD0h/1ZBFFAjSePGSMekLbIiYgLdFCjdg8C9nzBaXC/r/mhvkdU5K46mjO1g0jjx
Tb3fIHNoD0B6yIOJNjvzXHvbGcCQj3gEPJnnu0W6jCmM7Okl5t3K1y2aSuIIa0FF
xbDH6XaS/+Lh06hVm9VBOxdnPHQNKU0VuUErFCYoGw4G3XtyS5TK+v4tw7DyknvE
03TiPcKS7/wCxjV4qk66/SD7JoPRZVuyZtx2wXYHOrNCO75YGSRddK3TW56TbQuK
XhU6vjbesckBUrgew/zl
=4tMM
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to