PDA

View Full Version : kdelibs4 problem with apt-get unstable



kgw
03-08-2004, 04:53 AM
I think I have things set up now to use the right sources to upgrade my knoppix 3.2 install to debian unstable. I got my usual anxiousness to move to a new level when kde 3.2 came out and messed with things. As it moves into unstable, I have resolve to just stay with unstable rather than install other new packages before they get there.

On this quest, I have run into a problem. When I do an apt-get upgrade I get this:

root@full:/home/ken# 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.1-1) but 4:3.2.0-0+cvs20040204+cm is installed
kdelibs4: Depends: kdelibs-data (>= 4:3.2.1) but 4:3.2.0-0+cvs20040204+cm is installed
xlibmesa-gl-dev: Depends: xlibmesa-gl (= 4.3.0-5) but it is not installed
Depends: x-dev but it is not installed
Depends: libxext-dev but it is not installed
Depends: libx11-dev but it is not installed
xlibs-dev: Depends: libice-dev but it is not installed
Depends: libsm-dev but it is not installed
Depends: libx11-dev but it is not installed
Depends: libxext-dev but it is not installed
Depends: libxi-dev but it is not installed
Depends: libxmu-dev but it is not installed
Depends: libxmuu-dev but it is not installed
Depends: libxp-dev but it is not installed
Depends: libxpm-dev but it is not installed
Depends: libxrandr-dev but it is not installed
Depends: libxt-dev but it is not installed
Depends: libxtrap-dev but it is not installed
Depends: libxtst-dev but it is not installed
Depends: libxv-dev but it is not installed
Depends: pm-dev but it is not installed
Depends: x-dev but it is not installed
xlibs-static-dev: Depends: x-dev but it is not installed
Depends: libxext-dev but it is not installed
Depends: libxv-dev but it is not installed
Depends: libx11-dev but it is not installed
E: Unmet dependencies. Try using -f.



I have tried apt-get -f install as shown below. I have tried to remove the open-office package that creates the conflict but apt-get won't remove it for the same reason it won't install the many packages it is trying to upgrade.


I have poured over apt howto and google searches, but I am stuck. Can someone tell me the magic words to solve this???

Thanks.

Ken


root@full:/home/ken# 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.1-1) but 4:3.2.0-0+cvs20040204+cm is installed
kdelibs4: Depends: kdelibs-data (>= 4:3.2.1) but 4:3.2.0-0+cvs20040204+cm is installed
xlibmesa-gl-dev: Depends: xlibmesa-gl (= 4.3.0-5) but it is not installed
Depends: x-dev but it is not installed
Depends: libxext-dev but it is not installed
Depends: libx11-dev but it is not installed
xlibs-dev: Depends: libice-dev but it is not installed
Depends: libsm-dev but it is not installed
Depends: libx11-dev but it is not installed
Depends: libxext-dev but it is not installed
Depends: libxi-dev but it is not installed
Depends: libxmu-dev but it is not installed
Depends: libxmuu-dev but it is not installed
Depends: libxp-dev but it is not installed
Depends: libxpm-dev but it is not installed
Depends: libxrandr-dev but it is not installed
Depends: libxt-dev but it is not installed
Depends: libxtrap-dev but it is not installed
Depends: libxtst-dev but it is not installed
Depends: libxv-dev but it is not installed
Depends: pm-dev but it is not installed
Depends: x-dev but it is not installed
xlibs-static-dev: Depends: x-dev but it is not installed
Depends: libxext-dev but it is not installed
Depends: libxv-dev but it is not installed
Depends: libx11-dev but it is not installed
E: Unmet dependencies. Try using -f.
root@full:/home/ken# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
kdelibs-data libice-dev libsm-dev libx11-dev libxext-dev libxi-dev
libxmu-dev libxmuu-dev libxp-dev libxpm-dev libxrandr-dev libxt-dev
libxtrap-dev libxtst-dev libxv-dev pm-dev x-dev xlibmesa-gl
Suggested packages:
xlibmesa-dri
The following packages will be REMOVED:
xlibmesa4-dri xlibmesa4-gl
The following NEW packages will be installed:
libice-dev libsm-dev libx11-dev libxext-dev libxi-dev libxmu-dev
libxmuu-dev libxp-dev libxpm-dev libxrandr-dev libxt-dev libxtrap-dev
libxtst-dev libxv-dev pm-dev x-dev xlibmesa-gl
The following packages will be upgraded:
kdelibs-data
1 upgraded, 17 newly installed, 2 to remove and 354 not upgraded.
26 not fully installed or removed.
Need to get 0B/10.7MB of archives.
After unpacking 1524kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 110136 files and directories currently installed.)
Preparing to replace kdelibs-data 4:3.2.0-0+cvs20040204+cm (using .../kdelibs-data_4%3a3.2.1-1_all.deb) ...
Unpacking replacement kdelibs-data ...
dpkg: error processing /var/cache/apt/archives/kdelibs-data_4%3a3.2.1-1_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.1-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@full:/home/ken# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
kdelibs-data libice-dev libsm-dev libx11-dev libxext-dev libxi-dev
libxmu-dev libxmuu-dev libxp-dev libxpm-dev libxrandr-dev libxt-dev
libxtrap-dev libxtst-dev libxv-dev pm-dev x-dev xlibmesa-gl
Suggested packages:
xlibmesa-dri
The following packages will be REMOVED:
xlibmesa4-dri xlibmesa4-gl
The following NEW packages will be installed:
libice-dev libsm-dev libx11-dev libxext-dev libxi-dev libxmu-dev
libxmuu-dev libxp-dev libxpm-dev libxrandr-dev libxt-dev libxtrap-dev
libxtst-dev libxv-dev pm-dev x-dev xlibmesa-gl
The following packages will be upgraded:
kdelibs-data
1 upgraded, 17 newly installed, 2 to remove and 354 not upgraded.
26 not fully installed or removed.
Need to get 0B/10.7MB of archives.
After unpacking 1524kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 110136 files and directories currently installed.)
Preparing to replace kdelibs-data 4:3.2.0-0+cvs20040204+cm (using .../kdelibs-data_4%3a3.2.1-1_all.deb) ...
Unpacking replacement kdelibs-data ...
dpkg: error processing /var/cache/apt/archives/kdelibs-data_4%3a3.2.1-1_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.1-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@full:/home/ken# # dpkg --force overwrite -i /var/cache/apt/archives/kdelibs-data_4%3a3.2.1-1_all.deb

Stephen
03-08-2004, 06:44 AM
It wants the package xlibmesa-gl from unstable for X so apt-get install xlibmesa-gl/unstable. For the KDE problems you have the right idea with the --force-overwrite you will have to do that a few times depending on how much of the CVS you have installed. After doing the force overwrite you should dpkg --configure -a to configure the packages that were not configured when the error happened you will do this one a few times as well. To check for leftovers from the CVS use COLUMNS=125 dpkg -l | grep 3.2.0-0+c and either upgrade them to the new packages or remove them if their is no new package it is not named correctly for official Debian. And forget the -f advice from apt use apt-get install -s -t unstable package package2 ... until the packages it complains about being missing are satisfied and will install remove the -s from the line to actually install.

kgw
03-09-2004, 03:59 AM
Thanks for the help. Worked great!
Ken