[pkg-uWSGI-devel] Bug#1035005: uwsgi-plugin-jvm-openjdk-17: missing Breaks+Replaces for uwsgi-plugin-jvm-openjdk-11 when upgrading from bullseye

Helmut Grohne helmut at subdivi.de
Thu Apr 27 13:59:24 BST 2023


Package: uwsgi-plugin-jvm-openjdk-17
Version: 2.0.21-5
Severity: serious
Justification: dpkg unpack error

Attempting to unpack uwsgi-plugin-jvm-openjdk-17/2.0.21-5 from Debian bookworm
on a minimal Debian bullseye with uwsgi-plugin-jvm-openjdk-11/2.0.19.1-7.1
installed, causes an unpack error from dpkg due to
/usr/share/java/uwsgi.jar being contained in both packages.

| Selecting previously unselected package uwsgi-plugin-jvm-openjdk-17.
| (Reading database ... 6132 files and directories currently installed.)
| Preparing to unpack .../uwsgi-plugin-jvm-openjdk-17_2.0.21-5_amd64.deb ...
| Unpacking uwsgi-plugin-jvm-openjdk-17 (2.0.21-5) ...
| dpkg: error processing archive ./uwsgi-plugin-jvm-openjdk-17_2.0.21-5_amd64.deb (--unpack):
|  trying to overwrite '/usr/share/java/uwsgi.jar', which is also in package uwsgi-plugin-jvm-openjdk-11 2.0.19.1-7.1
| Errors were encountered while processing:
|  ./uwsgi-plugin-jvm-openjdk-17_2.0.21-5_amd64.deb


Please ensure that uwsgi-plugin-jvm-openjdk-17 has sufficient Breaks and Replaces declarations.

Helmut



More information about the pkg-uWSGI-devel mailing list