我有一个旧盒子,运行 Spacewalk 作为注册/管理服务器。最近我安装了 Ubuntu Focal Fossa,但似乎找不到 rhn-client-tools 实用程序来注册它。您知道该软件包是否可用于/支持 Focal 吗?
非常感谢
答案1
您可以尝试通过手动下载安装包来安装16.04 LTS 存储库:
cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/main/n/newt/libnewt0.52_0.52.18-1ubuntu2_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/python-dmidecode/python-dmidecode_3.12.2-2_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/python-ethtool/python-ethtool_0.11-3_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/python-gudev/python-gudev_147.2-3_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/main/n/newt/python-newt_0.52.18-1ubuntu2_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/r/rhnlib/python-rhn_2.5.55-2_all.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/r/rhn-client-tools/rhn-client-tools_1.8.26-4_amd64.deb
sudo apt install ./rhn-client-tools_1.8.26-4_amd64.deb ./python-rhn_2.5.55-2_all.deb ./python-ethtool_0.11-3_amd64.deb ./python-newt_0.52.18-1ubuntu2_amd64.deb ./python-dmidecode_3.12.2-2_amd64.deb ./python-gudev_147.2-3_amd64.deb ./libnewt0.52_0.52.18-1ubuntu2_amd64.deb
为了防止软件包升级,libnewt0.52
您必须通过以下单个长命令固定其版本:
cat <<EOF | sudo tee /etc/apt/preferences.d/pin-newt
Package: libnewt0.52
Pin: version 0.52.18-1ubuntu2
Pin-Priority: 1337
EOF
注意:要撤销更改 - 删除上述文件sudo rm /etc/apt/preferences.d/pin-newt
并使用 升级所有软件包sudo apt-get update && sudo apt-get dist-upgrade
。
答案2
Ubuntu 的内容管理目前在 Foreman/Katello 中运行良好。如果您需要企业产品,您应该看看 orcharhino。orcharhino 是 Foreman/Katello 为 Ubuntu 提供商业支持的下游产品。