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

Bug#774938: marked as done (fte-terminal, fte-xwindow: unhandled symlink to directory conversion: /usr/share/doc/PACKAGE)



Your message dated Fri, 09 Jan 2015 11:33:25 +0000
with message-id <E1Y9Xoj-0001jQ-Ej@franck.debian.org>
and subject line Bug#774938: fixed in fte 0.50.2b6-2
has caused the Debian Bug report #774938,
regarding fte-terminal, fte-xwindow: 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.)


-- 
774938: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774938
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: fte-terminal,fte-xwindow
Version: 0.50.2b6-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

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

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

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


cheers,

Andreas

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


--- End Message ---
--- Begin Message ---
Source: fte
Source-Version: 0.50.2b6-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 774938@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: Fri, 09 Jan 2015 12:09:10 +0100
Source: fte
Binary: fte fte-docs fte-xwindow fte-console fte-terminal
Architecture: source all
Version: 0.50.2b6-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: 774938
Changes:
 fte (0.50.2b6-2) unstable; urgency=medium
 .
   * QA upload.
   * Fix unhandled symlink-to-directory conversion dating back to to the
     lenny -> squeeze upgrade.  (Closes: #774938)
   * d/rules: Run dh_installdeb before dh_gencontrol.
Checksums-Sha1:
 9241daa79d6e4905303f399136c0f287c491dead 2164 fte_0.50.2b6-2.dsc
 bc5bd1aae8a798fb5cab9a6a3f2ffc47ce0efb56 10620 fte_0.50.2b6-2.debian.tar.xz
 2c1ac829d263ff19918fdf8cd741612754a9b8e9 29460 fte-docs_0.50.2b6-2_all.deb
Checksums-Sha256:
 493ddac33d4b298ac5d2c017faec907bab38aa4c52960fc849f4d00bfd6b7679 2164 fte_0.50.2b6-2.dsc
 a169f402a022baebaa62eb619b94c22074540b0a879eacc510e5a23a14f817dd 10620 fte_0.50.2b6-2.debian.tar.xz
 cb7b2fb32c4252cfd46df82102c3b37d26f69fd531b75519dd08c214c2838956 29460 fte-docs_0.50.2b6-2_all.deb
Files:
 04d8eec969302164f1bbb6e469c49b21 2164 editors optional fte_0.50.2b6-2.dsc
 792f4b6ed52f7fcdec82ce8789696b86 10620 editors optional fte_0.50.2b6-2.debian.tar.xz
 221b2f6dabdb26e233fa1a60575ba144 29460 doc optional fte-docs_0.50.2b6-2_all.deb

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

iQIcBAEBCAAGBQJUr7mvAAoJEF+zP5NZ6e0I0dIP/RSKq1Czk7nE4+mGlOrAXj1t
K4YtnGWVpR/9HI3Sy9EjeDcxD71W5lKIFIurPcdSwztQHx8zjExcHhjJx5P8+Aae
50WEmymTlrA+NASmxPHVEvGPhfv6TmAyHyv7OYaLONJCfJc7Mh6qKRInRee9xTe6
LKDBJsbNLI0IgfICTTS7EDWG39vyxVd5DARQbf50IEFGszZwaZzP1O35olfqGOQO
86QEY4+J6/82PZsEZF1l04Y5ksceu8vPiEM9bSIEQ/OjNp4BZuFfWFBk4+aBoxDk
/A4ZPfHkIjyDChuxHMaWcLVf6eZagf5a8MJq+jS5PXy1t0pRwwi9MCvLTLwI0llB
M0z58c/G4TIJ66soUJxo3Cpnu8NC/XMPVnPFWjIh0NYttn2hKl8pdQgvZm/K+KE1
fKPtLWO/DDutTlsGvcmMp1JeBAaCyEMIR5hl8i/XhZcBCMOVnO7Sdl9hUfoUA7cZ
6BNgV1oiJbiVPsrjqVxdNv+6gXgyk4qP694nt8iUsnLqIDI0luEnG87FvpBBxPFE
LRd/JIJxYi999nb0JMt8dpP5ovak+VDckcDFyfJpjZeneNK6Fhxa8tHsDrhiPYSJ
qG+qOTpKrPSE4HsLC5wsUixZDHMJuPyobwAJGQT0lDZYPL3b5+a0CsqWChWXXgOn
agFsz2gN5DPik1Duj5Su
=L5Tn
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: