Solved

Finding Dependencies and dependencies resolution in SuSE Linux

Posted on 2013-01-07
2
222 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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é.
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

749 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