cancel
Showing results for 
Search instead for 
Did you mean: 

hp-health package broken

 
Theking2
Occasional Contributor

hp-health package broken

When I attempt to remove the hp-health package I get:

E: The package hp-health needs to be reinstalled, but I can't find an archive for it.

in dpkg -l it is listed as
pFR hp-health 8.2.5.47-11

how do I succesfully remove hp-health
11 REPLIES
Kapil Jha
Honored Contributor

Re: hp-health package broken

which linux is this
dpkg -l does not look like redhat or susie

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Theking2
Occasional Contributor

Re: hp-health package broken

debian 5.0.4 (lenny)
Elko
Frequent Advisor

Re: hp-health package broken

apt-get remove hp-health

http://linux.die.net/man/8/apt-get

Hope this help
Elko
/home/BIH/Sarajevo
Theking2
Occasional Contributor

Re: hp-health package broken

> apt-get remove hp-health
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package hp-health needs to be reinstalled, but I can't find an archive for it.

> dpkg --remove --force-remove-reinstreq hp-health
dpkg - warning, overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 37271 files and directories currently installed.)
Removing hp-health ...
Using Proliant Standard
IPMI based System Health Monitor
Shutting down Proliant Standard
IPMI based System Health Monitor (hpasmlited): [ FAILED ]

invoke-rc.d: initscript hp-health, action "stop" failed.
dpkg: error processing hp-health (--remove):
subprocess pre-removal script returned error exit status 1
Using Proliant Standard
IPMI based System Health Monitor
Starting Proliant Standard
IPMI based System Health Monitor (hpasmlited): [ FAILED ]

invoke-rc.d: initscript hp-health, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 29
Errors were encountered while processing:
hp-health


So I seem not to be able to get the debian repository inline. Problem is I cannot install anything anymore.

Theking2
Occasional Contributor

Re: hp-health package broken

ok, I just move all hp-health.* out of the /var/lib/dpkg directory.

now at least apt-get works again.

Is there an ftp repository of the hp lenny packages that can be added to the sources.list?
Modris Bremze
Esteemed Contributor

Re: hp-health package broken

Bryan Gartner
Valued Contributor

Re: hp-health package broken

We do have PSP deliverables in our Software Delivery Repository (SDR) located at:

http://downloads.linux.hp.com/SDR

See the "Getting Started" link for information on how you may utilize this repository
Vesa2012
Occasional Advisor

Re: hp-health package broken

better late than never, I got hp-repo work with debian squeeze like this:

 

apt-get update

apt-get install gawk

vi /etc/apt/sources.list - add following line:

deb http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack/ natty current/non-free

 

save and run update:

 

apt-get update

 

apt-get install <package here>

 

cpqacuxe
hp-health
hpsmh
hp-smh-templates
hp-snmp-agents
hpacucli
hponcfg

 

It was missing gawk, for some strange reason it started to work after installing it.

JChristophe
Occasional Visitor

Re: hp-health package broken

Hi All,

 

I know this is kind of an old thread but I'm encoutering a similar issue today on wheezy on a DL140 G2 server.

 

Wanting to solve a system issue which has nothing to do with HP tools I decided to install hponcfg so as to configure ilo.

I didn't do my due diligence on the tools (http://downloads.linux.hp.com/SDR/project/mcp/) but it turns out that hponcfg and hp-health wont install on a DL140 G2 wheezy box and have the side effect of breaking the package manager in the same way the gawk install described above did.

 

I have followed the instructions found here http://www.m1au.com/fixing-broken-hp-health-on-ubuntu-10-04/ and have also remove the init scripts but feel this might just not have cleaned everything.

 

Any suggestions? txs in advance..

Jimmy Vance
HPE Pro

Re: hp-health package broken

The DL140 G2 has lo100 and not iLO, hponcfg doesn't work with lo100.

 

Sorry, but I don't have any suggestion for the broken package manger




__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!   
JChristophe
Occasional Visitor

Re: hp-health package broken

Thanks for the update Jimmy..

 

Yeah I have found out the hard way that hponcfg does not work on DL140 G2 since it's lo100 but the real issue is the hp-health package wich is actually the culprit here as it is a requirement to install hponcfg.

 

hp-health seems to trigger a script upon istall to check the hardware version but clearly fails to fulfill it's objectives (preventing install if HW is not compatible). Also uninstall script bundle is obviously broken.

 

Not sure where to address the issue.. Is there someking of bug tracker to report to in this particular case?

 

Txs again for your support,

JC