Package: libipmimonitoring6
Version: 1.6.3-1.1

When upgrading using apt dist-upgrade from stretch to buster the following
happened for me:

The following packages will be REMOVED:
  libfreeipmi16 libipmimonitoring5a libsensors4
The following NEW packages will be installed:
  libfreeipmi17 libipmimonitoring6 libsensors-config libsensors5
The following packages will be upgraded:
  freeipmi-common freeipmi-ipmiseld freeipmi-tools ipmitool libipmiconsole2
  libipmidetect0 libsnmp30 lm-sensors nut-ipmi openipmi snmpd
11 upgraded, 4 newly installed, 3 to remove and 0 not upgraded.
Need to get 0 B/5.585 kB of archives.
After this operation, 794 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Reading changelogs... Done
Preconfiguring packages ...
Selecting previously unselected package libipmimonitoring6.
(Reading database ... 66734 files and directories currently installed.)
Preparing to unpack .../libipmimonitoring6_1.6.3-1.1_amd64.deb ...
Unpacking libipmimonitoring6 (1.6.3-1.1) ...
dpkg: error processing archive 
/var/cache/apt/archives/libipmimonitoring6_1.6.3-1.1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/man5/ipmi_monitoring_sensors.conf.5.gz', 
which is also in package libipmimonitoring5a 1.4.11-1.1+b1
Preparing to unpack .../nut-ipmi_2.7.4-8_amd64.deb ...
Unpacking nut-ipmi (2.7.4-8) over (2.7.4-5) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libipmimonitoring6_1.6.3-1.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

(the nut-ipmi stuff above is unrelated; this is a straight copy of the output)

Fixing this with apt install -f fixed the problem for me by replacing the
package properly and the following rerun of dist-upgrade ran all the way
through, but since it halts the dist-upgrade it is still a bit unplesant.

Maybe the new package should have a Conflicts header?

Thanks

Best regards
Morten

Reply via email to