当我尝试安装时,tor
我得到:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package tor 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 tor has no installation candidate
几天前我能够安装它,然后我不得不删除它sudo apt-get remove --purge tor
现在我无法安装它。
知道为什么吗?
答案1
tor
已在 Universe 存储库中建立,因此首先启用它。
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
立即更新软件源
sudo apt-get update
现在您可以安装它:
sudo apt-get install tor
答案2
你可以使用以下方法强制安装sudo apt-get install -f tor
如果这不起作用;
从以下位置下载软件包这里并使用以下命令进行安装:
sudo dpkg -i <package_name>