Your message dated Mon, 26 Apr 2021 17:04:08 +0000
with message-id <e1lb4ew-0008hp...@fasolo.debian.org>
and subject line Bug#986599: fixed in mpich 3.4.1-4
has caused the Debian Bug report #986599,
regarding libmpich-dev: leaves alternatives after purge: 
/etc/alternatives/mpi-<triplet>
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.)


-- 
986599: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986599
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libmpich-dev
Version: 3.4.1-3
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#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>'.

Filing this as important as having a piuparts clean archive is a release
goal since lenny.

>From the attached log (scroll to the bottom...):

1m23.8s INFO: Warning: Package purging left files on system:
  /etc/alternatives/libmpi++.so-x86_64-linux-gnu -> 
/usr/lib/x86_64-linux-gnu/libmpichcxx.so     not owned
  /etc/alternatives/libmpi.so-x86_64-linux-gnu -> 
/usr/lib/x86_64-linux-gnu/libmpich.so  not owned
  /etc/alternatives/libmpicxx.so-x86_64-linux-gnu -> 
/usr/lib/x86_64-linux-gnu/libmpichcxx.so    not owned
  /etc/alternatives/libmpif77.so-x86_64-linux-gnu -> 
/usr/lib/x86_64-linux-gnu/libmpichfort.so   not owned
  /etc/alternatives/libmpif90.so-x86_64-linux-gnu -> 
/usr/lib/x86_64-linux-gnu/libmpichfort.so   not owned
  /etc/alternatives/libmpifort.so-x86_64-linux-gnu -> 
/usr/lib/x86_64-linux-gnu/libmpichfort.so  not owned
  /etc/alternatives/mpi-c.pc-x86_64-linux-gnu -> 
/usr/lib/x86_64-linux-gnu/pkgconfig/mpich-c.pc  not owned
  /etc/alternatives/mpi-cxx.pc-x86_64-linux-gnu -> 
/usr/lib/x86_64-linux-gnu/pkgconfig/mpich-cxx.pc      not owned
  /etc/alternatives/mpi-fort.pc-x86_64-linux-gnu -> 
/usr/lib/x86_64-linux-gnu/pkgconfig/mpich-fort.pc    not owned
  /etc/alternatives/mpi-x86_64-linux-gnu -> /usr/include/x86_64-linux-gnu/mpich 
 not owned
  /etc/alternatives/mpi.pc-x86_64-linux-gnu -> 
/usr/lib/x86_64-linux-gnu/pkgconfig/mpich.pc      not owned

This was observed after a buster->bullseye upgrade.


cheers,

Andreas

Attachment: libmpich-dev_3.4.1-3.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: mpich
Source-Version: 3.4.1-4
Done: Andreas Beckmann <a...@debian.org>

We believe that the bug you reported is fixed in the latest version of
mpich, 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 986...@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 mpich 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: Mon, 26 Apr 2021 18:34:55 +0200
Source: mpich
Architecture: source
Version: 3.4.1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Andreas Beckmann <a...@debian.org>
Closes: 985394 986599
Changes:
 mpich (3.4.1-4) unstable; urgency=medium
 .
   * Team upload.
   * libmpich-dev: Fix maintainer script generation to restore missing
     alternatives.  (Closes: #986599)
   * mpich: Do not install symlinks or alternatives to missing manpages or
     pkgconfig files.  (Closes: #985394)
Checksums-Sha1:
 f6866195716ad9872a0fe9a822b691fc90e5f5b9 2727 mpich_3.4.1-4.dsc
 036ce564237ad0e44292f4c43d8740e9c29746b0 344876 mpich_3.4.1-4.debian.tar.xz
 509c7f87b3c5ca398d3bf042ee33e01c3b4b7f7f 7652 mpich_3.4.1-4_source.buildinfo
Checksums-Sha256:
 c040ba6e40e8a56a76518eca874fe42cb326c9db885c09bc2c816bddf05f63f2 2727 
mpich_3.4.1-4.dsc
 fa65dc24a8c3c3c3a67320418f5494a225aa494723232e783c5c9ae9a279af9d 344876 
mpich_3.4.1-4.debian.tar.xz
 f852b3948591cd526f3b853a3b5a72834cd4f3e26cc6c64238dc83dcd86ad231 7652 
mpich_3.4.1-4_source.buildinfo
Files:
 790c7f61c10106d588e9024687e47a1d 2727 devel optional mpich_3.4.1-4.dsc
 8c6d740b93d8885b17ac333dd32ee711 344876 devel optional 
mpich_3.4.1-4.debian.tar.xz
 85e2b1e173e504272719a689e91ff619 7652 devel optional 
mpich_3.4.1-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmCG774QHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCImzD/99J361ok0zb8v1E9tZaUYYGNm8P/3BMSGM
fz/9Dy9IYvCK7DwRaFllZdS33nHnIEDXoZIOsGmua6LHKXyeJsUXR4se9cIC5Emh
NVZHkbbp3LzT1oCWhkJh6wKo0lHtfF1cHMjkBYzatrhs305Cbd5A1FuCKeepvZhY
2RunMmEMAdTp6gemmppPOrKhh/QvPoXfp1luuznLPajwWWfn8mtJqfpHXpJg3M7Y
c+6YlPxzxNJxcnMHLS0Q/KGa+U3yOIkraemD+64AkEziZa77WJQxKnD+bVrFlG6S
60MypY4OHJRKpNNXXoLWxjhMpHaWDlgx21/Otfu9wvPxgul9yyUBCQhM9ZJGtXVV
SlGrpBY3y3y7/bm/LSEbDYqt9+52LxLbqb9UTHkAhUbISBCJUVvATZbQ1r+SvJeN
jOZ7Pg2JvnTYJB1JuxXTGTDhcBP4pFWWXzJNnIDcJhDdmr0CKjPrJgFlCNHZu21U
p3YCUSFWDuACajiOAicKF6eDXeqflFxjNJ2sl5XtdhjYgJAObmMzoytpa77W4joa
ZRrzpPjVKC1l8PL9EJ5lmlmQbYDp3J2/aZT6uzYnnXyaCV88UeOHzqnVgC/5HFGz
YoTMi2i5jhzyt2C0W6O5nUmK7vCCvNRmZciQ2BHAM6/qSZZrWtRyHdLQqAXOL2Py
H6/8FLagEQ==
=y4Ok
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to