Cannot Install Tor Service [Duplicate]

Cannot Install Tor Service [Duplicate]

When I try to install tor I get:

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

I was able to install it a few days ago, then I had to remove it sudo apt-get remove --purge tor

And now I cannot install it.

Any idea why?

2

2 Answers

tor is founded in universe repository, so first enable it.

sudo add-apt-repository "deb  $(lsb_release -sc) universe"

Now update software sources

sudo apt-get update

Now you can install it :

sudo apt-get install tor

You can do a force install with sudo apt-get install -f tor

If that doesn't work;

Download the package from here and install it with:

sudo dpkg -i <package_name>

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.