RHEL 4: Find up2date command module / library dependencies
Q. I'm using RHEL 4.x as database server. How can I run the up2date command to find out what package will satisfy library / module dependencies via RHN?
A.Update Agent provides a complete system for updating the RPM packages installed on a Red Hat Enterprise Linux system. Both command line and graphical interfaces are included.
Update Agent has a quite a few configuration options, including but not limited to: installing packages after they are downloaded; downloading source RPMs along with binary RPMs; whether or not to upgrade packages where the default configuration file(s) have been modified, and more.
--whatprovides=<dependencies> option
Use the following syntax to query the RHN servers to resolve the comma separated list of dependencies. It will return a list of packages that will satisfy these dependencies:
up2date --whatprovides=<dependencies>
For example, if an error read as follows:
error: failed dependencies:
libxyz.so is needed by httpd
libabc.so.1 is needed by httpd
To find out all libs or module dependencies in any of the package, enter:
# up2date --whatprovides=libxyz.so,libabc.so.1
Output:
packagename-1.15
Now just install packagename-1.15:
# up2date packagename
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- up2date command to update Redhat enterprise Linux (RHEL) howto
- How do I find what dependencies a rpm file has?
- Add a package group using up2date command
- Patch and Update Redhat Enterprise Linux / CentOS 5 server
- OpenBSD install BASH shell package
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: binary rpms, enterprise linux, library module, red hat enterprise, rhel, rhn, rpm dependencies, source rpms, up2date, up2date dependencies, up2date_command



Recent Comments
Today ~ 3 Comments
Today ~ 57 Comments
Yesterday ~ 9 Comments
Yesterday ~ 7 Comments
Yesterday ~ 1 Comment