PDA

View Full Version : [ubuntu] Can't install TOR.



aninona
May 22nd, 2009, 05:04 PM
Hello.
I'm trying to install TOR and when I run:

sudo apt-get 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


What should I do?

Thanks!!!;);):roll:

fillintheblanks
May 22nd, 2009, 05:11 PM
you may need to enable some repositories

System > Administration > Software Sources



https://help.ubuntu.com/community/TOR

aninona
May 22nd, 2009, 05:15 PM
you may need to enable some sources (backports?)

System > Administration > Software Sources > Updates tab

And then what?
My updates tab is attached.


thanks:D

yaroto98
May 22nd, 2009, 05:19 PM
try this (http://ubuntu-tutorials.com/2006/11/02/how-to-install-tor-privoxy-kubuntu-606-610/)

*EDIT*
looks like you just have to install their repository (https://wiki.torproject.org/noreply/TheOnionRouter/TorOnDebian) first

aninona
May 22nd, 2009, 05:35 PM
try this (http://ubuntu-tutorials.com/2006/11/02/how-to-install-tor-privoxy-kubuntu-606-610/)

*EDIT*
looks like you just have to install their repository (https://wiki.torproject.org/noreply/TheOnionRouter/TorOnDebian) first

What exactly do I have to do here?

I've tried:

deb http://mirror.noreply.org/pub/tor jaunty main
deb-src http://mirror.noreply.org/pub/tor jaunty main


with no success...

aninona
May 22nd, 2009, 05:46 PM
When I run
apt-get update

I receive:

E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory


Is it the problem?

Thanks!!\\:D/

oldos2er
May 22nd, 2009, 07:42 PM
You need to run that as admin:

sudo apt-get update && sudo apt-get install tor

aninona
May 22nd, 2009, 08:28 PM
You need to run that as admin:

sudo apt-get update && sudo apt-get install tor


thanks(no success), but I get this:

Hit http://il.archive.ubuntu.com jaunty Release.gpg
Ign http://il.archive.ubuntu.com jaunty/main Translation-en_US
Hit http://security.ubuntu.com jaunty-security Release.gpg
Ign http://security.ubuntu.com jaunty-security/main Translation-en_US
Ign http://il.archive.ubuntu.com jaunty/restricted Translation-en_US
Ign http://il.archive.ubuntu.com jaunty/universe Translation-en_US
Ign http://il.archive.ubuntu.com jaunty/multiverse Translation-en_US
Hit http://il.archive.ubuntu.com jaunty-updates Release.gpg
Ign http://il.archive.ubuntu.com jaunty-updates/main Translation-en_US
Ign http://il.archive.ubuntu.com jaunty-updates/restricted Translation-en_US
Ign http://il.archive.ubuntu.com jaunty-updates/universe Translation-en_US
Ign http://il.archive.ubuntu.com jaunty-updates/multiverse Translation-en_US
Hit http://il.archive.ubuntu.com jaunty Release
Ign http://security.ubuntu.com jaunty-security/restricted Translation-en_US
Ign http://security.ubuntu.com jaunty-security/universe Translation-en_US
Ign http://security.ubuntu.com jaunty-security/multiverse Translation-en_US
Hit http://ppa.launchpad.net jaunty Release.gpg
Ign http://ppa.launchpad.net jaunty/main Translation-en_US
Hit http://security.ubuntu.com jaunty-security Release
Hit http://il.archive.ubuntu.com jaunty-updates Release
Hit http://security.ubuntu.com jaunty-security/main Packages
Hit http://ppa.launchpad.net jaunty Release
Hit http://il.archive.ubuntu.com jaunty/main Packages
Hit http://il.archive.ubuntu.com jaunty/restricted Packages
Hit http://il.archive.ubuntu.com jaunty/main Sources
Hit http://il.archive.ubuntu.com jaunty/restricted Sources
Hit http://il.archive.ubuntu.com jaunty/universe Packages
Hit http://security.ubuntu.com jaunty-security/restricted Packages
Hit http://security.ubuntu.com jaunty-security/main Sources
Hit http://security.ubuntu.com jaunty-security/restricted Sources
Hit http://security.ubuntu.com jaunty-security/universe Packages
Hit http://ppa.launchpad.net jaunty/main Packages
Hit http://il.archive.ubuntu.com jaunty/universe Sources
Hit http://il.archive.ubuntu.com jaunty/multiverse Packages
Hit http://il.archive.ubuntu.com jaunty/multiverse Sources
Hit http://il.archive.ubuntu.com jaunty-updates/main Packages
Hit http://il.archive.ubuntu.com jaunty-updates/restricted Packages
Hit http://il.archive.ubuntu.com jaunty-updates/main Sources
Hit http://il.archive.ubuntu.com jaunty-updates/restricted Sources
Hit http://il.archive.ubuntu.com jaunty-updates/universe Packages
Hit http://il.archive.ubuntu.com jaunty-updates/universe Sources
Hit http://il.archive.ubuntu.com jaunty-updates/multiverse Packages
Hit http://security.ubuntu.com jaunty-security/universe Sources
Hit http://security.ubuntu.com jaunty-security/multiverse Packages
Hit http://security.ubuntu.com jaunty-security/multiverse Sources
Hit http://il.archive.ubuntu.com jaunty-updates/multiverse Sources
Hit http://ppa.launchpad.net jaunty/main Sources
Reading package lists... Done
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

sim-value
May 22nd, 2009, 09:29 PM
What exactly do I have to do here?

I've tried:

deb http://mirror.noreply.org/pub/tor jaunty main
deb-src http://mirror.noreply.org/pub/tor jaunty main


with no success...
in what way did you try it ?

you need to add it to your sources.list


sudo gedit /etc/apt/sources.list

oldos2er
May 22nd, 2009, 09:31 PM
Looks like you're missing the tor repos deb http://mirror.noreply.org/pub/tor jaunty main and deb-src http://mirror.noreply.org/pub/tor jaunty main

yaroto98
May 22nd, 2009, 09:47 PM
System->Administration->Software Sources

Third-Party Software Tab:

Click Add:
Paste:

deb http://mirror.noreply.org/pub/tor <DISTRIBUTION> main"
into the URL it asks for
(Replace "<DISTRIBUTION>" with jaunty, intrepid, or hardy, or whatever version you're running.

redo the same for

deb-src http://mirror.noreply.org/pub/tor jaunty main

exit out of Software Sources, if it asks to reload, go for it. lastly use the following command in the terminal


sudo apt-get update && sudo apt-get install tor

aninona
May 22nd, 2009, 10:15 PM
in what way did you try it ?

you need to add it to your sources.list


sudo gedit /etc/apt/sources.list

Thanks! I misunderstood what I had to do. It is installed now, but I now I have problems with TOR itself. I guess I'll create a new thread tomorrow...

http://ubuntuforums.org/images/smilies/smiley-faces-80.gif