我需要安装libcgmanager0
一些其他包,但是sudo apt install install libcgmanager0
返回:
Package libcgmanager0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libcgmanager0' has no installation candidate
本网站https://packages.ubuntu.com/xenial/libcgmanager0也显示错误,我不知道该怎么办。
我可以从其他来源获得它吗?或者我该如何解决这个问题?
答案1
您可以使用以下命令从 16.04 LTS 存储库手动下载 libcgmanager0 包:
cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/main/libn/libnih/libnih1_1.0.3-4.3ubuntu1_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/main/libn/libnih/libnih-dbus1_1.0.3-4.3ubuntu1_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/main/c/cgmanager/libcgmanager0_0.39-2ubuntu5_amd64.deb
sudo apt-get install ./libcgmanager0_0.39-2ubuntu5_amd64.deb ./libnih1_1.0.3-4.3ubuntu1_amd64.deb ./libnih-dbus1_1.0.3-4.3ubuntu1_amd64.deb