Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Finding Dependencies and dependencies resolution in SuSE Linux

Posted on 2013-01-07
2
Medium Priority
?
230 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 2000 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

Not sure which OpenStack Certification to get?

So you’ve realized you might want to get certified in OpenStack, but you’re not sure what the benefits might be or even which one you should take. You know there are several certification courses you can choose from, but how do you know which one is right for you?

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

715 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