[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#650511: libbt0: undeclared Conflicts/Replaces with libbt



tags 650511 + patch
thanks

On Wed, Nov 30, 2011 at 12:36:28PM +0100, Jakub Wilk wrote:
> # apt-get install -qq libbt
> debconf: delaying package configuration, since apt-utils is not installed
> Selecting previously unselected package libxext6.
> (Reading database ... 12618 files and directories currently installed.)
> Unpacking libxext6 (from .../libxext6_2%3a1.3.0-3_amd64.deb) ...
> Selecting previously unselected package libbt0.
> Unpacking libbt0 (from .../libbt0_0.70.1-4_amd64.deb) ...
> dpkg: error processing /var/cache/apt/archives/libbt0_0.70.1-4_amd64.deb (--unpack):
>  trying to overwrite '/usr/lib/libbt.so.0.0.0', which is also in package libbt 0.70.1-3
> configured to not write apport reports
>                                       dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
> Preparing to replace libbt 0.70.1-3 (using .../libbt_0.70.1-4_all.deb) ...
> Unpacking replacement libbt ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/libbt0_0.70.1-4_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)

added Replaces/Breaks: libbt0 (<< 0.70.1-4) to libbt.
patch attached.
-- 
Regards,
	dai

GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E
diff -Nru blackbox-0.70.1/debian/control blackbox-0.70.1/debian/control
--- blackbox-0.70.1/debian/control	2011-11-23 16:32:22.000000000 +0900
+++ blackbox-0.70.1/debian/control	2011-11-30 21:22:40.000000000 +0900
@@ -75,6 +75,8 @@
 Priority: extra
 Architecture: all
 Depends: ${misc:Depends}, libbt0 (>= ${source:Version})
+Breaks: libbt0 (<< 0.70.1-4)
+Replaces: libbt0 (<< 0.70.1-4)
 Description: transitional package for libbt0
  This is a dummy package to aid in transitioning from libbt to libbt0.
  This dummy package may be safely removed after upgrading to wheezy.

Attachment: signature.asc
Description: Digital signature


Reply to: