Your message dated Wed, 03 Apr 2019 08:49:06 +0000
with message-id <[email protected]>
and subject line Bug#916641: fixed in jaxb 2.3.0.1-8
has caused the Debian Bug report #916641,
regarding jaxb: leaves alternatives after purge: /usr/bin/{schemagen,xjc}
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.)
--
916641: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916641
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: jaxb
Version: 2.3.0.1-7
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#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...):
0m50.4s ERROR: WARN: Broken symlinks:
/usr/share/man/man1/xjc.1 -> /etc/alternatives/xjc.1
/usr/share/man/man1/schemagen.1 -> /etc/alternatives/schemagen.1
/usr/bin/xjc -> /etc/alternatives/xjc
/usr/bin/schemagen -> /etc/alternatives/schemagen
/etc/alternatives/xjc.1 -> /usr/share/jaxb/man/xjc.1
/etc/alternatives/xjc -> /usr/share/jaxb/bin/xjc.zip.sh
/etc/alternatives/schemagen.1 -> /usr/share/jaxb/man/schemagen.1
/etc/alternatives/schemagen -> /usr/share/jaxb/bin/schemagen.zip.sh
0m52.7s INFO: Warning: Package purging left files on system:
/etc/alternatives/schemagen -> /usr/share/jaxb/bin/schemagen.zip.sh not
owned
/etc/alternatives/schemagen.1 -> /usr/share/jaxb/man/schemagen.1 not
owned
/etc/alternatives/xjc -> /usr/share/jaxb/bin/xjc.zip.sh not owned
/etc/alternatives/xjc.1 -> /usr/share/jaxb/man/xjc.1 not owned
/usr/bin/schemagen -> /etc/alternatives/schemagen not owned
/usr/bin/xjc -> /etc/alternatives/xjc not owned
/usr/share/man/man1/schemagen.1 -> /etc/alternatives/schemagen.1 not
owned
/usr/share/man/man1/xjc.1 -> /etc/alternatives/xjc.1 not owned
cheers,
Andreas
jaxb_2.3.0.1-7.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: jaxb
Source-Version: 2.3.0.1-8
We believe that the bug you reported is fixed in the latest version of
jaxb, 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.
Andreas Beckmann <[email protected]> (supplier of updated jaxb 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: Wed, 03 Apr 2019 09:23:42 +0200
Source: jaxb
Architecture: source
Version: 2.3.0.1-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers
<[email protected]>
Changed-By: Andreas Beckmann <[email protected]>
Closes: 916641
Changes:
jaxb (2.3.0.1-8) unstable; urgency=medium
.
* Team upload.
* Fixed the removal of the alternatives (Closes: #916641)
Checksums-Sha1:
d6d9978a0454f7d869d5d7cc42b096ff5a46e617 2561 jaxb_2.3.0.1-8.dsc
3f5f2e25f340ecb435b4e4d6dd1616bbcd7d0af3 18800 jaxb_2.3.0.1-8.debian.tar.xz
943c53f19e326e1825369185cb9e1200a43373a2 17501 jaxb_2.3.0.1-8_source.buildinfo
Checksums-Sha256:
3bf858d6abe1164b4d53e172a6515e7e953f522c9fd238f81d1c5a879b10ef4b 2561
jaxb_2.3.0.1-8.dsc
12a5e25c558b58bc27aed704a003d9dabc605e42c9e387a45a1400c5b34aaed8 18800
jaxb_2.3.0.1-8.debian.tar.xz
5eb9d51ffdbdfaf007c93832d2d16c4eee5afeed8e49c9e83c5d76c31183052a 17501
jaxb_2.3.0.1-8_source.buildinfo
Files:
42a354bf42c3746497b05cf8912106b2 2561 java optional jaxb_2.3.0.1-8.dsc
b2c0684dbdf22dd8331e190f16efd085 18800 java optional
jaxb_2.3.0.1-8.debian.tar.xz
1a4cae94a164d556b482107419d75182 17501 java optional
jaxb_2.3.0.1-8_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAlykZWUACgkQ9RPEGeS5
0KzhwhAAjE7h9thx4shjN8+kTSSzT1hFwkhAzqsEMRT+bvMTtNV+7lOeRq0SVamM
gMls1LG2wwXHrwgYZqSh6didabXGBkO+C8ohPQ/0g1bwJgJncWFHMDAAEJXKeig1
M7Su9hn5I5uVG2VZBLMBss8Jo7nvn1cM4PikFtjzmo/IU8fH3vMGGBSvDzYIejkk
SmcZwGJGmxqPZqJxb5Tey5aADmhO/OsZQBw+spq+8htjBjwDDI/tQ41TRqcKFhbd
qqZ63ocom6DaJdWfrUwXPDbXNqb9J4WjPIz5Bzq8Gg+raBc40B6W4UIHqVtODj4F
Se42buhbS8Qz+I4NUmMzSXX0B1kX7TMEnUt63fal8gTlT7950wI30KPd+0JBFqzH
Zsc9rzyuTgUO0CTdUCQDHaB9cvWUMQ4CMVIOlcHTLwEkehGekTxOWIAgV8w3bl5B
UqiFvjaRN2ICtWCLGzTaVunlOUwKNFjkSjf5VhTfkTGbs5LroNZik0+FYLWjKhfW
ZUivhRpoaz2qFZ1a4b2W6F3/dbYRsyi1FgAxkee3lFJ5k0d73g91jqlUtO9j4xX2
UfyUjcftSIHh9ppvIT3m2DXBVyLkeKlaqjAZDqIUxBZf6YsTd/YfTNoUlUYVKPmT
7uS/TQkQ1aVQfCAHX1I+y3y/k1sVZMrScTMkUodWMNDH8iftR+8=
=i1Af
-----END PGP SIGNATURE-----
--- End Message ---
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.