update error

Asked by crakken

I recently ran the adept manager which always runs fine. but this time it returned an error. I tried to fix it manually with apt-get -f install, and dpkg --configure -a, but I keep getting errors. Here is what it says.

mike@Mike:~$ sudo apt-get -f 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:
  kdepimlibs5-dev libbluetooth-dev x11proto-xf86misc-dev libnm-util-dev libsasl2-dev
  libcaptury-dev libldap2-dev libxxf86misc-dev libstrigiqtdbusclient-dev
  python-kde4-dev libxklavier12-dev libusb-dev libpth-dev cvs python-qt4-dev
  libraw1394-dev libdbus-glib-1-dev libgpgme11-dev compizconfig-backend-kconfig
  libqimageblitz-dev libpam0g-dev network-manager-dev kdesdk-scripts libsensors-dev
  libcapseo-dev libxkbfile-dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  kdebase-workspace-data
The following NEW packages will be installed:
  kdebase-workspace-data
0 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
1 not fully installed or removed.
Need to get 0B/7355kB of archives.
After this operation, 12.5MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 155558 files and directories currently installed.)
Unpacking kdebase-workspace-data (from .../kdebase-workspace-data_4%3a4.2.0-0ubuntu1~intrepid1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/kdebase-workspace-data_4%3a4.2.0-0ubuntu1~intrepid1_all.deb (--unpack):
 trying to overwrite `/usr/share/doc/kde4/HTML/en/kcontrol/windowbehaviour/index.cache.bz2', which is also in package kde-window-manager
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/kdebase-workspace-data_4%3a4.2.0-0ubuntu1~intrepid1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
mike@Mike:~$

can you help?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
crakken
Solved:
Last query:
Last reply:
Revision history for this message
Tomasz 'Zen' Napierala (tzn) said :
#1

Hi,
Looks like this package is not properly built. Are you using official Kubuntu repos? Would you please paste contents of /etc/apt/sources.list and all files under /etc/apt/sources.list.d/ ?

Revision history for this message
crakken (mjasinski12000) said :
#2

I tried to restart my computer, but the desktop doesn't show up. It is running, but the screen is all black, and none of the windows will show up. If I run dpkg --configure -a it says that kdebase-workspace-bin depends on kdebase-workspace-data and it is not installed. If I try to install it then I get the error code above. I have been using Kubuntu interpid for about 7 months now and have never had a problem with any of the updates. How can I paste the contents of the file if I can't get the desktop to work?

Revision history for this message
crakken (mjasinski12000) said :
#3

I managed to fix the problem.