RHEL 4: Find up2date command module / library dependencies

Cpanel/Whm License $3/mo Plesk License $10/mo Cloudlinux License $5/mo

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=&ltdependencies>

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

Posted by: SXI ADMIN

The author is the creator of SXI LLC and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Related posts

Zuckerberg to Study Crypto in Quest to Fix Facebook

SXI ADMIN

Zooko Wilcox Envisions ‘Ambitious’ Changes for Zcash Cryptocurrency

SXI ADMIN

ZombieChain Comes Alive: Can Ethereum Sidechains Save the Dapps?

SXI ADMIN

ZoKrates Seeks to Bring Best of Zcash to Ethereum with Devcon Debut

SXI ADMIN

Zk-Starks? New Take on Zcash Tech Could Power Truly Private Blockchains

SXI ADMIN

Zk-Snarks Everywhere: Ethereum Privacy Tech Hits Tipping Point

SXI ADMIN

ZipZap to Offer Cash-for-Bitcoin Service at 28,000 UK Locations

SXI ADMIN

ZipZap Resumes Cash-to-Bitcoin Services for UK Shoppers

SXI ADMIN

ZipZap Raises $1.1 Million to Grow Global Bitcoin Payments Network

SXI ADMIN

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More