Bug#1034955: slurm-wlm-influxdb-plugin: missing Breaks+Replaces for slurm-wlm-basic-plugins when upgrading from bullseye
Package: slurm-wlm-influxdb-plugin
Version: 22.05.8-3
Severity: serious
Justification: dpkg unpack error
Attempting to unpack slurm-wlm-influxdb-plugin/22.05.8-3 from Debian bookworm
on a minimal Debian bullseye with slurm-wlm-basic-plugins/20.11.7+really20.11.4-2+deb11u1
installed, causes an unpack error from dpkg due to
/usr/lib/x86_64-linux-gnu/slurm-wlm/acct_gather_profile_influxdb.so being contained in both packages.
| Selecting previously unselected package slurm-wlm-influxdb-plugin.
| (Reading database ... 5770 files and directories currently installed.)
| Preparing to unpack .../slurm-wlm-influxdb-plugin_22.05.8-3_amd64.deb ...
| Unpacking slurm-wlm-influxdb-plugin (22.05.8-3) ...
| dpkg: error processing archive ./slurm-wlm-influxdb-plugin_22.05.8-3_amd64.deb (--unpack):
| trying to overwrite '/usr/lib/x86_64-linux-gnu/slurm-wlm/acct_gather_profile_influxdb.so', which is also in package slurm-wlm-basic-plugins 20.11.7+really20.11.4-2+deb11u1
| Errors were encountered while processing:
| ./slurm-wlm-influxdb-plugin_22.05.8-3_amd64.deb
Please ensure that slurm-wlm-influxdb-plugin has sufficient Breaks and Replaces declarations.
Helmut
Reply to: