Package: libgsl27 Version: 2.7.1+dfsg-3 Severity: serious Tags: patch User: debian...@lists.debian.org Usertags: piuparts
Hi, libgsl25 from bullseye and libgsl27 from bookworm are not co-installable due to their strict dependency on libgslcblas0. Sometimes apt has problems handling this transitive conflict correctly (i.e. removing the obsolete library) and instead tries to keep the obsolete package installed and hold some upgradable packages at their bullseye versions. Turning the transitive conflict into an explicit one helps apt making the right choice. Please consider applying the attached patch. Andreas
>From 921fc21217b8f1d517b021e30ec86d443975694f Mon Sep 17 00:00:00 2001 From: Andreas Beckmann <a...@debian.org> Date: Thu, 11 May 2023 11:28:11 +0200 Subject: [PATCH] libgsl27: Add Breaks: libgsl25 for smoother upgrades from bullseye libgsl27 and libgsl25 are not co-installable due to their strict dependency on libgslcblas0. Let's make the transitive conflict explicit to help apt making the right choice, i.e. remove the obsolete library. Closes: # --- debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/control b/debian/control index 52d4b6a..350c94d 100644 --- a/debian/control +++ b/debian/control @@ -15,6 +15,7 @@ Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends}, libgslcblas0 (= ${binary:Version}) Conflicts: gsl, libgsl0, libgsl0ldbl +Breaks: libgsl25 Replaces: gsl, libgsl0 (<= 1.9-4), libgsl0ldbl (<= 1.16+dfsg-4) Suggests: gsl-ref-psdoc | gsl-doc-pdf | gsl-doc-info | gsl-ref-html Description: GNU Scientific Library (GSL) -- library package -- 2.20.1