我正在尝试在 Ubuntu Server 20.04.3 上安装 HP ProLiant Utilities,我遵循了在线找到的针对 Ubuntu 18 的指南。但我的是 Ubuntu 20.04.3。到目前为止,我已完成的步骤如下:
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
上述所有命令似乎均成功运行,我应该运行的最终命令是:
sudo apt install hp-health hponcfg amsd ams ssacli ssaducli ssa
但此命令似乎失败并出现以下错误:
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.
由于这最后一步,工具无法安装。有人可以帮忙吗?安装 Ubuntu Server 18 而不是 20.04.3 可以解决问题吗?
答案1
手动访问http://downloads.linux.hpe.com/SDR/repo/mcp表明他们有存储库适用于 Ubuntu 20.04 LTS。
因此,您只需替换仿生的到焦点在已经添加的 mcp.list 文件中以编程方式如下:
sudo sed -i "s/bionic/focal/" /etc/apt/sources.list.d/mcp.list
然后更新包列表并安装所需的包
sudo apt update
sudo apt install hponcfg amsd ams ssacli ssaducli ssa
但请注意,它hp-health
无法通过 repo 获得,因此您可以手动下载并安装它:
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