Showing posts with label RPM. Show all posts
Showing posts with label RPM. Show all posts

Monday, September 19, 2011

How to have the RPM command search dependencies

typically you would type

rpm -ivh

If you type

rpm -ivh --aid

It will search for dependencies to download.

Source:  Link

RPM Dependency Errors

Ever get an error like this?

[root@centos Desktop]# rpm -ivh --aid google-chrome-stable_current_i386.rpm
warning: google-chrome-stable_current_i386.rpm: Header V4 DSA signature: NOKEY, key ID 7fac5991
error: Failed dependencies:
        libc.so.6(GLIBC_2.11) is needed by google-chrome-stable-14.0.835.163-101024.i386
        libcurl.so.4 is needed by google-chrome-stable-14.0.835.163-101024.i386
        xdg-utils is needed by google-chrome-stable-14.0.835.163-101024.i386

Great tip I found was you can type yum whatprovides libcurl.so.4and yum will tell you what packages installs that.

OS: CentOS 5

Source: Link

ShareThis