Your message dated Sat, 28 Nov 2015 10:19:24 +0000
with message-id <[email protected]>
and subject line Bug#788160: fixed in elinks 0.12~pre6-11
has caused the Debian Bug report #788160,
regarding elinks: 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.)
--
788160: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788160
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: elinks
Version: 0.12~pre6-7
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:
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#s-copyrightfile
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#s-unpackphase
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.mainstscript.
Do not forget to add 'Pre-Depends: ${misc:Pre-Depends}' in d/control.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.
>From the attached log (usually somewhere in the middle...):
0m32.0s ERROR: FAIL: silently overwrites files via directory symlinks:
/usr/share/doc/elinks/changelog.Debian.gz (elinks) !=
/usr/share/doc/elinks-data/changelog.Debian.gz (elinks-data)
/usr/share/doc/elinks -> elinks-data
/usr/share/doc/elinks/changelog.gz (elinks) !=
/usr/share/doc/elinks-data/changelog.gz (elinks-data)
/usr/share/doc/elinks -> elinks-data
/usr/share/doc/elinks/copyright (elinks) !=
/usr/share/doc/elinks-data/copyright (elinks-data)
/usr/share/doc/elinks -> elinks-data
/usr/share/doc/elinks/examples (elinks) !=
/usr/share/doc/elinks-data/examples (elinks-data)
/usr/share/doc/elinks -> elinks-data
/usr/share/doc/elinks/examples/elinks.config (elinks) !=
/usr/share/doc/elinks-data/examples/elinks.config (?)
/usr/share/doc/elinks -> elinks-data
cheers,
Andreas
elinks_0.12~pre6-7.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: elinks
Source-Version: 0.12~pre6-11
We believe that the bug you reported is fixed in the latest version of
elinks, 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.
Moritz Muehlenhoff <[email protected]> (supplier of updated elinks 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: SHA1
Format: 1.8
Date: Sat, 28 Nov 2015 09:31:42 +0100
Source: elinks
Binary: elinks elinks-data elinks-doc
Architecture: source all amd64
Version: 0.12~pre6-11
Distribution: unstable
Urgency: medium
Maintainer: Moritz Muehlenhoff <[email protected]>
Changed-By: Moritz Muehlenhoff <[email protected]>
Description:
elinks - advanced text-mode WWW browser
elinks-data - advanced text-mode WWW browser - data files
elinks-doc - advanced text-mode WWW browser - documentation
Closes: 788160
Changes:
elinks (0.12~pre6-11) unstable; urgency=medium
.
* Add maint script for dir_to_symlink (Closes: #788160)
Checksums-Sha1:
6764b07926b2b6d21a1302835e67ff576cd138c6 2058 elinks_0.12~pre6-11.dsc
627c69796dbaf0b44f4ee1431d715ed1c2576da4 21368
elinks_0.12~pre6-11.debian.tar.xz
3fbe121b5e54210cccafa0815f4ef6faee79c19f 382804
elinks-data_0.12~pre6-11_all.deb
842811345975f6f7b29c85b9f7b6a2211bb7bf77 160088 elinks-doc_0.12~pre6-11_all.deb
b123b7bbbed7c2063f0b9e7d358909e0fc59da88 539430 elinks_0.12~pre6-11_amd64.deb
Checksums-Sha256:
5dfffdef7f3e0fd497b0bdb8ca9313551370cab83b5ae2a34f712dad32dba4c2 2058
elinks_0.12~pre6-11.dsc
c70a2a76dd0085d01ee721562212afa578a3991c5d88fcc8dbb68674c25bbaef 21368
elinks_0.12~pre6-11.debian.tar.xz
409149be5b7591b8f26f14771de3f5acfa7d9093976aa862e5a4d5ebb076114e 382804
elinks-data_0.12~pre6-11_all.deb
b94cae752f51fe170a3f3cfd4613dc6fb714d2d7b6e7723c5ac86bffb16cc0ed 160088
elinks-doc_0.12~pre6-11_all.deb
9a410cfea72ff5593493b7ab0a328aca7d8a4dff7bed6992f1e676fc6431f869 539430
elinks_0.12~pre6-11_amd64.deb
Files:
ca94f43631977ce6a01c2b5b7597334f 2058 web optional elinks_0.12~pre6-11.dsc
2222194bb8c1b9fda0bb50392be94f41 21368 web optional
elinks_0.12~pre6-11.debian.tar.xz
bb752152b42529cf0d57c816ed7cb8bf 382804 web optional
elinks-data_0.12~pre6-11_all.deb
9b5baf24e0e58cec138bb17a7b9739c4 160088 doc optional
elinks-doc_0.12~pre6-11_all.deb
383c75244e96476d25d9c435cb928aa6 539430 web optional
elinks_0.12~pre6-11_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJWWW3RAAoJEBDCk7bDfE42WSwP/R5ztEG+JwpS5jc0i7kdBgM+
AgAVdOzGIdiQw3ycfIcbjZxgSPnrqvukuaw+i+ePCx2NurCUvZMsvIkGRu+4G9XE
A3cJbolxz5ANDZsCLxqymwJBAaT8flPS7os1kHyT0BnXyxVDr8TSXaWes0+72H9T
Kni4FMu0DRfd3u5nBlImg3VJXDO6Yxcgo8Tgf0jzlM5ONflcUeEXAskJOL00Irot
OLzNEc6QjqPd1LXLHxIeQmuyt7/8HSqIz2ZRjnzBDBHFkEDmf1Aj3FYe9OPcC50W
ACjiXrtyDwOrCg8+xozSSXCJDSJuYoSBqR8mcT2rarjL1VvFentT+lVROIrspyUb
02lo45v/n8qkQy8MylQZedJmr8+1xZGODOX0HConfGFsYySW7aTFw13KzykMYeWw
OjAW63ZCIZQZDAHWyKnHXj0JqLPvDev4ZBOdDzz6tIwdI3Kw89r6H+x06nvxzRlj
/57UVg9K6/Bz8OZIQVrNaQW25npn0dobTYvgI1kBByIBuJ3yOx4wzzJaZ3nOtYcg
aAQ3w07EbMjrXwdgBJ7WilaK3jzgCI3WVFWuZ6MSMsCNxcBRHuAJYwB8SqB/Ts76
tAURizx0YIV2qzX8l5dCTbnnOlWHvrn+eUZyIkdmMD1u615YudUaP+n7pP/Gu8+2
v6kw3CYoe/9+XSoRhIOL
=e2kF
-----END PGP SIGNATURE-----
--- End Message ---