On doing a daily apt update && apt dist-upgrade on focal apt hit this error. Whilst apt suggest to fix using `apt install -f` this does not resolve it:
$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libbrlapi0.6 libdleyna-core-1.0-3 libxen-4.9 libxenstore3.0
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libdleyna-core-1.0-5
The following NEW packages will be installed:
libdleyna-core-1.0-5
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
Need to get 0 B/13.3 kB of archives.
After this operation, 53.2 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 233097 files and directories currently installed.)
Preparing to unpack .../libdleyna-core-1.0-5_0.6.0-3_amd64.deb ...
Unpacking libdleyna-core-1.0-5:amd64 (0.6.0-3) ...
dpkg: error processing archive /var/cache/apt/archives/libdleyna-core-1.0-5_0.6.0-3_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libdleyna-core-1.0.so.5.0.0', which is also in package libdleyna-core-1.0-3:amd64 0.6.0-1
Errors were encountered while processing:
/var/cache/apt/archives/libdleyna-core-1.0-5_0.6.0-3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo apt remove --purge libdleyna-core-1.0-3
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
dleyna-server : Depends: libdleyna-core-1.0-5 (>= 0.6.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: libdleyna-core-1.0-5 (not installed)
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu16
AptOrdering:
libdleyna-core-1.0-5:amd64: Install
dleyna-server:amd64: Install
NULL: ConfigurePending
Architecture: amd64
Date: Tue Feb 11 13:03:53 2020
DpkgTerminalLog:
Preparing to unpack .../libdleyna-core-1.0-5_0.6.0-3_amd64.deb ...
Unpacking libdleyna-core-1.0-5:amd64 (0.6.0-3) ...
[1mdpkg:[0m error processing archive /var/cache/apt/archives/libdleyna-core-1.0-5_0.6.0-3_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libdleyna-core-1.0.so.5.0.0', which is also in package libdleyna-core-1.0-3:amd64 0.6.0-1
ErrorMessage: trying to overwrite '/usr/lib/x86_64-linux-gnu/libdleyna-core-1.0.so.5.0.0', which is also in package libdleyna-core-1.0-3:amd64 0.6.0-1
InstallationDate: Installed on 2019-11-18 (84 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
Python3Details: /usr/bin/python3.7, Python 3.7.6, python3-minimal, 3.7.5-1ubuntu1
PythonDetails: N/A
RelatedPackageVersions:
dpkg 1.19.7ubuntu2
apt 1.9.9
SourcePackage: dleyna-core
Title: package libdleyna-core-1.0-5 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/libdleyna-core-1.0.so.5.0.0', which is also in package libdleyna-core-1.0-3:amd64 0.6.0-1
UpgradeStatus: Upgraded to focal on 2020-01-22 (19 days ago)
On doing a daily apt update && apt dist-upgrade on focal apt hit this error. Whilst apt suggest to fix using `apt install -f` this does not resolve it:
$ sudo apt --fix-broken install core-1. 0-3 libxen-4.9 libxenstore3.0 core-1. 0-5 core-1. 0-5 core-1. 0-5_0.6. 0-3_amd64. deb ... core-1. 0-5:amd64 (0.6.0-3) ... apt/archives/ libdleyna- core-1. 0-5_0.6. 0-3_amd64. deb (--unpack): x86_64- linux-gnu/ libdleyna- core-1. 0.so.5. 0.0', which is also in package libdleyna- core-1. 0-3:amd64 0.6.0-1 apt/archives/ libdleyna- core-1. 0-5_0.6. 0-3_amd64. deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libbrlapi0.6 libdleyna-
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libdleyna-
The following NEW packages will be installed:
libdleyna-
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
Need to get 0 B/13.3 kB of archives.
After this operation, 53.2 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 233097 files and directories currently installed.)
Preparing to unpack .../libdleyna-
Unpacking libdleyna-
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/lib/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo apt remove --purge libdleyna- core-1. 0-3 core-1. 0-5 (>= 0.6.0) but it is not going to be installed
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
dleyna-server : Depends: libdleyna-
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
ProblemType: Package core-1. 0-5 (not installed) ature: Ubuntu 5.4.0-12.15-generic 5.4.8 dules: zfs zunicode zavl icp zcommon znvpair core-1. 0-5:amd64: Install server: amd64: Install core-1. 0-5_0.6. 0-3_amd64. deb ... core-1. 0-5:amd64 (0.6.0-3) ... apt/archives/ libdleyna- core-1. 0-5_0.6. 0-3_amd64. deb (--unpack): x86_64- linux-gnu/ libdleyna- core-1. 0.so.5. 0.0', which is also in package libdleyna- core-1. 0-3:amd64 0.6.0-1 x86_64- linux-gnu/ libdleyna- core-1. 0.so.5. 0.0', which is also in package libdleyna- core-1. 0-3:amd64 0.6.0-1 ersions: core-1. 0-5 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/ x86_64- linux-gnu/ libdleyna- core-1. 0.so.5. 0.0', which is also in package libdleyna- core-1. 0-3:amd64 0.6.0-1
DistroRelease: Ubuntu 20.04
Package: libdleyna-
ProcVersionSign
Uname: Linux 5.4.0-12-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu16
AptOrdering:
libdleyna-
dleyna-
NULL: ConfigurePending
Architecture: amd64
Date: Tue Feb 11 13:03:53 2020
DpkgTerminalLog:
Preparing to unpack .../libdleyna-
Unpacking libdleyna-
[1mdpkg:[0m error processing archive /var/cache/
trying to overwrite '/usr/lib/
ErrorMessage: trying to overwrite '/usr/lib/
InstallationDate: Installed on 2019-11-18 (84 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
Python3Details: /usr/bin/python3.7, Python 3.7.6, python3-minimal, 3.7.5-1ubuntu1
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu2
apt 1.9.9
SourcePackage: dleyna-core
Title: package libdleyna-
UpgradeStatus: Upgraded to focal on 2020-01-22 (19 days ago)