LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-16-2005, 11:39 AM   #1
vice
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Resolving RPM dependencies


This is on SUSE 9 ent. server.

I installed the first 2 CDs but not the rest. Now I would like to know how to install all the software packages off the 3rd CD. I mounted it and see 510 RPM packages. When I try to install with:

rpm -ivh *

it waits a long time and does nothing.

When I try to install them one by one, it fails to resolve dependencies. Says such and such needs this rpm, etc.. it would take me hours to install all this.

Is there a tool I can use to resolve dependencies and automate this install? There doesn't appear to be a built-in switch in RPM.
 
Old 06-16-2005, 11:58 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
The first command of.. rpm -ivh * would work but its going to take awhile.. and its probably wise to go ahead and add a --nodeps on there as well, so it installs without checking for dependencies.. and since you'll be most likely instaling the dependencies each package needs.

But 510 packages is alot, are you sure you want to install everything listed?
 
Old 06-16-2005, 12:00 PM   #3
SuSE-friend
Member
 
Registered: Jun 2005
Distribution: SuSE 9.0 / 9.1 / 9.2 - Knoppix - Ipcop.org
Posts: 31

Rep: Reputation: 15
I think SuSE Enterprise Server is no freeware and comes with Support and is to be paid ...

Resolving dependencies problems is maybe somehow easy ... (if you got the ".RPMs" you need)

Make a folder - copy the content there in - open YAST - add installation source -local - (that folder)

Now use YAST (should be no more a problem of that dependencies - if the software is in those folder)

(or as superuser root - go into a folder rpm --install *.* - but using yast would be better)
 
Old 06-16-2005, 04:54 PM   #4
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Rep: Reputation: 31
Red Hat Enterprise has the --aid option which installs all dependencies for any package on the installation CDs. I'm not sure if it's a valid parameter in Suse or not. Give it a try.
 
Old 06-16-2005, 09:05 PM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
You could also try re-installing, and select the custom install option, then select all packages.
 
Old 06-17-2005, 10:14 AM   #6
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Rep: Reputation: 31
bigrigdriver, I'm sure that Suse comes with tools to install software after installation. Red hat has redhat-config-packages and I think that Suse can do the same thing using Yast. No need for re-installation.
 
  


Reply



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
Auto Resolving Dependencies John_Emad SUSE / openSUSE 2 06-16-2005 04:39 AM
yast2 resolving dependencies swan2925 SUSE / openSUSE 7 05-09-2005 03:17 AM
Need help resolving some dependencies. obelxi Linux - General 2 03-16-2005 02:57 PM
resolving dependencies without a mandrake.net subscription ben_build#2.1.0 Mandriva 6 11-28-2004 10:03 PM
Resolving dependencies Calcutec Linux - Software 4 09-08-2002 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:59 PM.

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
Open Source Consulting | Domain Registration