rpm list dependencies
By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. You are currently viewing LQ as a guest. For example, use the following command to check the dependencies of BitTorrent-5.2.2-1-Python2.4.noarch.rpm package. Looking for Linux Systems Analyst ! # cd ; rpm -i proj1-1.0-1.x86_64.rpm libtest1-1.0-1.x86_64.rpm The differencve between these yum and rpm invocations would only be visible if one of the packages listed to be installed had further dependencies on packages NOT listed on the command line. –resolve – When used with –requires, resolve capabilities to originating packages. rpm -q --whatrequires sqlite only reports dependencies on package names. Pete Pete. –requires – List package dependencies. I'm just trying to determine if any package depends on another one. – Acumenus Aug 27 '14 at 22:19. I think this will do to start. How to check dependencies of RPM Package before Installing. 3. rpm -q --provides -p file.rpm If you want to analyze all the packages that you have, and find what packages provides something that you are looking for, you can do this: files and Provides in addition to package names). Works for URLs too. Wait. This is the default. Use rpm with -qR keys:. So I then did: rpm -q --whatrequires glibc-2.5-12 and got back no package requires glibc-2.5-12. What's wrong here? Welcome to LinuxQuestions.org, a friendly and active Linux Community. 2. For more details, run: $ apt-cache --help. Let’s say you would like to do a dependency check before installing or upgrading a package. For example, if we'd like to see the dependencies of the package postfix, we … It will display the list of dependencies of package. RPM can make a sysadmin's life a lot easier by presenting these dependencies - and tools relying on RPM such as the rpm utility, or yum can automatically solve these dependencies, and install all additional packages needed for a new component to run properly. If you have a local RPM, you can get a list of dependencies via: rpm -qpR mediawiki-1.4rc1-4.i586.rpm Share. On SUSE and openSUSE, you can list the dependencies of a given package using "zypper" command as shown below. On the contrary, repoquery acts as follow (from manpages):--alldeps When used with --whatrequires, look for non-explicit dependencies in addition to explicit ones (e.g. The fast way to see dependencies of a package is using yum with deplist option. Follow answered Aug 19 '14 at 22:32. Improve this answer. rpm -qRp libXfont-1.2.2*.rpm To find which dependencies are provided by the package, you can use. ; package – rpm package name; Example: Example 2. You can tell rpm to ignore dependencies during system verification with the --nodeps. To list what depends on a package, say for example vim, run: $ apt-cache rdepends vim. Find out what dependencies a rpm file has: rpm -qpR mediawiki-1.4rc1-4.i586.rpm rpm -qR bash {package} - Replace with actual package name For more info see: yum command: Update / Install Packages Under Redhat Enterprise / CentOS Linux Version 5.x; up2date command to update Redhat enterprise Linux (RHEL) howto Look at the path: /root/nslookup. The rpm command can't find nslookup but it's installed because you've used it. As of RPM 2.2.2, -V (aka --verify) verifies package dependencies by default. If you want RPM to verify just dependencies and not file attributes (including file existence), use the --nofiles flag. There's no nslookup command in your current (root's home) directory. Or, $ man apt-cache. When I changed that to rpm -q --whatrequires glibc, I received a list of packages. # rpm -qf nslookup error: file /root/nslookup: No such file or directory. 547 1 1 gold badge 7 7 silver badges 15 15 bronze badges. rpm -qa | grep glibc and saw glibc-2.5-12 listed. The above command displays the packages that depend on the vim package.
Top Rubber Cable,
Mega Camerupt Smogon,
Rosliston Forestry Centre Events,
Most Individual Immunity Wins In Survivor By A Woman,
Search4less Sign In,
No Comments
Sorry, the comment form is closed at this time.