Installing RPM Dependencies

I am trying to install dbus-1.1.2-12.el5.i386 but I get the error

"dbus-libs = 1.1.2-12.el5 requires dbus-1.1.2-12.el5.i386": - (

So I downloaded "dbus-libs-1.1.2-12.el5.i386.rpm" in the same directory and ran rpm -ivh dbus-1.1.2-12.el5.i386 again, but I still got the same error. While searching the forums, I found that RPM takes care of dependencies if they are present in the same directory. but it doesn't work with the -ivh option

0


a source to share


2 answers


Steve B is right:

yum install dbus-libs
yum install dbus

      

yum will also let you do "whatprovides" on a package:

yum whatprovides dbus-libs

      

This will show you if you have another version of dbus-libs installed on your system, it reveals which repositories provide the package and which ones are provided (locally).

Also useful:

rpm -q dbus

      



which will show packages that are installed locally as would:

rpm -q dbus-libs

      

or

rpm -qa | grep 'dbus'

      

You may find that you already have a headphone version of dbus installed, in this case:

yum -y update dbus

      

Hope it helps. http://www.of-networks.co.uk

+2


a source


Before installing dbus, you need to install dependent RPMs. You should also know that this is the hard way, these days RPM-based distributions usually have a dependency management system so you don't have to do it manually. for example on Redhat / Fedora / Centos you can simply type "yum install mypackagename".



0


a source







All Articles