Package: libuhd4.3.0
Version: 4.3.0.0+ds1-4
Severity: serious
Tags: patch
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

while libuhd3.15.0 from bullseye and libuhd4.3.0 from bookworm are
co-installable (by keeping libboost-regex1.74.0 at the bullseye version
which provides the virtual libboost-regex1.74.0-icu67), this causes apt
on several bullseye->bookworm upgrade paths to keep the obsolete
libboost-regex1.74.0-icu67 installed by not upgrading some upgradable
packages.
If we instead add a Breaks against the obsolete libuhd3.15.0, this will
help apt making the right choice: removing libuhd3.15.0 (and a bunch of
other obsolete libraries depending on it), making
libboost-regex1.74.0-icu67 less used and easier to be replaced with
libboost-regex1.74.0-icu72 (by simply upgrading libboost-regex1.74.0).

Please consider applying the attached patch.


Andreas
diff -Nru uhd-4.3.0.0+ds1/debian/changelog uhd-4.3.0.0+ds1/debian/changelog
--- uhd-4.3.0.0+ds1/debian/changelog    2022-12-16 04:21:07.000000000 +0100
+++ uhd-4.3.0.0+ds1/debian/changelog    2023-05-11 12:21:51.000000000 +0200
@@ -1,3 +1,10 @@
+uhd (4.3.0.0+ds1-5) UNRELEASED; urgency=medium
+
+  * libuhd4.3.0: Add Breaks: libuhd3.15.0 for smoother upgrades from bullseye.
+    (Closes: #)
+
+ -- Andreas Beckmann <a...@debian.org>  Thu, 11 May 2023 12:21:51 +0200
+
 uhd (4.3.0.0+ds1-4) unstable; urgency=medium
 
   [ Luca Boccassi ]
diff -Nru uhd-4.3.0.0+ds1/debian/control uhd-4.3.0.0+ds1/debian/control
--- uhd-4.3.0.0+ds1/debian/control      2022-09-13 04:47:53.000000000 +0200
+++ uhd-4.3.0.0+ds1/debian/control      2023-05-11 12:21:50.000000000 +0200
@@ -63,6 +63,7 @@
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Suggests: uhd-host
+Breaks: libuhd3.15.0 (<< 4)
 Multi-Arch: same
 Description: universal hardware driver for Ettus Research products - library
  Host library for the Universal Hardware Driver for Ettus Research products.

Reply via email to