LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Circular dependency (https://www.linuxquestions.org/questions/linux-software-2/circular-dependency-159747/)

c0d1f1ed 03-19-2004 05:24 AM

Circular dependency
 
I'm tryint to install the newest KDevelop on Red Hat 9...

It has several main dependencies, among which KDE 3.2.1. So I dowloaded all the newest RPMs. But no matter which one I first start installing, they all depend on each other!

Is there any way out of this? Or a fool-proof way to install KDevelop 3?

Thanks!

jschiwal 03-19-2004 05:31 AM

There is a readme file somewhere on the KDE website which gives the order that you need to install the rpms. With Mandrake, I use urpmi, and give more than one rpm to install on the command line. I don't know if that would work with the RPM command, But might be worth a try.

c0d1f1ed 03-19-2004 05:51 AM

The first package I should install is Qt. It gives me this output:

# rpm -Uvh qt-3.3.1-0.2.i386.rpm
error: Failed dependencies:
libdesigner.so.1 is needed by (installed) qt-designer-3.1.1-6
libeditor.so.1 is needed by (installed) qt-designer-3.1.1-6
libqassistantclient.so.1 is needed by (installed) qt-designer-3.1.1-6
libqassistantclient.so.1 is needed by (installed) PyQt-3.5-5
qt = 1:3.1.1-6 is needed by (installed) qt-devel-3.1.1-6
/usr/lib/qt-3.1 is needed by (installed) redhat-artwork-0.73-1

I don't understand any of that...

Fuzzy Gnome 03-19-2004 09:29 AM

If you put the set of rpms in their own folder, then enter rpm -U *.rpm rpm will sort it all out automatically. It's done it for me, anyway. Try it.

c0d1f1ed 03-19-2004 09:39 AM

Quote:

Originally posted by Fuzzy Gnome
If you put the set of rpms in their own folder, then enter rpm -U *.rpm rpm will sort it all out automatically. It's done it for me, anyway. Try it.
Thanks, it does seem to automate the process a bit!

I still get errors though:

error: Failed dependencies:
libsensors.so.2 is needed by kdebase-3.2.1-0.1
libsmbclient.so.0 is needed by kdebase-3.2.1-0.1
libxml2 >= 2.5.11 is needed by kdebase-3.2.1-0.1
redhat-menus >= 0.40 is needed by kdebase-3.2.1-0.1
libdb-4.1.so is needed by kdevelop-3.0.2-0.1
libqassistantclient.so.1 is needed by (installed) PyQt-3.5-5

Horror... Do I need to find the packages to which these files belong as well?

Fuzzy Gnome 03-19-2004 03:09 PM

I think so. Search the web for them. Try rpmfind or google or rpm.pbone.net

mmurch01 03-19-2004 04:01 PM

Quote:

Originally posted by c0d1f1ed
Thanks, it does seem to automate the process a bit!

I still get errors though:

error: Failed dependencies:
libsensors.so.2 is needed by kdebase-3.2.1-0.1
libsmbclient.so.0 is needed by kdebase-3.2.1-0.1
libxml2 >= 2.5.11 is needed by kdebase-3.2.1-0.1
redhat-menus >= 0.40 is needed by kdebase-3.2.1-0.1
libdb-4.1.so is needed by kdevelop-3.0.2-0.1
libqassistantclient.so.1 is needed by (installed) PyQt-3.5-5

Horror... Do I need to find the packages to which these files belong as well?

I just wanted to say that that last sentence made me laugh. Thanks for that! Dependencies are a bitch sometimes. Have you tried apt-get? It will download and install the packages correctly in lieu of the "horrific" dependencies.

tk31337 03-19-2004 04:57 PM

"Have you tried apt-get?"

I don't think for an RPM-based system this is the most ideal solution. AFAIK, if you use apt-get, any packages you download will not be in the RPM database. There is apt-rpm which I've never tried. I'd personally recommend Ximian's Red Carpet 2. You can use it on the command line like apt-get, but has it's own built-in graphical interface as well :-). It's very intuitive to use, and It Just Works (TM) ;-).

mmurch01 03-19-2004 05:10 PM

use SuSE, so rpm's are installed and updated through Yast, so, you would know better than I! ;)

c0d1f1ed 03-19-2004 07:01 PM

Quote:

Originally posted by mmurch01
use SuSE, so rpm's are installed and updated through Yast, so, you would know better than I! ;)
Unfortunately, I am forced to use Red Hat because this is what they use on the university system I have to work on. Thanks for the suggestion anyway, I might start using SuSE at home.

I'll see if Ximian's Red Carpet 2 lets me install the newest KDevelop on Red Hat...

heema 03-19-2004 07:24 PM

you need to install the dependencies in the order thats outputed to u , that means u should install liblm_sensors2-2.8.0-4 first

tk31337 03-20-2004 01:20 AM

Red Carpet 2 is available for SuSE, RH, Mandrake, and several other RPM-based distros, so if you prefer Red Hat, you don't need to switch your distro. Also, although YaST is a great tool for system configuration (and I'm excited about it being GPL'd soon :D), I'd still prefer Red Carpet 2 for package management. I'm not even sure if YaST can install packages from remote source, and even if you can, you probably have to setup the mirrors manually like in urpmi for Mandrake (could be wrong, it's been a while since I used SuSE). Now that Novell owns both Ximian and SuSE, hopefully we'll see more integration between YaST and RC2, and since they'll both be licensed under the GPL, we could start to see some of that integration come from the community :).

c0d1f1ed 03-20-2004 07:30 AM

Would you believe...

...I'm having trouble installing Red Carpet. It has dependencies as well:

error: Failed dependencies:
glibc >= 2.3.2-27.9 is needed by red-carpet-2.2.2-0.ximian.6.0
rcd >= 2.0 is needed by red-carpet-2.2.2-0.ximian.6.0

So, on the PBone site I searched for glibc and rcd. Glibc has another dependency for glibc-common. And that one gives me, again, a dependency:

error: Failed dependencies:
glibc-common = 2.3.2-11.9 is needed by (installed) glibc-2.3.2-11.9

What? Does this mean I need an older version of glibc-common first or something? I probably already downloaded half a gigabyte of RPM files just to install KDevelop 3 (10 MB)!

Are there any shortcuts out of this misery?

c0d1f1ed 03-20-2004 08:01 AM

I think I'm going insane:

error: Failed dependencies:
glibc-common = 2.3.2-11.9 is needed by (installed) glibc-2.3.2-11.9
# rpm -U glibc-common-2.3.2-11.9.i386.rpm
package glibc-common-2.3.2-11.9 is already installed

It's right there, but the depencencies fail? What causes this?

c0d1f1ed 03-20-2004 10:41 AM

Help me, I'm getting burned in the RPM hell! :cry:


All times are GMT -5. The time now is 06:29 PM.