LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   problem with apt-get (https://www.linuxquestions.org/questions/debian-26/problem-with-apt-get-174966/)

patiscool 04-27-2004 12:00 AM

problem with apt-get
 
root@superubercool:/home/Pat# apt-get upgrade
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.5-1 is installed
kdelibs4: Depends: kdelibs-data (>= 4:3.2.1) but 4:3.1.5-1 is installed
E: Unmet dependencies. Try using -f.

root@superubercool:/home/Pat# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
kdelibs-data
The following packages will be upgraded:
kdelibs-data
1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
64 not fully installed or removed.
Need to get 0B/6380kB of archives.
After unpacking 3420kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 139098 files and directories currently installed.)
Preparing to replace kdelibs-data 4:3.1.5-1 (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)
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)


all of the programs on my desktop don't work anymore, and i have to run them all by going into /usr/bin/ which isn't very fun.... any ideas on how to fix this would be awesome.

HappyTux 04-27-2004 12:16 AM

Use dpkg -i --force-overwrite /var/cache/apt/archives/kdelibs-data_4%3a3.2.2-2_all.deb and then dpkg --configure -a to configure any packages that may have been missed when the error occurred. You may want to use dpkg -l | grep 3.1.[345] to make sure that you do not have packages still at the old 3.1 version, to upgrade the package(s) if necessary apt-get install -t unstable package(s)_to_be_installed.

patiscool 04-27-2004 12:19 AM

okay cool, that worked.

thanks for the quick reply :D


All times are GMT -5. The time now is 06:33 AM.