Package: release.debian.org
Control: affects -1 + src:7zip
X-Debbugs-Cc: [email protected]
User: [email protected], [email protected]
Usertags: pu
Tags: trixie
X-Debbugs-Cc: [email protected]
Severity: normal

[ Reason ]

During the p7zip->7zip migration, the Breaks/Replace fields were introduced before p7zip became a transitional package: they target the p7zip/bookworm <= 16.02+dfsg-8, instead of << 16.02+transitional.1.

This leaves no room for a bookworm security update, which is planned #1132466.

This update fixes the Breaks/Replace fields, following the good practices from https://wiki.debian.org/PackageTransition.

[ Impact ]

File conflicts on /usr/bin/7z* during a bookworm->trixie upgrade.

[ Tests ]

A bookworm VM was setup, with the planned bookworm security update installed, then upgraded to trixie, to reproduce the issue. Then tried again with the proposed fix.

7zip/trixie was also backported to oldstable-backports with this debian/control fix, allowing direct testing.

[ Risks ]

None.

[ 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
      (only affects bookworm->trixie upgrade)

[ Changes ]

Updates the Breaks/Replace fields to be << trixie-version rather than <= bookworm-version.

[ Other info ]

The change was discussed with and approved by the maintainer (in Cc):
https://lists.debian.org/debian-lts/2026/04/msg00005.html
https://salsa.debian.org/debian/7zip/-/commit/f6b1d6aa8721a3ccd34c69f458fd146e49e2ef5c

I'm preparing the SPU on his behalf.
diff -Nru 7zip-25.01+dfsg/debian/changelog 7zip-25.01+dfsg/debian/changelog
--- 7zip-25.01+dfsg/debian/changelog	2025-10-13 17:21:03.000000000 +0200
+++ 7zip-25.01+dfsg/debian/changelog	2026-04-10 15:08:58.000000000 +0200
@@ -1,3 +1,13 @@
+7zip (25.01+dfsg-1~deb13u2) trixie; urgency=medium
+
+  * Non-maintainer upload by the LTS Security Team.
+
+  [ YOKOTA Hiroshi ]
+  * Relax "breaks"/"replaces" line in debian/control, allowing for
+    p7zip/p7zip-rar/7zip OSPU.
+
+ -- Sylvain Beucler <[email protected]>  Fri, 10 Apr 2026 15:08:58 +0200
+
 7zip (25.01+dfsg-1~deb13u1) trixie; urgency=medium
 
   * New upstream version 25.01+dfsg
diff -Nru 7zip-25.01+dfsg/debian/control 7zip-25.01+dfsg/debian/control
--- 7zip-25.01+dfsg/debian/control	2025-08-10 16:35:05.000000000 +0200
+++ 7zip-25.01+dfsg/debian/control	2026-04-10 15:08:58.000000000 +0200
@@ -18,10 +18,10 @@
          ${shlibs:Depends}
 Suggests: 7zip-standalone,
           7zip-rar
-Breaks: p7zip-full (<= 16.02+dfsg-8),
-        p7zip (<= 16.02+dfsg-8)
-Replaces: p7zip-full (<= 16.02+dfsg-8),
-          p7zip (<= 16.02+dfsg-8)
+Breaks: p7zip-full (<< 16.02+transitional.1),
+        p7zip (<< 16.02+transitional.1)
+Replaces: p7zip-full (<< 16.02+transitional.1),
+          p7zip (<< 16.02+transitional.1)
 Provides: p7zip-full,
           p7zip
 Description: 7-Zip file archiver with a high compression ratio
@@ -51,7 +51,7 @@
 Depends: ${misc:Depends},
          ${shlibs:Depends}
 Suggests: 7zip (= ${binary:Version})
-Replaces: 7zip (<< 23.01+dfsg-4~)
+Replaces: 7zip (<< 25.01+dfsg-1~)
 Description: 7-Zip file archiver with a high compression ratio (standalone)
  7-Zip is a file archiver with a high compression ratio.
  .

Reply via email to