Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian....@packages.debian.org
Usertags: pu
Control: block 1043058 with -1
Control: affects -1 + src:libesmtp

[ Reason ]
libesmtp6 uses Replaces without corresponding Breaks, leaving a crippled
libesmtp5 package behind. Version the Replaces and add matching Breaks
to ensure the obsolete libesmtp5 gets removed rather than crippled.

[ Impact ]
QA tools failing due to libesmtp5 losing files.

[ Tests ]
Manual piuparts upgrade tests of the affected upgrade paths.

[ Risks ]
Low, adds B+R against a package no longer in the archive.

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

[ Changes ]
+libesmtp (1.1.0-3.1~deb12u1) bookworm; urgency=medium
+
+  * Non-maintainer upload.
+  * Rebuild for bookworm.
+
+ -- Andreas Beckmann <a...@debian.org>  Thu, 28 Mar 2024 12:08:24 +0100
+
+libesmtp (1.1.0-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * libesmtp6: Add versioned Replaces and Breaks against
+    libesmtp5 (<< 1.0.6-1~) (Closes: #1043058)
+
+ -- Salvatore Bonaccorso <car...@debian.org>  Sat, 19 Aug 2023 12:04:32 +0200

 changelog |   15 +++++++++++++++
 control   |    3 ++-
 2 files changed, 17 insertions(+), 1 deletion(-)

[ Other info ]
This is a rebuild of the package from sid with no further changes.
I'll directly upload the fixed package after filing this bug.

Andreas
diff -Nru libesmtp-1.1.0/debian/changelog libesmtp-1.1.0/debian/changelog
--- libesmtp-1.1.0/debian/changelog     2021-10-24 19:55:32.000000000 +0200
+++ libesmtp-1.1.0/debian/changelog     2024-03-28 12:08:24.000000000 +0100
@@ -1,3 +1,18 @@
+libesmtp (1.1.0-3.1~deb12u1) bookworm; urgency=medium
+
+  * Non-maintainer upload.
+  * Rebuild for bookworm.
+
+ -- Andreas Beckmann <a...@debian.org>  Thu, 28 Mar 2024 12:08:24 +0100
+
+libesmtp (1.1.0-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * libesmtp6: Add versioned Replaces and Breaks against
+    libesmtp5 (<< 1.0.6-1~) (Closes: #1043058)
+
+ -- Salvatore Bonaccorso <car...@debian.org>  Sat, 19 Aug 2023 12:04:32 +0200
+
 libesmtp (1.1.0-3) unstable; urgency=medium
 
   * debian: Clean up build environment
diff -Nru libesmtp-1.1.0/debian/control libesmtp-1.1.0/debian/control
--- libesmtp-1.1.0/debian/control       2021-10-24 19:34:07.000000000 +0200
+++ libesmtp-1.1.0/debian/control       2023-08-19 12:04:32.000000000 +0200
@@ -17,7 +17,8 @@
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Replaces: libesmtp5
+Replaces: libesmtp5 (<< 1.0.6-1~)
+Breaks: libesmtp5 (<< 1.0.6-1~)
 Description: LibESMTP SMTP client library
  LibESMTP is a library to manage posting (or submission of) electronic
  mail using SMTP to a preconfigured Mail Transport Agent (MTA) such as

Reply via email to