Bug#972465: unpack error when installing together

Helmut Grohne helmut at subdivi.de
Sun Oct 18 21:59:22 BST 2020


Package: libmkldnn1,libdnnl1
Severity: serious

When trying to install both libmkldnn1 and libdnnl1, dpkg errors out:

| Unpacking libdnnl1:amd64 (2.0~beta8+ds-2) ...
| Selecting previously unselected package libmkldnn1:amd64.
| Preparing to unpack .../libmkldnn1_2.0~beta4-1_amd64.deb ...
| Unpacking libmkldnn1:amd64 (2.0~beta4-1) ...
| dpkg: error processing archive /var/cache/apt/archives/libmkldnn1_2.0~beta4-1_amd64.deb (--unpack):
|  trying to overwrite '/usr/lib/x86_64-linux-gnu/libdnnl.so.1', which is also in package libdnnl1:amd64 2.0~beta8+ds-2
| Errors were encountered while processing:
|  /var/cache/apt/archives/libmkldnn1_2.0~beta4-1_amd64.deb
| E: Sub-process /usr/bin/dpkg returned an error code (1)

If I understand things correctly, libmkldnn1 is supposed to go away in
favour of libdnnl1. If that is the case, at the very least libdnnl1
should add Breaks and Replaces on libmkldnnl1.

Helmut



More information about the debian-science-maintainers mailing list