Your message dated Mon, 23 Jan 2017 16:49:32 +0000 with message-id <e1cvhoc-0005h0...@fasolo.debian.org> and subject line Bug#842077: fixed in python-wheezy.template 0.1.167-1.1 has caused the Debian Bug report #842077, regarding python{, 3}-wheezy.template: leaves alternatives after purge: /etc/alternatives/wheezy.template -> /usr/bin/wheezy.template-python2 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.) -- 842077: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842077 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: python-wheezy.template,python3-wheezy.template Version: 0.1.167-1 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...): 0m50.3s ERROR: FAIL: Package purging left files on system: /etc/alternatives/wheezy.template -> /usr/bin/wheezy.template-python2 not owned /usr/bin/wheezy.template -> /etc/alternatives/wheezy.template not owned 0m53.4s ERROR: FAIL: Package purging left files on system: /etc/alternatives/wheezy.template -> /usr/bin/wheezy.template-python3 not owned /usr/bin/wheezy.template -> /etc/alternatives/wheezy.template not owned cheers, Andreaspython-wheezy.template_0.1.167-1.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---Source: python-wheezy.template Source-Version: 0.1.167-1.1 We believe that the bug you reported is fixed in the latest version of python-wheezy.template, 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 842...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Andreas Beckmann <a...@debian.org> (supplier of updated python-wheezy.template 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, 18 Jan 2017 17:00:54 +0100 Source: python-wheezy.template Binary: python-wheezy.template python3-wheezy.template Architecture: source Version: 0.1.167-1.1 Distribution: unstable Urgency: medium Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org> Changed-By: Andreas Beckmann <a...@debian.org> Description: python-wheezy.template - a lightweight template library (Python 2 package) python3-wheezy.template - a lightweight template library (Python 3 package) Closes: 842077 Changes: python-wheezy.template (0.1.167-1.1) unstable; urgency=medium . * Non-maintainer upload. * Add prerm scripts to clean up the alternative. (Closes: #842077) Checksums-Sha1: 5c4e0b25f8d9016ea5a6262b8f74319e18b6cae4 2279 python-wheezy.template_0.1.167-1.1.dsc 4e873e5acdab75b1ab90c772ede4f8ee0477241f 2416 python-wheezy.template_0.1.167-1.1.debian.tar.xz Checksums-Sha256: 981565232d4f33b744c9e3e8a287d5689fcf5ba557d60cde651bf6c8489bb5ee 2279 python-wheezy.template_0.1.167-1.1.dsc 42382bde047446ea07879b0cd14f396820b88cb3236892e5a8260144ee555b43 2416 python-wheezy.template_0.1.167-1.1.debian.tar.xz Files: 0c3bbfc60ed8f7b8229e58fb24e56104 2279 utils optional python-wheezy.template_0.1.167-1.1.dsc d76791f169d17b265394dd6162b5514c 2416 utils optional python-wheezy.template_0.1.167-1.1.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJYf5UvAAoJEF+zP5NZ6e0IpXAQAIvuB7WW8KjYlXrxZRkT2WQd mT1rc9tw5YcOKN5DsN7ucP17otH+8D1WLhiBHPl6T5+PECwdjscAFxhws4faP+0R B43LLpRqFZF7D/lfGLjIGZbkIuG6otyqKB0G8H2q/+N4TY4begrH4ET/9fgWyoOA eFw3biC+wrIZB3xP7My+LyhP7/kZrxaURtjMudECvdX79B0yozJQPAShgjOEXfTs F4JwpqBfrhRcd7TsGoqm1hhApkJukAbyQWuTIPb3Hvq+gNaVXicxIz37+vl9VW6J dY0SPmG8ndBiUxNXKMsTi7o+hUFoyXjV8RNl8mHCg9R9BfBqdoNkjXXfnq3L2R3y 00GOed5erLdnWSatlCyfO2Rf8sqMBrEY3jA8eaUl7Ift8TnonRsMrmSvKx5eW/gi gMBf76ueGAa8LXwE3XACNtwMDosvmNpOZwup9ZIxs6+ExlEhLSGoMVmImglPjWPY /pqNZT0VuWKySAxW5LGfKufEXCC0Ko/WmyIiz8a7K+6s6gsgeul5xhRhEnv9H4o3 uH4OBg9pekVzzYe7rxVQHMSUJ4AVaCrNuSvlYU41omRo5NuCQUBbc+0NPXNaL2Jn csmq2OSsCeXjLt8llfJJNzgvEFHRVG643Y3jqX7JUtEb5/JJ8fmWFz7zvANcj9m0 mbnxmpn28Mbex2tuXUlM =4hdw -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team