Solved

Finding Dependencies and dependencies resolution in SuSE Linux

Posted on 2013-01-07
2
214 Views
Last Modified: 2014-01-21
Hi:

I have to install list of SuSE Linux files automatically and I am getting missing dependencies error.
I have the following meta data files from SuSE repository:

deltainfo.xml.gz
filelists.xml.gz
other.xml.gz
primary.xml.gz
products.xml
repomd.xml
repomd.xml.asc
repomd.xml.key
susedata.xml.gz
updateinfo.xml.gz.


I am extracting list of file to download from updateinfo.xml.gz . Then I have the dependencies from primary.xml.gz. I don't have the URL/location of the dependencies.

Can you please help me obtain location of these dependencies and general locations.

Best Regards,

Sunnybrad
0
Comment
Question by:sunnybrad
2 Comments
 

Author Comment

by:sunnybrad
ID: 38753083
Hi:

In general, I also welcome comments on dependencies resolution in Linux.

Best Regards,

Sunnybrad
0
 
LVL 14

Accepted Solution

by:
ThomasMcA2 earned 500 total points
ID: 38798645
You can finding out what dependencies an rpm file has (i.e. it will tell you what packages you need to install) with following commands:
rpm -qpR {.rpm-file}
rpm -qR {package-name}

Open in new window


rpm --whatprovides library_name tells you which package provides a specific library
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now