Your message dated Fri, 08 Apr 2016 12:37:06 +0000
with message-id <[email protected]>
and subject line Bug#820080: fixed in petsc 3.6.3.dfsg2-2
has caused the Debian Bug report #820080,
regarding libpetsc{-, complex-}3.6.3-dev: leaves alternatives after purge:
/etc/alternatives/libpetsc_{real, complex}.so
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 [email protected]
immediately.)
--
820080: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820080
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpetsc-complex-3.6.3-dev,libpetsc3.6.3-dev
Version: 3.6.3.dfsg2-1
Severity: important
User: [email protected]
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...):
1m25.9s ERROR: FAIL: Package purging left files on system:
/etc/alternatives/libpetsc_complex.so ->
/usr/lib/x86_64-linux-gnu/libpetsc_complex.so.3.6.3 not owned
/usr/lib/x86_64-linux-gnu/libpetsc_complex.so ->
/etc/alternatives/libpetsc_complex.so not owned
1m39.6s ERROR: FAIL: Package purging left files on system:
/etc/alternatives/libpetsc_real.so ->
/usr/lib/x86_64-linux-gnu/libpetsc_real.so.3.6.3 not owned
/usr/lib/x86_64-linux-gnu/libpetsc_real.so ->
/etc/alternatives/libpetsc_real.so not owned
cheers,
Andreas
libpetsc-complex-3.6.3-dev_3.6.3.dfsg2-1.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: petsc
Source-Version: 3.6.3.dfsg2-2
We believe that the bug you reported is fixed in the latest version of
petsc, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Drew Parsons <[email protected]> (supplier of updated petsc 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 04 Apr 2016 21:55:25 +0800
Source: petsc
Binary: libpetsc3.6-dev libpetsc3.6.3-dev petsc-dev libpetsc3.6.3
libpetsc3.6.3-dbg petsc3.6.3-doc libpetsc-complex-3.6-dev
libpetsc-complex-3.6.3-dev libpetsc-complex-3.6.3 libpetsc-complex-3.6.3-dbg
Architecture: source amd64 all
Version: 3.6.3.dfsg2-2
Distribution: unstable
Urgency: medium
Maintainer: Drew Parsons <[email protected]>
Changed-By: Drew Parsons <[email protected]>
Description:
libpetsc-complex-3.6-dev - Static libraries, shared links, header files for
PETSc
libpetsc-complex-3.6.3 - Shared libraries for version 3.6 of PETSc with
Complex Numbers
libpetsc-complex-3.6.3-dbg - Debugging libraries for PETSc
libpetsc-complex-3.6.3-dev - Static libraries, shared links, header files for
PETSc
libpetsc3.6-dev - Static libraries, shared links, header files for PETSc
libpetsc3.6.3 - Shared libraries for version 3.6 of PETSc
libpetsc3.6.3-dbg - Debugging libraries for PETSc
libpetsc3.6.3-dev - Static libraries, shared links, header files for PETSc
petsc-dev - Virtual package depending on latest PETSc development package
petsc3.6.3-doc - Documentation and examples for PETSc
Closes: 820080
Changes:
petsc (3.6.3.dfsg2-2) unstable; urgency=medium
.
* complex dev package should Suggest: complex (not real) debug package
* Drop legacy alternative link to /usr/lib/libpetsc.so. It just
makes trouble with ldconfig.
* Remove alternatives when dev packages are removed. Closes: #820080.
Checksums-Sha1:
8cedf9c6fafc75f2815dd28c9cab8149157afa91 3134 petsc_3.6.3.dfsg2-2.dsc
d08a171d547192cd5fdaae768c330988d3de587d 32524
petsc_3.6.3.dfsg2-2.debian.tar.xz
5903ecd170bc5d2932c0fb8828155c72f5392d3b 18678
libpetsc-complex-3.6-dev_3.6.3.dfsg2-2_amd64.deb
0632cadb1ca1188f963969613b07a1ded2f47e8f 15009288
libpetsc-complex-3.6.3-dbg_3.6.3.dfsg2-2_amd64.deb
e7e3b6b45420ec6cfba75778f0a42329ee958648 3172984
libpetsc-complex-3.6.3-dev_3.6.3.dfsg2-2_amd64.deb
6fd3686fae49beb146bf2c1c88a5c56dd9e0d8d5 3653916
libpetsc-complex-3.6.3_3.6.3.dfsg2-2_amd64.deb
b964617b32d847ab39f04005c843561e29370207 21480
libpetsc3.6-dev_3.6.3.dfsg2-2_amd64.deb
3ad91aa2bb9aaf81545230992dacc6efd1116da5 34875116
libpetsc3.6.3-dbg_3.6.3.dfsg2-2_amd64.deb
8e660e38cf95f215d65cf6866e2aec22cc199769 3243300
libpetsc3.6.3-dev_3.6.3.dfsg2-2_amd64.deb
5f2dee8b7b8f56c75e655fbfb712322b1c34a4ea 3673904
libpetsc3.6.3_3.6.3.dfsg2-2_amd64.deb
f1adff1bcc57f2c79a01012aa2ae088d284de110 18564 petsc-dev_3.6.3.dfsg2-2_all.deb
681d9f36f65490b4303d92e88ecc5bb2b2273a1f 1488328
petsc3.6.3-doc_3.6.3.dfsg2-2_all.deb
Checksums-Sha256:
7cc8ec401ff090943e7ad31b7847482dbc7c1b60628656aa9e7730ed4e618ad6 3134
petsc_3.6.3.dfsg2-2.dsc
6b61337cde0ab458e24d540eedfc56ad46958f87e981a39ada001e81fc8c38a2 32524
petsc_3.6.3.dfsg2-2.debian.tar.xz
fc8a30fdd2d24c7999fcc1b5c2a756ad56ce3e97b5c13c3cc5cfd0e7a1728e91 18678
libpetsc-complex-3.6-dev_3.6.3.dfsg2-2_amd64.deb
d9cf5c57cd07cc757229fbec9d5ae7cb7fd43c78e3a10cb0c8eba05fd9a27728 15009288
libpetsc-complex-3.6.3-dbg_3.6.3.dfsg2-2_amd64.deb
73f43156301c9bab5e8c9aef129f474ff49bbee0f0b13f3c212b6667ff6c47d3 3172984
libpetsc-complex-3.6.3-dev_3.6.3.dfsg2-2_amd64.deb
46c0a336c487ac21845e2048413d00c246976c8350a8bff8e5459d49f909e3e7 3653916
libpetsc-complex-3.6.3_3.6.3.dfsg2-2_amd64.deb
c06de952a5063bf6b86be887e90ed3b138344ff620ce4ccb8037e95a514ff077 21480
libpetsc3.6-dev_3.6.3.dfsg2-2_amd64.deb
c7d9d46c8b522ac90258b34b3481904c16f30cf61cc9d36623be0d0fdc785617 34875116
libpetsc3.6.3-dbg_3.6.3.dfsg2-2_amd64.deb
1f9bedc06c083f4ee8206f717d032e5449e4569e424babb0394a014226a952a8 3243300
libpetsc3.6.3-dev_3.6.3.dfsg2-2_amd64.deb
f3470f2692198c1f665c73adc418767d03c8d8df6ee69f5b0dd92ae699581165 3673904
libpetsc3.6.3_3.6.3.dfsg2-2_amd64.deb
1ff775fa283325d20c7e9d131bc8e10c807563d9ed5ab48c777acd87c16978d4 18564
petsc-dev_3.6.3.dfsg2-2_all.deb
f5e349f68127c344a7476efc09416b39cd74b56729b177fbf1b0a1c010266879 1488328
petsc3.6.3-doc_3.6.3.dfsg2-2_all.deb
Files:
5403d1ddf95dff5e542544f83ae0a07b 3134 devel extra petsc_3.6.3.dfsg2-2.dsc
588d5c114ac82a165c6773f9682aab8b 32524 devel extra
petsc_3.6.3.dfsg2-2.debian.tar.xz
64ad1bb14438ab6f7d1046fa4d0c0a1f 18678 libdevel extra
libpetsc-complex-3.6-dev_3.6.3.dfsg2-2_amd64.deb
ededeedd597de5d32015cee7fa5759e0 15009288 debug extra
libpetsc-complex-3.6.3-dbg_3.6.3.dfsg2-2_amd64.deb
05f6d905e3806549fa74d0b155a77f14 3172984 libdevel extra
libpetsc-complex-3.6.3-dev_3.6.3.dfsg2-2_amd64.deb
6a366bd8a994b0f98a1e19ea7924cbfa 3653916 libs extra
libpetsc-complex-3.6.3_3.6.3.dfsg2-2_amd64.deb
1d28d8e9a3742c1ccb679742b026224d 21480 libdevel extra
libpetsc3.6-dev_3.6.3.dfsg2-2_amd64.deb
8441571d04c3892eb0678ffe4a6b0ca3 34875116 debug extra
libpetsc3.6.3-dbg_3.6.3.dfsg2-2_amd64.deb
19b141701a983a0a10b59dcc7d64a2a0 3243300 libdevel extra
libpetsc3.6.3-dev_3.6.3.dfsg2-2_amd64.deb
45abc327f0f84ff8d9f8390565445571 3673904 libs extra
libpetsc3.6.3_3.6.3.dfsg2-2_amd64.deb
821e08bb3d590b7acd49678966513724 18564 libdevel extra
petsc-dev_3.6.3.dfsg2-2_all.deb
036efd6ae544d2111d808093a078031e 1488328 doc extra
petsc3.6.3-doc_3.6.3.dfsg2-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJXBzc/AAoJEFc+8eS9WgH6udMP/iLLJmw9R4wO4H/4BgM4c34d
pNdi43JTkBhg1AyQjnWGAvPr3+fBxdBg+4dUZkm2Ox3PVW0QX3Mpsc6Kl8Qz33cH
ND3FVV0uW98dKWlbfH6OaJ7G6fHXB0zVmWO8tyRpZvfpNkKVan/z4xyppZt2lBNr
XstnT+h3q3pnTfDDcfRbHc5BOxFFaGf2ABjTHZEBSWFq766AKKYw31gCjMFlC4mf
hLVcTxEn7NOO4rED4Hk2DMpUqHxki+u/hzktIjbLjP0YEA0mcWW70DWXMYixZid9
lfyqyUdNGP/adgIoWwb2hjL6J87/ei3OvaKigvqFPIXHXtaioTVGalIKCcZ+etKa
ReuqapH3LnhtfLJq4iSkTgzy7H46IofK5dYvQ6rf8QjAZFDbBpnl+Cg+z01noz0w
Lw4zXG3nNkfBosh9QohiXjhr7vRoq/olWu8l7eklz2G+hybodG9VtnK924dZ4EZw
qBkh1H1fjmlbg2LjiJ1iIbdU5ImS+0ao9D+xOKspsLlUB8uj9gDW3FMJ/becxSi0
0FDcJ0sblpHRjl/0izK9+jk4gFX0fj6oSVii32GMFT+0qQxpsjqCbTuYz0+GNWxc
vK+KOq58CfzrtDsoTpVkcu008hTInLWdZk0XyDG/E8e3sN/UNH6aGVVy6hRaH3lG
GByhv2cJfVQZEDK2LJAj
=5l9U
-----END PGP SIGNATURE-----
--- End Message ---