I’m trying to install tor on my Kali Linux 2016.1 (kali-rolling). When I type apt-get install tor in Terminal, this error appears:
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
How can I fix this and install tor?
UPD:
I tried this: http://www.blackmoreops.com/2013/12/16/installing-tor-kali-linux/ – I added deb http://deb.torproject.org/torproject.org wheezy main to sources file, but it didn’t help at all, so I deleted this string and now it’s in a default condition
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
I found the solution:
Firstly, I ran:
echo -e "deb http://http.kali.org/kali sana main non-free contribndeb http://security.kali.org/kali-security/ sana/updates main contrib non-free" > /etc/apt/sources.list
and then
apt-get update apt-get update --fix-missing
After this Tor was installed normally with apt-get install tor.
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0