Your message dated Wed, 26 Oct 2016 22:22:55 +0000
with message-id <[email protected]>
and subject line Bug#788160: fixed in elinks 0.12~pre6-12
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

Attachment: elinks_0.12~pre6-7.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: elinks
Source-Version: 0.12~pre6-12

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: SHA256

Format: 1.8
Date: Sun, 23 Oct 2016 21:17:47 +0200
Source: elinks
Binary: elinks elinks-data elinks-doc
Architecture: source all amd64
Version: 0.12~pre6-12
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-12) unstable; urgency=medium
 .
   * Fix maint script (Closes: #788160)
Checksums-Sha1:
 6ebc20a866f21ce7c5d2d6220741cef3ae73456d 2042 elinks_0.12~pre6-12.dsc
 8294bfcbf4274373f7163466895491319817ccdb 21488 
elinks_0.12~pre6-12.debian.tar.xz
 439451c8e168e31899040e1361fa36f18c44e976 383528 
elinks-data_0.12~pre6-12_all.deb
 953313fa6e5c1f7bc5468908101f40d5f474bd70 1725822 
elinks-dbgsym_0.12~pre6-12_amd64.deb
 b09b358013e8945d00fb9dbac150b00491ab614b 160370 elinks-doc_0.12~pre6-12_all.deb
 1c682a8d1d9e11f742ed37dd767b417716fc49ba 541106 elinks_0.12~pre6-12_amd64.deb
Checksums-Sha256:
 6e5bb2f0cf9ff3e2a01b6f584eaa8976e4b1ceb423e2382c3e4a472ed7bb2ef0 2042 
elinks_0.12~pre6-12.dsc
 863415fcb4394cc9068c0087b775be761095557922745dbe3869783ec9d2b8cd 21488 
elinks_0.12~pre6-12.debian.tar.xz
 b6ba8d8f74b5cace4d36397aed108f4f9ef73027918c397c4ec3cbbea0b35fd8 383528 
elinks-data_0.12~pre6-12_all.deb
 fb61229e89d6f3ca7eae8ad388ec56441c688b683d51f2be462a989fbafc4d6e 1725822 
elinks-dbgsym_0.12~pre6-12_amd64.deb
 85c11a06237a538662aad480fed35d9df036f4d772089a7ce8b2e74cc2cbbd7e 160370 
elinks-doc_0.12~pre6-12_all.deb
 e7a103eb44dc5f19318c00c7f1df324a239caf02a283c9a2bd168e6fb1ea0999 541106 
elinks_0.12~pre6-12_amd64.deb
Files:
 5af62735c5d081b47b61bfc1640f4152 2042 web optional elinks_0.12~pre6-12.dsc
 7bdf07ac45fe51dd4757f0d542a247ca 21488 web optional 
elinks_0.12~pre6-12.debian.tar.xz
 f9f4a86586ddb4d50a8328d49d4fc067 383528 web optional 
elinks-data_0.12~pre6-12_all.deb
 46d36dc21fdb1c181115882536689fed 1725822 debug extra 
elinks-dbgsym_0.12~pre6-12_amd64.deb
 75f056e1a8568656c738389aa7784785 160370 doc optional 
elinks-doc_0.12~pre6-12_all.deb
 74b025cab48afd727d57a6ef1696c1c8 541106 web optional 
elinks_0.12~pre6-12_amd64.deb

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

iQIcBAEBCAAGBQJYD8hsAAoJEBDCk7bDfE42qVoP/1xPJs2Yg2pjdi6aDnco5QBP
iCfIZrjuO38529Pb120jkEMg0s27SlGJXiF9mlo0f5j3nDCdcoUxjmXG4vCICrEu
c9SRr3Vb0oB/mcPYhrpXFMOifzHo8e5t0+7pAqEg30hu9s9Z/xgA+BrTk/sXatTL
uP9KLu6QIADORxN2MWfYxpbvIO8gd+nlKUDM/naTdYXZ70ft1bLa/5oqmjV2+Bul
7JRNQn8ba0j2vGT6HDXBU0yUZQylIyecIFYIFgydz8ziEvMs3GUtXD7CKwxnyJbV
Q6AqWZxPwepj+XFMmDW6Ssk5Cx7hR2rolUjwhkpXdZQuuzfFBOMUwhUx0oATLGyq
fKSoOzzR9IvI9lRqchn3kj/nctRWwOdlA23oTC4amW/QzEWZrdEUow+oaQrCfiAo
0+lGR2lkiLC2NDmB50Seu/MYib+6RqUwP+NxyXDfVvRcMxgbhPVudh8aDuXjd7SB
L0F5j5svnc0ze+NUyEvd2tXx6P5NOVwmVMMTChpsa0z9sG2ZeYwjNQy1YdiwWNok
GtiWS4LCGX0Xy1OJNKEEqxBz+KUmYbaZJxzwZDVN+Yi2Q/G/mJjgdVMwXBAslvJ6
rLHha3ggBmdzSo7shpDTusCJ/+xo92nETgfWaK2T8IXhaZucobBQXaxRxHvRpbak
3VW1SA77w76n+GDpe7o8
=6UAM
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to