Score:1

Problem Installing HP ProLiant Utilities on Ubuntu Server 20

de flag

I am trying to install HP ProLiant Utilities on Ubuntu Server 20.04.3 I followed a guide I found online which was made for Ubuntu 18. But mine is Ubuntu 20.04.3. The steps i've done so far are as follows:

sudo echo "deb http://downloads.linux.hpe.com/SDR/repo/mcp bionic/current non-free" > /etc/apt/sources.list.d/mcp.list

sudo curl http://downloads.linux.hpe.com/SDR/hpPublicKey1024.pub | sudo apt-key add -
sudo curl http://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub | sudo apt-key add -
sudo curl http://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub | sudo apt-key add -
sudo curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | sudo apt-key add -

sudo apt update

All the above commands seem to run successfully and the final command I am supposed to run is this:

sudo apt install hp-health hponcfg amsd ams ssacli ssaducli ssa

But this command seems to fail with the following error:

The following packages have unmet dependencies:
 amsd : Depends: libjson-c3 (>= 0.10) but it is not installable
E: Unable to correct problems, you have held broken packages.

As a result of this final step, the tools are not installing. Can anyone please help? Could installing Ubuntu Server 18 instead of 20.04.3 solve the problem?

guiverc avatar
cn flag
Do you mean 20.04 or 20?; as they are different products. Ubuntu has used the *year* format to signify *snap* only products since 2016, eg. Ubuntu Core 20 is the *snap* only server product, which differs to the more common Ubuntu 20.04 LTS Server product (20.04 is *deb* based but can also use snaps). 20 != 20.04
John Roberts avatar
de flag
oh yes sorry it's 20.04.3, will edit original post to show actual version
guiverc avatar
cn flag
(thanks; the 18 also implies Ubuntu Core 18 and not Ubuntu 18.04 LTS; ie. 18 != 18.04; 16 != 16.04; it was 2016 when Canonical introduced the smaller Ubuntu Core products for appliances, devices & cloud server use)
Score:1
zw flag

Manual visit of http://downloads.linux.hpe.com/SDR/repo/mcp shows that they have repository for Ubuntu 20.04 LTS.

So you can simply replace the bionic to focal in already added mcp.list file programmatically as follows:

sudo sed -i "s/bionic/focal/" /etc/apt/sources.list.d/mcp.list

Then update package lists and install needed packages by

sudo apt update
sudo apt install hponcfg amsd ams ssacli ssaducli ssa

But please note that hp-health is not available via repo, so you can download and install it manually:

wget -c http://downloads.linux.hpe.com/SDR/repo/mcp/pool/non-free/hp-health_10.80-1874.10_amd64.deb
sudo apt install ./hp-health_10.80-1874.10_amd64.deb
John Roberts avatar
de flag
Thank you, let me try this now and report back :)
John Roberts avatar
de flag
Works super. Thank you very much :)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.