Package: libsoapysdr0.8
Version: 0.8.1-2
Severity: serious
Tags: patch
User: debian...@lists.debian.org
Usertags: piuparts

The soapysdr library stacks from bullseye and bookworm are not
co-installable, but the transitive conflict behind longer dependency
chains is not always easy detectable by apt. Therefore several upgrade
paths result in old libraries being kept installed and some upgradable
packages being kept at an older version.

Making the conflict explicit between higher scoring packages helps apt
finding a better upgrade path.

Please consider applying the attached patch.

Andreas
>From 25ca6005f2c4afec53e20d7f5cb2529e1887f218 Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <a...@debian.org>
Date: Wed, 24 May 2023 09:37:52 +0200
Subject: [PATCH] libsoapysdr0.8: add Breaks: libsoapysdr0.7 for smoother
 upgrades from bullseye

---
 debian/changelog | 7 +++++++
 debian/control   | 1 +
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c75c280..c78de26 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+soapysdr (0.8.1-3) UNRELEASED; urgency=medium
+
+  * libsoapysdr0.8: Add Breaks: libsoapysdr0.7 for smoother upgrades from
+    bullseye.  (Closes: #)
+
+ -- Andreas Beckmann <a...@debian.org>  Wed, 24 May 2023 09:35:42 +0200
+
 soapysdr (0.8.1-2) unstable; urgency=medium
 
   * Upload to unstable
diff --git a/debian/control b/debian/control
index 5971f7f..40193f8 100644
--- a/debian/control
+++ b/debian/control
@@ -24,6 +24,7 @@ Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: soapysdr0.8-module-all | soapysdr0.8-module
+Breaks: libsoapysdr0.7
 Description: software defined radio interface library
  SoapySDR is a library providing a common interface to SDR (software
  defined radio) hardware. Support for different hardware is added through
-- 
2.20.1

Reply via email to