[oclug] RPM dependancy prob

fred jensen fredj at nortext.com
Tue Sep 6 15:48:05 EDT 2005


On Sep 6, 2005, at 3:15 PM, Rosberg, Michael wrote:

> I'm attempting to install the latest Cacti trending package from RPM on
> a FC4 box. I have installed all of the software that Cacti depends on.
> One of these dependencies (RRDTool) I compiled and installed from
> source, the rest all via RPM. Now, when I go to install Cacti it
> complains that RRDTool is a failed dependency.
>
> Do RPM dependencies have to be installed by RPM?

RPM maintains its own database of installed packages - if you install 
from source it doesn't know they are there. AFAIK there is a way to 
manually add stuff to the RPM database so it knows about them, but I 
dunno how. Alternatively you can roll your own rpms from source, but 
with simple stuff like RRDTool its often more work than its worth.

> Is there any way that I
> can make the Cacti package aware on my RRDTool install?

RPM used to (on RedHat 7) have an option to force it to ignore 
dependencies.
I think it was --nodeps. Try man rpm...

>
> [root at dvbrcspop/download]# rpm -ivh cacti-0.8.6f.fc4.i386.rpm
> error: Failed dependencies:
>         rrdtool is needed by cacti-0.8.6f-1.i386
>
>
> TKS
> MikeR.
> --
> OCLUG general discussion list
> OCLUG at lists.oclug.on.ca
> http://www.oclug.on.ca/mailman/listinfo/oclug
>



More information about the OCLUG mailing list