LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-19-2004, 06:24 AM   #1
c0d1f1ed
Member
 
Registered: Mar 2004
Location: Ottawa, Ontario
Distribution: Ubuntu 12.04
Posts: 30

Rep: Reputation: 15
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!
 
Old 03-19-2004, 06:31 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
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.
 
Old 03-19-2004, 06:51 AM   #3
c0d1f1ed
Member
 
Registered: Mar 2004
Location: Ottawa, Ontario
Distribution: Ubuntu 12.04
Posts: 30

Original Poster
Rep: Reputation: 15
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...
 
Old 03-19-2004, 10:29 AM   #4
Fuzzy Gnome
LQ Newbie
 
Registered: Mar 2004
Distribution: Red Hat 9
Posts: 13

Rep: Reputation: 0
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.
 
Old 03-19-2004, 10:39 AM   #5
c0d1f1ed
Member
 
Registered: Mar 2004
Location: Ottawa, Ontario
Distribution: Ubuntu 12.04
Posts: 30

Original Poster
Rep: Reputation: 15
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?
 
Old 03-19-2004, 04:09 PM   #6
Fuzzy Gnome
LQ Newbie
 
Registered: Mar 2004
Distribution: Red Hat 9
Posts: 13

Rep: Reputation: 0
I think so. Search the web for them. Try rpmfind or google or rpm.pbone.net
 
Old 03-19-2004, 05:01 PM   #7
mmurch01
Member
 
Registered: Jan 2004
Location: Michigan
Distribution: Redhat 9
Posts: 102

Rep: Reputation: 15
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.
 
Old 03-19-2004, 05:57 PM   #8
tk31337
Member
 
Registered: Oct 2003
Location: Tucson, AZ
Distribution: Mandrake 10.0 Official
Posts: 193

Rep: Reputation: 31
"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) ;-).
 
Old 03-19-2004, 06:10 PM   #9
mmurch01
Member
 
Registered: Jan 2004
Location: Michigan
Distribution: Redhat 9
Posts: 102

Rep: Reputation: 15
use SuSE, so rpm's are installed and updated through Yast, so, you would know better than I!
 
Old 03-19-2004, 08:01 PM   #10
c0d1f1ed
Member
 
Registered: Mar 2004
Location: Ottawa, Ontario
Distribution: Ubuntu 12.04
Posts: 30

Original Poster
Rep: Reputation: 15
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...
 
Old 03-19-2004, 08:24 PM   #11
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
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
 
Old 03-20-2004, 02:20 AM   #12
tk31337
Member
 
Registered: Oct 2003
Location: Tucson, AZ
Distribution: Mandrake 10.0 Official
Posts: 193

Rep: Reputation: 31
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 ), 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 .
 
Old 03-20-2004, 08:30 AM   #13
c0d1f1ed
Member
 
Registered: Mar 2004
Location: Ottawa, Ontario
Distribution: Ubuntu 12.04
Posts: 30

Original Poster
Rep: Reputation: 15
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?
 
Old 03-20-2004, 09:01 AM   #14
c0d1f1ed
Member
 
Registered: Mar 2004
Location: Ottawa, Ontario
Distribution: Ubuntu 12.04
Posts: 30

Original Poster
Rep: Reputation: 15
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?
 
Old 03-20-2004, 11:41 AM   #15
c0d1f1ed
Member
 
Registered: Mar 2004
Location: Ottawa, Ontario
Distribution: Ubuntu 12.04
Posts: 30

Original Poster
Rep: Reputation: 15
Help me, I'm getting burned in the RPM hell!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libstdc++ : circular dependencies? yekrahs Linux - Software 21 10-23-2005 11:57 AM
how to solve failed dependency when dependency exists dwcramer Linux - Newbie 2 08-24-2004 10:03 PM
RPM Circular Dependancies - Another Way? Kilo Linux - General 3 02-19-2004 12:35 PM
circular deendencies for libqt3? mashenka Linux - Software 3 01-20-2004 05:50 PM
circular dependency acid_kewpie Linux - General 13 11-30-2001 03:57 PM


All times are GMT -5. The time now is 02:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration