nmap
我在从 Ubuntu 16.04 计算机下载及其依赖项(离线安装)时遇到问题。
执行时:
apt-get download $(apt-rdepends nmap |grep -v "^ ")
我得到以下输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Can't select candidate version from package libblas.so.3 as it has no candidate
E: Can't select candidate version from package debconf-2.0 as it has no candidate
我尝试使用 来解决错误apt-get update
,但没有帮助。非常感谢任何帮助。
答案1
sudo apt-get install debconf-2.0
你会得到:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package debconf-2.0 is a virtual package provided by:
debconf 1.5.58ubuntu1
cdebconf 0.198ubuntu1
You should explicitly select one to install.
您不应该使用 debconf-2.0,而应该使用 debconf:
sudo apt-get download debconf