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

Bug#955508: buster-pu: package el-api/3.0.0-2



Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian.org@packages.debian.org
Usertags: pu

Hello,

I would like to fix Debian bug #947844 in Buster which was introduced
by upgrading tomcat8 to version 8.5.50-0+deb9u1 in Stretch. When upgrading
libservlet3.1-java from Stretch to Buster, the upgrade will fail due
to an insufficient Breaks and Replaces relation in src:el-api. The
solution is to use << 9 for libservlet3.1-java. It will always be
correct for the remaining release cycle in Stretch because we will
never introduce tomcat9. I have tested the change and can confirm that
the upgrade works flawlessly now.

Please find attached the debdiff.

Regards,

Markus
diff -Nru el-api-3.0.0/debian/changelog el-api-3.0.0/debian/changelog
--- el-api-3.0.0/debian/changelog	2018-12-27 23:17:57.000000000 +0100
+++ el-api-3.0.0/debian/changelog	2020-04-01 20:59:11.000000000 +0200
@@ -1,3 +1,11 @@
+el-api (3.0.0-2+deb10u1) buster; urgency=medium
+
+  * Team upload.
+  * Change Breaks and Replaces for libservlet3.1-java to << 9 and fix dpkg
+    error when upgrading tomcat 8 from Stretch to Buster.
+
+ -- Markus Koschany <apo@debian.org>  Wed, 01 Apr 2020 20:59:11 +0200
+
 el-api (3.0.0-2) unstable; urgency=medium
 
   * Use a real pom for the 3.0 artifacts to improve the compatibility
diff -Nru el-api-3.0.0/debian/control el-api-3.0.0/debian/control
--- el-api-3.0.0/debian/control	2018-12-27 23:07:39.000000000 +0100
+++ el-api-3.0.0/debian/control	2020-04-01 20:59:11.000000000 +0200
@@ -17,8 +17,8 @@
 Architecture: all
 Depends: ${maven:Depends}, ${misc:Depends}
 Suggests: ${maven:OptionalDepends}
-Breaks: libservlet3.1-java (<< 8.5.35-3~), libservlet2.5-java
-Replaces: libservlet3.1-java (<< 8.5.35-3~), libservlet2.5-java
+Breaks: libservlet3.1-java (<< 9), libservlet2.5-java
+Replaces: libservlet3.1-java (<< 9), libservlet2.5-java
 Description: Expression Language API
  EL is a simple language designed to meet the needs of the presentation
  layer in Java web applications.

Reply to: