Your message dated Mon, 15 Mar 2021 13:20:01 +0000
with message-id <[email protected]>
and subject line Bug#985288: fixed in node-chai 4.2.0+ds+~4.2.14-4
has caused the Debian Bug report #985288,
regarding chai: unhandled symlink to directory conversion:
/usr/share/doc/PACKAGE
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.)
--
985288: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985288
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: chai
Version: 4.2.0+ds+~4.2.14-3
Severity: serious
User: [email protected]
Usertags: piuparts
Hi,
an upgrade test with piuparts revealed that your package installs files
over existing symlinks and possibly overwrites files owned by other
packages. This usually means an old version of the package shipped a
symlink but that was later replaced by a real (and non-empty)
directory. This kind of overwriting another package's files cannot be
detected by dpkg.
This was observed on the following upgrade paths:
buster -> bullseye
For /usr/share/doc/PACKAGE this may not be problematic as long as both
packages are installed, ship byte-for-byte identical files and are
upgraded in lockstep. But once one of the involved packages gets
removed, the other one will lose its documentation files, too,
including the copyright file, which is a violation of Policy 12.5:
https://www.debian.org/doc/debian-policy/ch-docs.html#copyright-information
For other overwritten locations anything interesting may happen.
Note that dpkg intentionally does not replace directories with symlinks
and vice versa, you need the maintainer scripts to do this.
See in particular the end of point 4 in
https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#details-of-unpack-phase-of-installation-or-upgrade
It is recommended to use the dpkg-maintscript-helper commands
'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.14)
to perform the conversion, ideally using d/$PACKAGE.maintscript.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.
>From the attached log (scroll to the bottom...):
0m40.7s ERROR: FAIL: silently overwrites files via directory symlinks:
/usr/share/doc/chai/History.md.gz (chai) !=
/usr/share/doc/libjs-chai/History.md.gz (libjs-chai)
/usr/share/doc/chai -> libjs-chai
/usr/share/doc/chai/changelog.Debian.gz (chai) !=
/usr/share/doc/libjs-chai/changelog.Debian.gz (libjs-chai)
/usr/share/doc/chai -> libjs-chai
/usr/share/doc/chai/changelog.gz (chai) !=
/usr/share/doc/libjs-chai/changelog.gz (libjs-chai)
/usr/share/doc/chai -> libjs-chai
/usr/share/doc/chai/copyright (chai) != /usr/share/doc/libjs-chai/copyright
(libjs-chai)
/usr/share/doc/chai -> libjs-chai
cheers,
Andreas
chai_4.2.0+ds+~4.2.14-3.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: node-chai
Source-Version: 4.2.0+ds+~4.2.14-4
Done: Yadd <[email protected]>
We believe that the bug you reported is fixed in the latest version of
node-chai, 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.
Yadd <[email protected]> (supplier of updated node-chai 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, 15 Mar 2021 13:56:47 +0100
Source: node-chai
Architecture: source
Version: 4.2.0+ds+~4.2.14-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers
<[email protected]>
Changed-By: Yadd <[email protected]>
Closes: 985288
Changes:
node-chai (4.2.0+ds+~4.2.14-4) unstable; urgency=medium
.
* Team upload
* Fix maintscript (Closes: #985288)
Checksums-Sha1:
c9f437f0f1ac069d303cf461e84bddcdae3a657c 2616 node-chai_4.2.0+ds+~4.2.14-4.dsc
f57baaebf4b6931969b3a42b9c3cd589e5cfe6a5 7316
node-chai_4.2.0+ds+~4.2.14-4.debian.tar.xz
Checksums-Sha256:
fda47f47417ff71056cf105b18402e304604a83aa52684e6ca8ebc669df5fd1d 2616
node-chai_4.2.0+ds+~4.2.14-4.dsc
8145e08118c159ec8f8fdc3db8b6f01f8f058a2dde8688c6a7d70344af2451a7 7316
node-chai_4.2.0+ds+~4.2.14-4.debian.tar.xz
Files:
ab9460dc24f5cb6a379b390b30248a73 2616 javascript optional
node-chai_4.2.0+ds+~4.2.14-4.dsc
59a4ed987a2c5acfc89dd77600a75351 7316 javascript optional
node-chai_4.2.0+ds+~4.2.14-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmBPWoEACgkQ9tdMp8mZ
7ukXxhAAm/pWqZwM6UfgfNvBjgRGrGWIgZL/ubGDL7LabeGnhdWVUqyOYVYNP8Na
L4lM7bDYCPse9Yhy+d0cxS45mTH5bsdvxMH3tDg0LPQLD1lyQKJzYm6K/+JwpfTq
enVI4mfDqxPss/+LL/f/6kqJsIch7N92IOKpW3gMraiZK3bDxG3LjLj8jynzv0Lh
bbc9maebXinrF81RqBiVndF3HKOMLrZuEKgTM9PRi60so8mwFdY/DI6X7OgevJe+
YFXgN66qdLKJ9qK32DECp8D4oEQX+kRoVd/RUhlp5zW5NLUY+lopceTfw2JbaHUT
MGSM8y1vAQOyPm1RzdaDncEasVhYx2B/6X2wwKUthv3nhIZ2I1nnttSVWjhdl7cy
LvkPwAhIVG5mpylU25eQV5MluxX9VGrd025IWmf7SeDJcbl9kitQVDZlvFC40Joe
peTC5lDoxt9blTVZLxWSpie7e+PB1vgJujOvyWu2bGDVo7Kl+KZ1YmnchZE2s6cx
KHunQOmjStZhHixbc5lR2kM4hrBieaILXiWJ8DTtIjgmSpkTgPZemSuc6pYVCTSc
PsTnaIy1T9L6eNqWKPsZamvHKmByjiAZesVKY+JkVlqO3Y0AOlJw7LLEamLy3sMq
6vLKm1K07N4zPBqUwx7gp4mKAHJL7ge+ad1QYKJVb+kyCQxN4m0=
=Nbls
-----END PGP SIGNATURE-----
--- End Message ---
--
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel