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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dleyna-core (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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 dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libbrlapi0.6 libdleyna-
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
libdleyna-
The following packages will be upgraded:
dleyna-server
1 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 67.4 kB of archives.
After this operation, 53.2 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https:/
Get:2 https:/
Fetched 67.4 kB in 0s (169 kB/s)
Selecting previously unselected package libdleyna-
(Reading database ... 233097 files and directories currently installed.)
Preparing to unpack .../libdleyna-
Unpacking libdleyna-
dpkg: error processing archive /var/cache/
0-3_amd64.deb (--unpack):
trying to overwrite '/usr/lib/
ich is also in package libdleyna-
Preparing to unpack .../dleyna-
Unpacking dleyna-server (0.6.0-1build1) over (0.6.0-1) ...
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ 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-
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-
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
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)
Fixed it for now by doing:
sudo apt purge dleyna-server libdleyna- core-1. 0-3 libdleyna- core-1. 0-5
sudo apt install dleyna-server