[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#861306: marked as done (fte-docs: unhandled symlink to directory conversion: /usr/share/doc/PACKAGE)



Your message dated Thu, 27 Apr 2017 10:03:54 +0000
with message-id <E1d3gHC-000IYl-Uc@fasolo.debian.org>
and subject line Bug#861306: fixed in fte 0.50.2b6-20110708-2
has caused the Debian Bug report #861306,
regarding fte-docs: 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 owner@bugs.debian.org
immediately.)


-- 
861306: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861306
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: fte-docs
Version: 0.50.2b6-20110708-1
Severity: serious
User: debian-qa@lists.debian.org
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:

  lenny -> squeeze -> wheezy -> jessie -> stretch

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.maintscript.
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...):

3m32.2s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/fte-docs/changelog.Debian.gz (fte-docs) != /usr/share/doc/fte/changelog.Debian.gz (fte)
    /usr/share/doc/fte-docs -> fte
  /usr/share/doc/fte-docs/changelog.gz (fte-docs) != /usr/share/doc/fte/changelog.gz (fte)
    /usr/share/doc/fte-docs -> fte
  /usr/share/doc/fte-docs/copyright (fte-docs) != /usr/share/doc/fte/copyright (fte)
    /usr/share/doc/fte-docs -> fte


cheers,

Andreas

Attachment: fte-docs_0.50.2b6-20110708-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: fte
Source-Version: 0.50.2b6-20110708-2

We believe that the bug you reported is fixed in the latest version of
fte, 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 861306@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated fte 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 27 Apr 2017 11:13:30 +0200
Source: fte
Binary: fte fte-docs fte-xwindow fte-console fte-terminal
Architecture: source
Version: 0.50.2b6-20110708-2
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Description:
 fte        - Text editor for programmers - base package
 fte-console - Text editor for programmers - console edition, no I18N support
 fte-docs   - Documentation and examples for the FTE editor
 fte-terminal - Text editor for programmers - version for terminals
 fte-xwindow - Text editor for programmers - X Window System edition with I18N s
Closes: 861306
Changes:
 fte (0.50.2b6-20110708-2) unstable; urgency=medium
 .
   * QA upload.
   * fte-docs: Fix unhandled symlink-to-directory conversion dating back to
     the lenny -> squeeze upgrade.  (Closes: #861306)
   * Fix another typo found by lintian.
Checksums-Sha1:
 e6c19db281f62fd933c42dc928978764728509ae 2229 fte_0.50.2b6-20110708-2.dsc
 ccf8a0cefa937083729e2b76221c83474d63b4d7 13932 fte_0.50.2b6-20110708-2.debian.tar.xz
 1c2c1c3f52390a38b64f0e34dee736c0ef19c44c 5265 fte_0.50.2b6-20110708-2_source.buildinfo
Checksums-Sha256:
 934fc8ad9d31790a48fae2aba51d9f9eb705bca089967f1154c08ba1e8dc0e98 2229 fte_0.50.2b6-20110708-2.dsc
 8fdcfd31166f4501d70d78294b147e367e145120dc8961e024d2c6c08b9a090d 13932 fte_0.50.2b6-20110708-2.debian.tar.xz
 fc2cb03fe9938d145df5629a80e17e13f4430e8ef489a97c6823d3e9bb35fdcb 5265 fte_0.50.2b6-20110708-2_source.buildinfo
Files:
 e1f0e9c8df39aeb9e1861e1094c43667 2229 editors optional fte_0.50.2b6-20110708-2.dsc
 70436838169e8829b47aa3e896f1c51d 13932 editors optional fte_0.50.2b6-20110708-2.debian.tar.xz
 4795536d29d9f53a672847df9b1362b0 5265 editors optional fte_0.50.2b6-20110708-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJZAbwqAAoJEF+zP5NZ6e0IM/cQAKouZxHTRTjj+Yq3KIA9TQQA
Di5Du7nrNGDIXvoRSsNHr2MXbAReIOp/bAWFx8f81ooD7jGHXC4z186wTFmQqaDq
jQAf41jpsmFq52nVZGHa4LDD67k28tfuAmsXV+6gYxLwAahoFlGBAOzju3w71MQW
kxDnOqfezK+nlBlNnABwAmMgv1pjNYifrKbJozTtL5kQ/5dVF8gAnyzIX+3ZB4Ex
RHNR8I9OPWKz/l77my6AnUeyP8kqxA3VUrhgHep7PAAeLetBeX7Z3iQu2w5T78Xr
552UDKk7ejo51FaLYjYmVDZcXUhaL4eOf5cF1ms+alhxU1EW8BrrBo6Bv97oSoGh
nom/HAz+rzARDzXOg+Y64TUmGtE8uQIfpOut51/6/2py+Na4zc1j/yb/sJubW6wB
d78Ta+joiEhSmtkoaotoF4xHQ/ha47czI5+VO3lfVPPpA9PK7HDua0W2DsFuk7wr
UvglL1YyJR47dWSpDr1TB39KnSzmwQn6MrSroMG7wFX+5NolbFI+p8XS+xLc5Jip
DYx+F2yyVxYyAWVkCl+0901B/cV4yTtdNje6pGlBJ7ztVqdPvlqSPZPSmdUGP+Ji
3b/m0C4fXlKdAW4Yn+GVOdX7a/hrUCXOa21kpWKZrIB5irBhfvXmgh7EiVY37Bk3
z8PlZOFcMch7HXqOOZYx
=YAwy
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: