apt-get install 不起作用

apt-get install 不起作用

这是机器显示的内容

#apt-get install 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

答案1

Debian/Ubuntu您需要事先在 /etc/apt/sources.list 中添加正确的源:

deb http://deb.torproject.org/torproject.org stretch main
deb-src http://deb.torproject.org/torproject.org stretch main

之后你应该运行:

apt-get update
apt-get install tor

对于 Kali Linux 阅读话题。

相关内容