PDA

View Full Version : installing kjumpingcube broke kde!



bennyp
05-09-2004, 06:27 PM
i apt-get installed kjumpingcube, and to do that it overwrote a whole bunch of core kde components, mnow kde's busted.. i can't use the kmenu or konqueror, and i can't reistannl kde cause apt-get wont let me!!


sudo knoppix@box:~$ sudo apt-get install kdelibs
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
kdelibs: Depends: kdelibs-data (>= 4:3.2.2-2) but 4:3.1.4-3 is to be installed
kdelibs4: Depends: kdelibs-data (>= 4:3.2.1) but 4:3.1.4-3 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
knoppix@box:~$ sudo apt-get install kdelibs kdelibs-data
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
kdelibs
The following packages will be upgraded
kdelibs-data
1 upgraded, 1 newly installed, 0 to remove and 726 not upgraded.
13 not fully installed or removed.
Need to get 16.1kB/6396kB of archives.
After unpacking 2884kB of additional disk space will be used.
Get:1 http://ftp.de.debian.org testing/main kdelibs 4:3.2.2-2 [16.1kB]
Fetched 16.1kB in 1s (12.8kB/s)
(Reading database ... 113941 files and directories currently installed.)
Preparing to replace kdelibs-data 4:3.1.4-3 (using .../kdelibs-data_4%3a3.2.2-2_all.deb) ...
Unpacking replacement kdelibs-data ...
dpkg: error processing /var/cache/apt/archives/kdelibs-data_4%3a3.2.2-2_all.deb (--unpack):
trying to overwrite `/usr/share/mimelnk/application/vnd.sun.xml.calc.desktop', which is also in package openoffice-de-en
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Selecting previously deselected package kdelibs.
Unpacking kdelibs (from .../kdelibs_4%3a3.2.2-2_all.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/kdelibs-data_4%3a3.2.2-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


ARGH!!! and just when i had gotten over my last problem

Rink
05-09-2004, 07:51 PM
Hey man, I really feel for you!

This happened to me, and I had to reinstall from the knoppix CD. see http://www.knoppix.net/forum/viewtopic.php?t=9578&highlight=

I haven't tried out the solution mooted in this thread so I'm not sure if it would work.

Fortunately I had a seperate partition onto which I had mounted /home and copies of some key configuration files. Oh, and the /var/cache/apt/archives/.

So reinstalling was comparatively painless.

bennyp
05-13-2004, 06:22 PM
Now i just want to totally uninstall kde and all it's accessories so i'll at least be abnle to install things again.. how do i do that?

Durand Hicks
05-13-2004, 07:03 PM
First, you need to remove the broken package so that apt-get will work. Start by opening a console as root and type:
dpkg --purge kdelibs-data kdelibs4 This will remove all of kde, not to mention the broken packages and it's configuration files unless you were prudent enough to backup your configuration files in your home directory. Once done, you can try
apt-get -f install
Followed with a simulation for a base KDE install:
apt-get -s install -t unstable kde-core
If the output looks good, then remove the -s and let it go thru. If you rather have all of KDE, do this
apt-get -s install -t unstable kde
Remove the -s if the output looks good. In the future, you might want to use the -s switch with apt-get to make sure the new/upgraded packages won't break something before committing to the act.

HTH,

Durand