[Debian-med-packaging] Bug#901818: libmdc3: trying to overwrite '/usr/lib/x86_64-linux-gnu/libmdc.so.3.0.0', which is also in package libmdc2 0.15.0-1

Axel Beckert abe at debian.org
Mon Jun 18 20:50:33 BST 2018


Package: libmdc3
Severity: serious
Version: 0.15.0+dfsg-1

Hi,

trying to upgrade medcon and xmedcon fails during the installation of
libmdc3 as follows:

Selecting previously unselected package libmdc3.
Preparing to unpack .../282-libmdc3_0.15.0+dfsg-1_amd64.deb ...
Unpacking libmdc3 (0.15.0+dfsg-1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-On0UWs/282-libmdc3_0.15.0+dfsg-1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libmdc.so.3.0.0', which is also in package libmdc2 0.15.0-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
[…]
dpkg: dependency problems prevent configuration of xmedcon:
 xmedcon depends on libmdc3; however:
  Package libmdc3 is not installed.

dpkg: error processing package xmedcon (--configure):
 dependency problems - leaving unconfigured
[…]
dpkg: dependency problems prevent configuration of medcon:
 medcon depends on libmdc3; however:
  Package libmdc3 is not installed.

dpkg: error processing package medcon (--configure):
 dependency problems - leaving unconfigured
[…]
Errors were encountered while processing:
 xmedcon
 medcon

Looks as if proper Breaks and Replaces headers are missing in the
libmdc3 package. I do see a "Replaces: libmdc" and a "Conflicts: libmdc"
header, but those look (based on this specific header combination) like
a rather old package renaming.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled



More information about the Debian-med-packaging mailing list