Your message dated Sun, 30 Oct 2016 00:39:49 +0000
with message-id <e1c0ea9-000h0g...@fasolo.debian.org>
and subject line Bug#838680: fixed in fortunes-es 1.34
has caused the Debian Bug report #838680,
regarding fortunes-es-off: 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.)


-- 
838680: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838680
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: fortunes-es-off
Version: 1.33
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:

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

1m41.2s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/fortunes-es-off/changelog.gz (fortunes-es-off) != 
/usr/share/doc/fortunes-es/changelog.gz (fortunes-es)
    /usr/share/doc/fortunes-es-off -> fortunes-es
  /usr/share/doc/fortunes-es-off/copyright (fortunes-es-off) != 
/usr/share/doc/fortunes-es/copyright (fortunes-es)
    /usr/share/doc/fortunes-es-off -> fortunes-es


cheers,

Andreas

Attachment: fortunes-es-off_1.33.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: fortunes-es
Source-Version: 1.34

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

Debian distribution maintenance software
pp.
Javier Fernández-Sanguino Peña <j...@debian.org> (supplier of updated 
fortunes-es 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: SHA256

Format: 1.8
Date: Sun, 30 Oct 2016 00:55:00 +0200
Source: fortunes-es
Binary: fortunes-es fortunes-es-off
Architecture: source all
Version: 1.34
Distribution: unstable
Urgency: medium
Maintainer: Javier Fernández-Sanguino Peña <j...@debian.org>
Changed-By: Javier Fernández-Sanguino Peña <j...@debian.org>
Description:
 fortunes-es - Spanish fortune database
 fortunes-es-off - Spanish fortune cookies (Offensive section)
Closes: 838680
Changes:
 fortunes-es (1.34) unstable; urgency=medium
 .
   * fortunes-es-off.preinst: Remove /usr/share/doc/fortunes-es-off if it 
exists and
     is a symlink (Closes: 838680)
   * fortunes-es/arte.fortunes: Added quotes from many magicians, including Juan
     Tamariz to conmemmorate the 74st birthday of the famous spanish magician.
Checksums-Sha1:
 3b755f8f2eee883a09de98f9ddfe87f52d90d836 1507 fortunes-es_1.34.dsc
 d4fa9cfae98295a7236b19f3fab2042ca1ed5f2a 312720 fortunes-es_1.34.tar.xz
 4626bf7ca5a5d7aed46bbde8bee3cc87fc698a49 40936 fortunes-es-off_1.34_all.deb
 cbd684bb3f8274349af1b327153d5090e8982984 316712 fortunes-es_1.34_all.deb
Checksums-Sha256:
 1100182fdfac5b095f44d451fac978f8b1fc593d806ae55e817b7b7c855dfd22 1507 
fortunes-es_1.34.dsc
 87a37c962145e28935f9035f4ca4b58f2cc3799be4c2998a7cbd2b34fc7d74cd 312720 
fortunes-es_1.34.tar.xz
 0b31c1b929568dc4a4d6f156da0ff663866b99ed3fb49e400b637c44fff8460a 40936 
fortunes-es-off_1.34_all.deb
 58ed4a1c308455f080bf318ae5a61d18c9908cd3cee7a736d301919d3b02c557 316712 
fortunes-es_1.34_all.deb
Files:
 548569cf952ca3b5d83dd2f40e273112 1507 games optional fortunes-es_1.34.dsc
 97d7b9ac952becb57f0b484cbedaf3be 312720 games optional fortunes-es_1.34.tar.xz
 16186d28d5213596a1d4ecd47e76a578 40936 games optional 
fortunes-es-off_1.34_all.deb
 0878b5a9107880e741821a44552b188b 316712 games optional fortunes-es_1.34_all.deb

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

iQIVAwUBWBU8nosfb0irJX+YAQio4Q/7BxearB1Cu3oG1RjWwjn40ExNpdne5zRN
Wg+6wHJjqgJ4pSlHyECNmuJir66+q+LbXiXlkspmSZrQZUvyqbabEPTnN8J042NC
mnaEUlv/gEfA2uAUcromxBFnBfYUw0/fSdhB6tHBTtd00kNvYj0o6oF+IIkWDRnu
arNQoj6ypfaAf9Cdryj0MorI8dlnt0I2grC4qd4saoo0lU3tQEyc6EEE+RdFckvl
LqLKt/KFBcP2u0x8Wry7iBDpuibQPnAtl5xz/clAVtzmvzwEasayXlBzwMcGVqyX
x/iDewdPNBol6nRuvRQb8sav3kFXDSXOCZx3444rL/hAgp7RV5bHcGxuerkC64/5
ufeDPfwPk+ujqUkgm8vtSbhHHjSJtwbv5kvZkb8Lj+U+vkmuQQEJTnvsLSB5Eab5
uirnotLPZd5jFPg19vuqHtsiYRU8kwDBeadHMNzUdy1sNqGZXPRa6sNetXmRG7Cx
jMwrktVg/x6+sPmLC+bvxN+dU1as6a4zLwkY4L2RgLj5F9quqReUJlT+vUPF529V
hL6O7KpkTWnt7QnT93QPf+SaEqvIbVP8ZMkTJD/8YaWH9wx3/jVcacEC5aVaBV73
oD3zAhMkUEQ+18SnKNIpYImKI7mq1GmWuqACfNWGv4yOa6VQTund1aDlI+MzFkgR
UfTjsbDgCr4=
=GGy4
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to