Your message dated Thu, 11 Jun 2015 04:05:35 +0000
with message-id <e1z2tkf-00019n...@franck.debian.org>
and subject line Bug#788162: fixed in fish 2.1.2+dfsg1-2
has caused the Debian Bug report #788162,
regarding fish-dbg: 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 ow...@bugs.debian.org
immediately.)


-- 
788162: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788162
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: fish-dbg
Version: 2.1.2+dfsg1-1
Severity: serious
User: debian...@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:

  stretch -> sid

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

0m53.9s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/fish-dbg/NEWS.Debian.gz (fish-dbg) != 
/usr/share/doc/fish-common/NEWS.Debian.gz (fish-common)
    /usr/share/doc/fish-dbg -> fish-common
  /usr/share/doc/fish-dbg/changelog.Debian.gz (fish-dbg) != 
/usr/share/doc/fish-common/changelog.Debian.gz (fish-common)
    /usr/share/doc/fish-dbg -> fish-common
  /usr/share/doc/fish-dbg/copyright (fish-dbg) != 
/usr/share/doc/fish-common/copyright (fish-common)
    /usr/share/doc/fish-dbg -> fish-common


cheers,

Andreas

Attachment: fish-dbg_2.1.2+dfsg1-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: fish
Source-Version: 2.1.2+dfsg1-2

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

Debian distribution maintenance software
pp.
Tristan Seligmann <mithra...@debian.org> (supplier of updated fish 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 09 Jun 2015 08:51:44 +0200
Source: fish
Binary: fish fish-common fish-dbg
Architecture: source all amd64
Version: 2.1.2+dfsg1-2
Distribution: unstable
Urgency: medium
Maintainer: Tristan Seligmann <mithra...@debian.org>
Changed-By: Tristan Seligmann <mithra...@debian.org>
Description:
 fish       - friendly interactive shell
 fish-common - friendly interactive shell (architecture-independent files)
 fish-dbg   - friendly interactive shell (debugging symbols)
Closes: 788162
Changes:
 fish (2.1.2+dfsg1-2) unstable; urgency=medium
 .
   * libjs-jquery dependency belongs more properly in fish-common.
   * Fix replacement of /usr/doc symlinks with real directories
     (closes: #788162).
Checksums-Sha1:
 d80933a7d6f465ed7262f5f4faadf36e0e64504f 2157 fish_2.1.2+dfsg1-2.dsc
 91a7d5f8a0ee50425f65b31d3a9406a0b9bb2aa6 11876 fish_2.1.2+dfsg1-2.debian.tar.xz
 13e2312da103c07adcb3fd5676d685c1681173c4 509170 
fish-common_2.1.2+dfsg1-2_all.deb
 64afd66367dd74db60f80025151127642e8111e2 4104684 
fish-dbg_2.1.2+dfsg1-2_amd64.deb
 479be1c4b87b31a5ba041f78061548b01003002f 380356 fish_2.1.2+dfsg1-2_amd64.deb
Checksums-Sha256:
 2afb22192b78d779e2075cddbb227a20370bb8fc19642e44224a9619f550e39c 2157 
fish_2.1.2+dfsg1-2.dsc
 65540d115e1195be851cce070cd9f84a14d41d5551d5fb881c37e3a2d69d47d0 11876 
fish_2.1.2+dfsg1-2.debian.tar.xz
 2dc9d74562985ebeacca1b934476c0c9449143466b36fde46123eff4fa5afab2 509170 
fish-common_2.1.2+dfsg1-2_all.deb
 002e79453f59bf9374ef55752cda3ff63578bcb7fd5ddafabd27ec930f97881e 4104684 
fish-dbg_2.1.2+dfsg1-2_amd64.deb
 6520b68ad6fcaf122e4a0570aefae413cd5e08ddab7f0cafde4c3402407cfb99 380356 
fish_2.1.2+dfsg1-2_amd64.deb
Files:
 b09f77f23ca73dbcb04c01478c2f958b 2157 shells optional fish_2.1.2+dfsg1-2.dsc
 8ad6ab8328e87b762ab6c3691a1be395 11876 shells optional 
fish_2.1.2+dfsg1-2.debian.tar.xz
 d5f3c001078dd4c47c14a081d0277a2e 509170 shells optional 
fish-common_2.1.2+dfsg1-2_all.deb
 ca08f4e0f1d5f80066227ff487733bbb 4104684 debug extra 
fish-dbg_2.1.2+dfsg1-2_amd64.deb
 bcc44ea656466e5a48b9fb0ff5831e2b 380356 shells optional 
fish_2.1.2+dfsg1-2_amd64.deb

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

iQJ8BAEBCgBmBQJVeQSWXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjI0RTMxNUVEQUFBQzEzRDY0NjcwOTk1
OEMwRkIxQ0RFM0I3NjAwAAoJEFjA+xzeO3YAP1gP/0aCNDTOGiEVgA46tF/PW278
Zva5wF0Hj1yQHl77OLatnVrJzGQky/yYK6+XKSyf6Ee9LKbXQrR8/mpEyZLYTojf
PdbnycEkyKVUKEqWgQHe9btgCZaZqedSGs3qBuM9oPASth7wL+Voe1I+cDVBNW+r
pgW7pJtJgiHPWVm3L7t12+PUIcjumPIX/D1fYVlAraaxq8MLwn07SAep+uDHzM9B
qQAGic4sW6YkeAwzm7uNysFRF3LQ7/eaFRwaEkMoJfxgGwDKns6HZbPdZRd6YOUx
FXO3l0Z6RplGbvdzZVZY8rV9iQWoiI9OJY6+hLP6kKWh4ZLgnKi2FMtsQHUijm2m
Uph3+Go8yDm2jnbnSygeyvoVMGCqva/J2XBVrjnFPutkUBntLb/GNG38Ff2z3Vcr
MrZrn471g2PG/3nEsOzRput9QuONzSF0sMvzM7uaxdv/KLsIx5sg0M83dEgb1G6m
P/DIH+Ufg2SKfO7OzYsQn/Q4Sd0fLLUI54JAOnKPNfMLWAbzYZK0bPWwMUwmh9mP
a69ylMsmnHg7++LdGo7F68dGlJEqY4pKW1Tq4Vr3+oVpRvnrpSxOvRoyE8Vk9K0e
bgF0/rqrvsbu5ZphDSJ2ZTKhE0xsR63KzE9mvnukomSvWkqnR+kdi/suSNf+xtQD
nvgIX2CzAfOfrnwVQ00l
=5UY3
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to