Bug#1036737: libsoapysdr0.8: please add Breaks: libsoapysdr0.7 for smoother upgrades from bullseye
On 08/09/2023 17.18, Andreas Bombe wrote: The SoapySDR library and module packages are designed to be co-installable across SONAME versions and if something prevents that it is an issue that needs fixing. Could you tell me what the specific issue was that prevented co-installation? There is no file conflict or similar issue between the libsoapysdr0.x packages, theoretically they would be co-installable. The problem is in the dependency trees of the 0.7 (bullseye) and 0.8 (bookworm) packages, there is at least one package in conflict, so the dependency trees are not co-installable. Since this is sometimes hard for apt to figure out properly (and choose the "correct" solution: remove the complete old package tree that is in conflict (but currently installed)), we have to hint apt with some additional Breaks ... Andreas
Bug#1036737: libsoapysdr0.8: please add Breaks: libsoapysdr0.7 for smoother upgrades from bullseye
severity 1036737 normal tags 1036737 - patch thanks [resend just to the bug because it was still archived before] On Thu, May 25, 2023 at 03:08:22AM +0200, Andreas Beckmann wrote: > 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. It is unfortunate that I neglected the package at that time and did not look at the underlying issue. I reverted the Breaks added in the team upload now, in any case. The SoapySDR library and module packages are designed to be co-installable across SONAME versions and if something prevents that it is an issue that needs fixing. Could you tell me what the specific issue was that prevented co-installation?
Bug#1036737: libsoapysdr0.8: please add Breaks: libsoapysdr0.7 for smoother upgrades from bullseye
On Fri, May 26, 2023 at 10:18:50PM +0200, Christoph Berg wrote: > Re: tony mancill > > In any event, I think the change is good and am planning to upload, > > provided there are no concerns from the Debian Hams. > > Looks good to me. > > Christoph Thank you Christoph. I should have run lintian sooner - it comes back: W: libsoapysdr0.8: breaks-without-version libsoapysdr0.7 N: N: This package declares a Breaks relationship with another package that has no version number. Normally, Breaks should be used to indicate an N: incompatibility with a specific version of another package, or with all versions predating a fix. If the two packages can never be installed at the same N: time, Conflicts should normally be used instead. N: N: Note this tag can also be issued if a package has been split into two completely new ones. In this case, this package is missing a Replaces on the old N: package. N: N: Please refer to Packages which break other packages - Breaks (Section 7.3) in the Debian Policy Manual, Conflicting binary packages - Conflicts (Section N: 7.4) in the Debian Policy Manual, and Bug#605744 for details. N: N: Visibility: warning N: Show-Always: no N: Check: fields/package-relations However, I trust Andreas on this one, and we can adjust as needed later. Cheers, tony signature.asc Description: PGP signature
Bug#1036737: libsoapysdr0.8: please add Breaks: libsoapysdr0.7 for smoother upgrades from bullseye
Re: tony mancill > In any event, I think the change is good and am planning to upload, > provided there are no concerns from the Debian Hams. Looks good to me. Christoph
Bug#1036737: libsoapysdr0.8: please add Breaks: libsoapysdr0.7 for smoother upgrades from bullseye
On Thu, May 25, 2023 at 03:08:22AM +0200, Andreas Beckmann wrote: > 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. Hi Andreas, Thank you for the patch. I have prepared a package for upload. I didn't see any problems with piuparts with the new package, but in the interest of full disclosure, I also couldn't reproduce the piuparts failure with 0.8.1-2. (Perhaps you could share the invocation you used to identify the problem?) In any event, I think the change is good and am planning to upload, provided there are no concerns from the Debian Hams. Cheers, tony signature.asc Description: PGP signature
Bug#1036737: libsoapysdr0.8: please add Breaks: libsoapysdr0.7 for smoother upgrades from bullseye
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 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 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