Solved

Finding Dependencies and dependencies resolution in SuSE Linux

Posted on 2013-01-07
2
226 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

626 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