Your message dated Sun, 07 Mar 2021 13:33:26 +0000 with message-id <e1litxc-000btb...@fasolo.debian.org> and subject line Bug#983888: fixed in adios 1.13.1-28 has caused the Debian Bug report #983888, regarding python3-adios: leaves alternatives after purge: /etc/alternatives/python-3.9-adios-@MULTIARCH@ 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.) -- 983888: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983888 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: python3-adios Version: 1.13.1-27 Severity: serious 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#details-of-removal-and-or-configuration-purging 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>'. >From the attached log (scroll to the bottom...): 0m33.2s INFO: Warning: Package purging left files on system: /etc/alternatives/python-3.9-adios-@MULTIARCH@ -> /usr/lib/python3/dist-packages/adios_openmpi/adios_mpi.cpython-39-x86_64-linux-gnu.so not owned /usr/lib/python3/ owned by: python3-adios, python3.9 /usr/lib/python3/dist-packages/ owned by: python3-adios, python3.9 /usr/lib/python3/dist-packages/adios_mpi/ owned by: python3-adios /usr/lib/python3/dist-packages/adios_mpi/adios_mpi.cpython-39-x86_64-linux-gnu.so -> /etc/alternatives/python-3.9-adios-@MULTIARCH@ not owned The package creates an alternative with an unsubstituted '@MULTIARCH@' in its name, I don't that that was intended. This broken alternative needs to be removed by 'postinst configure'. cheers, Andreas
python3-adios_1.13.1-27.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---Source: adios Source-Version: 1.13.1-28 Done: Alastair McKinstry <mckins...@debian.org> We believe that the bug you reported is fixed in the latest version of adios, 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 983...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Alastair McKinstry <mckins...@debian.org> (supplier of updated adios 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, 06 Mar 2021 16:35:45 +0000 Source: adios Architecture: source Version: 1.13.1-28 Distribution: unstable Urgency: medium Maintainer: Alastair McKinstry <mckins...@debian.org> Changed-By: Alastair McKinstry <mckins...@debian.org> Closes: 983888 983962 Changes: adios (1.13.1-28) unstable; urgency=medium . * postinst/prerm: Ensure generated tags correct. Also cope with situation where supported python changes between install/removal. Closes: #983888 * Change condition to support gfortran >=9, not just <=10. Closes: #983962 Checksums-Sha1: bc5bf9eb9433fc80c750f2915ab9e5bc58f6675c 3066 adios_1.13.1-28.dsc 7a182aedd2d5c42d0dad23b03fa12d7c132eb69f 23936 adios_1.13.1-28.debian.tar.xz Checksums-Sha256: b2085c3899ecc44f86ae0e79ac1e1138399677c131e02fcbbf0fe69c1c04773a 3066 adios_1.13.1-28.dsc 7c00e797b74c8fa6fdc220594276c811e8bfa1561c0e7d600d6641c15d7f3b95 23936 adios_1.13.1-28.debian.tar.xz Files: c349a9fb0a3f1c7a09d550c7c8168618 3066 science optional adios_1.13.1-28.dsc 2cf15234cebef1b4aea96f33e785c3ae 23936 science optional adios_1.13.1-28.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmBE0HUACgkQy+a7Tl2a 06UcFQ/+PrKrQSTUyG0DX5dEB67FslVxLwXInMIoGzLUEdpYdgA39QHAgegdouQn 5JnBJsp8pFGZfpU9kWuvbzLoyJVedkrCgzVoEIIYKxalftDJ5YGldLV9GpejVbps CkwPD/FlvfqOQygi9e79pvGOYdZ8V8jNQttlqAVjxhdT3csFUA8cOZSx7+LSWzns ar1q6oR5eC6NSYfcO5ExYK+XGsxuuMvoWtwOGrV8uftjf/R5xsFMQdiwf5NEnvw1 SDDOxY7lbllyB5MKY7rB3HnJ/uOEX8jynSYl2ZYzAo/w2Q0DDdumN36yePAKQ0X/ /mL500Q5+vrjHAcoQf9Dnzi+xY9BEiA7Q9B2TDxD3LQXmz9xsJVMsme/14nk79rr YbKDx8DpxMMe2vG2r7FW7d0FtznUDu2rrYFtuosk+t6cXcTuaC7paM0NqAC2k6/M qkIqFAItuNOj35ELxHjIBuMdP88oFu07ZCW4OgRK2NxoiWWNfPB3+pB9kN8vj3vl H7fYIZ7u6G1Go6NdH+jOg1aoXK2xyi/TpkWDjRjE48QLRJKxMCLoD94cTHRMsPiG KijM5r3/BiXwhX7m15KiZA2Qo06K7GxeJWwXOsFcYn+fSzaEA9ZcuFXtzUVBqEn3 9BSBCJCZs3u0TeejpsXKoRPA79BMSx+DCn80Z/3PzB8Mae7dblU= =1WnD -----END PGP SIGNATURE-----
--- End Message ---