Operating System - Linux
1826345 Members
3860 Online
109692 Solutions
New Discussion

compaq agents error: failed dependencies:

 
SOLVED
Go to solution
robert lojek_2
New Member

compaq agents error: failed dependencies:

I'm running RHAS 2.1 on dl-380 G2, upgraded to latest (compaq-supported) kernel (2.4.9-e8).

I'm trying to install these .rpm's from compaq's support site:

cmafdtn-6.10.0-6.i386.rpm
cmanic-6.10.0-2.i386.rpm
cmastor-6.10.0-6.i386.rpm
cmasvr-6.10.0-6.i386.rpm
cpqhealth-3.3.0-6.Redhat-AS-2-1.i386.rpm
ucd-snmp-4.2.4-1cmaX.12.i386.rpm
ucd-snmp-4.2.4-1cmaX.12.src.rpm
ucd-snmp-devel-4.2.4-1cmaX.12.i386.rpm
ucd-snmp-utils-4.2.4-1cmaX.12.i386.rpm

All the ucd* .rpm's and cpqhealth install fine, but the others give me this error:

rpm -Uvh cmafdtn-6.10.0-6.i386.rpm
Preparing... ########################################### [100%]
Dependency Error: only Red Hat Linux and SuSE Linux Enterprise Server are supported
error: execution of %pre scriptlet from cmafdtn-6.10.0-6 failed, exit status 1
error: install: %pre scriptlet failed (2), skipping cmafdtn-6.10.0-6

I've been trying to find the "%pre scriptlet" for possible hacking (via rpm -qpl) or at least better error oupput, but haven't been able to locate it.

FYI: I attached the output of rpm -qa to this.

Any ideas? Much appreciated!

--Rob Lojek
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: compaq agents error: failed dependencies:


You might try the upgrade booting from a previous kernel. I've run into some issues espeically with regards to RAID configuration on the latest red hat kernels. Such as system not booting or performing strangely enough that I rebooted and backed the kernen out.

It appears a dependency is missing.

The only place I get rpm files is the original install cd and red hat. I try to avoid red hat when adding features, because the better path is to install fom the cd and let the update program update features after the fact.

I didn't follow this policy with an openssh add in and ended up reinstalling the entire server to fix it. EEEK!

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
robert lojek_2
New Member

Re: compaq agents error: failed dependencies:

Well, I used RHN to update this machine. However, I had to back the kernel down from 2.4.9-e.10 (the latest) to 2.4.9-e.8, because compaq's cciss driver package (cpq_cpqarray_RedHatAS21-2.4.22-2) didn't know about 2.4.9-e.10 and refused to install without hacking. Opting not to hack, I downgraded to 2.4.9-e.8.

Funny thing is, on 2 of these servers (dl380-G2), the cmafdtn, etc. agents installed perfectly. These two don't have 3com 3c996SX gig-e cards, but they're otherwise the same. That's why I'm hesitant to do any downgrading just yet.


Paul Fitzpatrick_2
New Member
Solution

Re: compaq agents error: failed dependencies:

Make sure /etc/issue looks like this:
Red Hat Linux Advanced Server release 2.1AS (Pensacola)
Kernel 2.4.9-e.8smp on a 2-processor i686

and /etc/redhat-release looks like this:

Red Hat Linux Advanced Server release 2.1AS (Pensacola)
robert lojek_2
New Member

Re: compaq agents error: failed dependencies:

Paul--
You're the Gandalf of redhat advanced server!

I followed your suggestion & I'm good to go. Dumb dependancy (/etc/issue?), but hey, it works.

Thanks again!

--Rob Lojek