[Python-modules-team] Bug#861305: python-cairo-dbg: unhandled symlink to directory conversion: /usr/share/doc/PACKAGE

Ivo De Decker ivodd at debian.org
Sun Apr 30 15:58:44 UTC 2017


Control: tags -1 patch

Hi,

On Thu, Apr 27, 2017 at 10:40:40AM +0200, Andreas Beckmann wrote:
> 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 on i386:
> 
>   lenny -> squeeze -> wheezy -> jessie -> stretch

This issue, introduced during the lenny -> squeeze upgrade, can be fixed by
using symlink_to_dir. The attached patch should fix it.

Cheers,

Ivo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pycairo_861305.diff
Type: text/x-diff
Size: 949 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20170430/c4bb9918/attachment.diff>


More information about the Python-modules-team mailing list