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

Bug#1116053: trixie-pu: package libgpiod/2.2.1-2



Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: libgpiod@packages.debian.org
Control: affects -1 + src:libgpiod
User: release.debian.org@packages.debian.org
Usertags: pu

[ Reason ]

libgpiod3 incorrectly declares Breaks/Replaces on libgpiod2 and
libgpiod2t64, preventing co-installation of different SONAME versions.
This violates Debian library packaging policy.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110868

[ Impact ]

While official packages are unaffected, users with proprietary Debian
packaging which depends on libgpiod2 may encounter difficulties during
migration.

[ Tests ]

testing using chroots:

  - Bookworm → Trixie upgrade with Debian packages which depend on libgpiod2
  - Bookworm-backports → Trixie upgrade scenario
  - Trixie stable update scenario

All scenarios confirmed no dependency conflicts and successful operation.


[ Risks ]

Minimal risk - only removes incorrect constraints that shouldn't exist.

[ Checklist ]
  [X] *all* changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in (old)stable
  [X] the issue is verified as fixed in unstable

[ Changes ]

Remove the extraneous Breaks/Replaces declarations from debian/control
to allow proper library co-installation

[ Other info ]
diff -Nru libgpiod-2.2.1/debian/changelog libgpiod-2.2.1/debian/changelog
--- libgpiod-2.2.1/debian/changelog	2025-03-13 09:24:05.000000000 +0800
+++ libgpiod-2.2.1/debian/changelog	2025-09-12 21:55:14.000000000 +0800
@@ -1,3 +1,10 @@
+libgpiod (2.2.1-2+deb13u1) trixie; urgency=medium
+
+  * d/control: Remove Breaks/Replaces on libgpiod2 and libgpiod2t64.
+    This allows co-installation with older libraries. (Closes: #1110868)
+
+ -- Gavin Lai (賴建宇) <gavin09@gmail.com>  Fri, 12 Sep 2025 21:55:14 +0800
+
 libgpiod (2.2.1-2) unstable; urgency=medium
 
   * d/control: Add python3-setuptools into Build-Depends (Closes: #1100233)
diff -Nru libgpiod-2.2.1/debian/control libgpiod-2.2.1/debian/control
--- libgpiod-2.2.1/debian/control	2025-03-13 09:22:13.000000000 +0800
+++ libgpiod-2.2.1/debian/control	2025-09-12 21:55:14.000000000 +0800
@@ -63,10 +63,6 @@
  libraries.
 
 Package: libgpiod3
-Replaces: libgpiod2,
-          libgpiod2t64,
-Breaks: libgpiod2 (<< ${source:Version}),
-        libgpiod2t64 (<< ${source:Version}),
 Section: libs
 Architecture: linux-any
 Depends: ${shlibs:Depends},

Reply to: