Unable to remove package with unmet dependencies
I attempted to install KDE Plasma on Ubuntu but it failed reporting an error containing the following:
... package kaccounts-providers (not installed) failed to install/upgrade: trying to overwrite '/etc/signon-
Turns out that this is a known bug ( #1573787 reported by Robert M on 2016-04-22).
In the error message it suggests running
-Dell-System-
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:
linux-
linux-
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
kde-config-
The following NEW packages will be installed:
kde-config-
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/137 kB of archives.
After this operation, 825 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 321971 files and directories currently installed.)
Preparing to unpack .../kde-
Unpacking kde-config-
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/share/
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
I now just want to remove KDE Plasma without breaking the rest of the system. I've read that I can use
sudo dpkg --remove package --force-all. But, I'm afraid I'll break soemthing and make things worse.
I would appreciate any advise on on backing out this failed installation.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mark Rijckenberg
- Solved:
- Last query:
- Last reply: