Bug#888271: libpanel-applet-dev, libpanel-applet-doc: both ship /usr/share/doc/libpanel-applet-dev/AUTHORS

Dmitry Shachnev mitya57 at debian.org
Wed Jan 24 18:12:51 UTC 2018


Control: clone -1 -2
Control: reassign -2 debhelper 11.1.3
Control: retitle -2 debhelper: dh_installdocs main package functionality does not play well with -A option
Control: severity -2 important

On Wed, Jan 24, 2018 at 02:37:56PM +0100, Andreas Beckmann wrote:
> Package: libpanel-applet-dev,libpanel-applet-doc
> Version: 3.26.0-3
> Severity: serious
> User: debian-qa at lists.debian.org
> Usertags: piuparts
>
> Hi,
>
> during a test with piuparts I noticed your package failed to install
> because it tries to overwrite other packages files without declaring a
> Breaks+Replaces relation.
>
> See policy 7.6 at
> https://www.debian.org/doc/debian-policy/#overwriting-files-and-replacing-packages-replaces
>
> From the attached log (scroll to the bottom...):
>
>   Selecting previously unselected package libpanel-applet-doc.
>   Preparing to unpack .../libpanel-applet-doc_3.26.0-3_all.deb ...
>   Unpacking libpanel-applet-doc (3.26.0-3) ...
>   dpkg: error processing archive /var/cache/apt/archives/libpanel-applet-doc_3.26.0-3_all.deb (--unpack):
>    trying to overwrite '/usr/share/doc/libpanel-applet-dev/AUTHORS', which is also in package libpanel-applet-dev 3.26.0-3
>   dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
>   Errors were encountered while processing:
>    /var/cache/apt/archives/libpanel-applet-doc_3.26.0-3_all.deb
>
> This could be an effect of dh_installdocs in debhelper compat 11.

Indeed it is. In gnome-panel, we have the following code:

override_dh_installdocs:
        dh_installdocs -A ./AUTHORS ./NEWS ./README

But then debhelper detects that the main package for libpanel-applet-doc is
libpanel-applet-dev, and both these packages install
/usr/share/doc/libpanel-applet-dev/{AUTHORS,NEWS,README}.

This looks like a debhelper bug to me. But I will work around it in
gnome-panel, so cloning instead of reassigning.

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20180124/fc951907/attachment-0001.sig>


More information about the pkg-gnome-maintainers mailing list