I'm having the exact same problem as the OP. I've tried 'sudo apt-get -f install', however this fails too.
Code:
tom@BlacKnight:~$ sudo apt-get remove kubuntu-kde4-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these:
The following packages have unmet dependencies.
kwin-kde4: Depends: kde-window-manager but it is not going to be installed
E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).
tom@BlacKnight:~$
Code:
tom@BlacKnight:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies...Done
The following extra packages will be installed:
kde-window-manager
The following NEW packages will be installed
kde-window-manager
0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.
28 not fully installed or removed.
Need to get 0B/1394kB of archives.
After this operation, 4477kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
kde-window-manager
Install these packages without verification [y/N]? y
(Reading database ... 162528 files and directories currently installed.)
Unpacking kde-window-manager (from .../kde-window-manager_4%3a4.1.0-0ubuntu1~hardy1~ppa2_i386.deb) ...
Replacing files in old package kdebase-workspace-data ...
dpkg: error processing /var/cache/apt/archives/kde-window-manager_4%3a4.1.0-0ubuntu1~hardy1~ppa2_i386.deb (--unpack):
trying to overwrite `/usr/lib/kde4/share/doc/kde4/HTML/en/kcontrol/kwindecoration/index.docbook', which is also in package kdebase-runtime-data
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/kde-window-manager_4%3a4.1.0-0ubuntu1~hardy1~ppa2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
tom@BlacKnight:~$
This is really annoying, because I'm unable to use my package manager! I can't even install/remove anything using the terminal, as it wishes to fix this broken package using sudo apt-get -f install.
Bookmarks