How does rpm check dependencies




















This example tests an RPM package file, sendmail The sendmail package depends on a lot of other parts of the system, as you can see in the response to the command shown previously.

Most of the dependencies are for system libraries all the dependencies ending in. This package requires other capabilities packages in this case. It also requires the chkconfig package at a specific version, version 1. The sendmail package also requires a particular version of the RPM system the rpmlib dependency. Always check what a package requires before installing the package.

You can also use the --test option when trying to install the package to first test whether the installation can proceed. The rpm command will perform all these checks for you anyway.

Checking in advance, though, with the --test option, helps avoid dependency hell with circular dependencies. You can also check for what an installed package requires with the --requires option. For example:. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. How to list RPM dependencies? Ask Question.

Asked 11 years ago. Active 3 years ago. Viewed k times. Our production server is running CentOS release 5. Here is the output of the command: rpm -qa grep sqlite python-sqlite Improve this question. Gnanam Gnanam 1, 11 11 gold badges 25 25 silver badges 32 32 bronze badges.

Add a comment. Active Oldest Votes. Improve this answer. My OS is bit. Can 2 architecture packages co-exist in the same server? That's exactly what the question asked for. Yeah unfortunately google sends "everybody straight here" if you google "list RPM dependencies" -- google has scope creeped the question! Regardless, see davey's answer for any followers desiring that functionality. Asclepius Asclepius Sign up or log in Sign up using Google.

Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete?

Podcast Do polyglots have an edge when it comes to mastering programming Featured on Meta. Now live: A fully responsive profile.

Linked 0. Related Hot Network Questions. Question feed. Stack Overflow works best with JavaScript enabled.



0コメント

  • 1000 / 1000