Your message dated Tue, 06 Dec 2016 18:18:27 +0000 with message-id <E1cEKJv-0008sS-5F@fasolo.debian.org> and subject line Bug#840843: fixed in dia 0.97.3+git20160930-5 has caused the Debian Bug report #840843, regarding dia: leaves alternatives after purge: /etc/alternatives/dia 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.) -- 840843: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840843 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: dia: leaves alternatives after purge: /etc/alternatives/dia
- From: Andreas Beckmann <anbe@debian.org>
- Date: Sat, 15 Oct 2016 15:42:44 +0200
- Message-id: <20161015134244.6423.86813.reportbug@zam581.zam.kfa-juelich.de>
Package: dia Version: 0.97.3+git20160930-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: 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...): 2m19.7s INFO: Warning: Package purging left files on system: /etc/alternatives/dia -> /usr/bin/dia-normal-integrated not owned This was observed on a jessie->stretch upgrade. cheers, AndreasAttachment: dia_0.97.3+git20160930-1.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
- To: 840843-close@bugs.debian.org
- Subject: Bug#840843: fixed in dia 0.97.3+git20160930-5
- From: Andreas Beckmann <anbe@debian.org>
- Date: Tue, 06 Dec 2016 18:18:27 +0000
- Message-id: <E1cEKJv-0008sS-5F@fasolo.debian.org>
Source: dia Source-Version: 0.97.3+git20160930-5 We believe that the bug you reported is fixed in the latest version of dia, 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 840843@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Andreas Beckmann <anbe@debian.org> (supplier of updated dia 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: Tue, 06 Dec 2016 18:31:00 +0100 Source: dia Binary: dia-common dia-libs dia dia-gnome Architecture: source Version: 0.97.3+git20160930-5 Distribution: unstable Urgency: medium Maintainer: Debian QA Group <packages@qa.debian.org> Changed-By: Andreas Beckmann <anbe@debian.org> Description: dia - Diagram editor dia-common - Diagram editor (common files) dia-gnome - transitional dummy package dia-libs - transitional dummy package Closes: 840843 Changes: dia (0.97.3+git20160930-5) unstable; urgency=medium . * QA upload. * dia.preinst: Clean up old alternatives. (Closes: #840843) Checksums-Sha1: ba4acc30d5d283af986693262c7488617600e5eb 2426 dia_0.97.3+git20160930-5.dsc 04ce5f7c58446271126c8d7950bceccdb06e8a44 22672 dia_0.97.3+git20160930-5.debian.tar.xz Checksums-Sha256: 353d95449b0eb8aa855ef2b0824bc5ada59eb197a8e9fd404226b5614bd18143 2426 dia_0.97.3+git20160930-5.dsc eb01ce7cb8652ac26c9eaf6fd72b021cbdafd5ffc3498d0b8d844b90c7a200c0 22672 dia_0.97.3+git20160930-5.debian.tar.xz Files: f5058f83e07dd764f20692838d94cd65 2426 graphics optional dia_0.97.3+git20160930-5.dsc f6a194538c30193d89c93a01cdf8e0fd 22672 graphics optional dia_0.97.3+git20160930-5.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJYRvuuAAoJEF+zP5NZ6e0IRCkP+wb5U2HWNnQ4vmaZvWK0LNnP dLOplxi/XcJu42z5fXWy97Yj8wyq0p8anMl3P7iujotlzuXk/iVh77puS/55Dw6Q fMmVgYxWl1IYUxZXD6VQ246YnnfRtcEYZ3aH8yb3zNuTZnJ1lhDaqw9PKPxZdzJx 12c0mjGZ2BlmO+IqrVmkLzntXX7miN2V57R2wxCp+Kvbvp9OuuB+FNMUjGUvPToZ eLkf8QNwQ/qqOoIlFc4eGKBx1NW7H6a5LMhoLOAScMSD/XlvcN5CtOLLnVjEEDmO 2EXCq4PM9dfu181q4bYEp5G9JLU3IzJE1olkGlobfAflV3s2DiuNqhyjrX1FkUev kSWPUnGlPVX5PUcxWkZf8FiuImv6k19KsxDQHjSCiuZ1mczrFdIY6f7rUEC552mC Q/meCbS8Okvr6AGgwJV1kjmME+VX6CiO2bHfURWksl01K0nfWO3YYL/7lM3A4u49 LqboNt+yI2KsVKEKB4RNajhw6neOZ/eZODiIgL2N73sb4/yfyhrp91Kz5tZZNDct rikmPFgs9jKrJXcnfrafwJO7i5LuqkaG83KRuO7o2eY8TAuYQT5VufLQ5eSpvQ0V DRmNywvZr+WfIWizHXY4zuRA0vzgSfkt++fqhiCaFmg3WpjJiw75JMLHlbnpWWsU OYyanpwu6EJ7YTr/fhNX =Wjfl -----END PGP SIGNATURE-----
--- End Message ---