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
Solved

Finding Dependencies and dependencies resolution in SuSE Linux

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Red Hat 7 Linux on Azure cannot run a command as root 22 51
awk sed 8 65
how to configure linux OS using Ubuntu 7 58
Samba Question 11 74
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
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.

839 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