[Pkg-kde-extras] Bug#793869: libqtcurve-utils2: fails to install, trying to overwrite other packages files: /usr/lib/x86_64-linux-gnu/libqtcurve-utils.so.2.0

Andreas Beckmann anbe at debian.org
Tue Jul 28 10:22:29 UTC 2015


Package: libqtcurve-utils2
Version: 1.8.18+git20150711-a3fff13-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/ch-relationships.html#s-replaces

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package libqtcurve-utils2:amd64.
  (Reading database ... 7851 files and directories currently installed.)
  Preparing to unpack .../libqtcurve-utils2_1.8.18+git20150711-a3fff13-3_amd64.deb ...
  Unpacking libqtcurve-utils2:amd64 (1.8.18+git20150711-a3fff13-3) ...
  dpkg: error processing archive /var/cache/apt/archives/libqtcurve-utils2_1.8.18+git20150711-a3fff13-3_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/libqtcurve-utils.so.2.0', which is also in package libqtcurve-utils1:amd64 1.8.18+git20150711-a3fff13-2
  Errors were encountered while processing:
   /var/cache/apt/archives/libqtcurve-utils2_1.8.18+git20150711-a3fff13-3_amd64.deb


You'll probably need

  Package:  libqtcurve-utils2
  Breaks:   libqtcurve-utils1 (>= $VER~)
  Replaces: libqtcurve-utils1 (>= $VER~)

where $VER is the version that incorrectly bumped the soname inside libqtcurve-utils1.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libqtcurve-utils1=1.8.18+git20150711-a3fff13-2_libqtcurve-utils2=1.8.18+git20150711-a3fff13-3.log.gz
Type: application/gzip
Size: 8949 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20150728/1144b4eb/attachment.bin>


More information about the pkg-kde-extras mailing list