根据戴尔文档https://linux.dell.com/repo/community/openmanage/我正在尝试安装Dell OpenManage tools
在 Ubuntu 18.04 容器中。
sudo echo 'deb http://linux.dell.com/repo/community/openmanage/940/bionic bionic main' | sudo tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list
sudo wget https://linux.dell.com/repo/pgp_pubkeys/0x1285491434D8786F.asc
sudo apt-key add 0x1285491434D8786F.asc
sudo apt-get update
sudo apt-get install -y srvadmin-idracadm8
但我遇到了以下错误
Setting up srvadmin-hapi (9.4.0) ...
System has not been booted with systemd as init system (PID 1). Can't operate.
dpkg: error processing package srvadmin-hapi (--configure):
installed srvadmin-hapi package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
srvadmin-hapi
E: Sub-process /usr/bin/dpkg returned an error code (1)
我研究了解决方案在 docker 容器上安装 srvadmin-hapi 包。但使用的命令gpg --keyserver pool.sks-keyservers.net --recv-key 1285491434D8786F
无法正常工作gpg: keyserver receive failed: no name
。
按照https://linux.dell.com/repo/community/openmanage/我们应该用来sudo wget https://linux.dell.com/repo/pgp_pubkeys/0x1285491434D8786F.asc
添加存储库密钥。