tor
我正在尝试在我的 Kali Linux 2016.1 ( ) 上安装kali-rolling
。当我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
我该如何解决这个问题并安装 Tor?
更新:
我试过这个:http://www.blackmoreops.com/2013/12/16/installing-tor-kali-linux/- 我添加deb http://deb.torproject.org/torproject.org wheezy main
到源文件中,但它根本没有帮助,所以我删除了这个字符串,现在它处于默认状态
答案1
我找到了解决方案:
首先,我跑了:
echo -e "deb http://http.kali.org/kali sana main non-free contrib\ndeb http://security.kali.org/kali-security/ sana/updates main contrib non-free" > /etc/apt/sources.list
进而
apt-get update
apt-get update --fix-missing
之后,Tor 就可以正常安装了apt-get install tor
。