LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-01-2009, 10:12 AM   #1
itbod
Member
 
Registered: Jan 2007
Location: South West, England
Distribution: Ubuntu
Posts: 69
Blog Entries: 1

Rep: Reputation: 16
Question downloading tor in ubuntu 9.04


Here we go again! I had a simular problem with 8.04. Unable to download the tor files. tried the normal

apt-get install tor

comes back with

Package tor not available, but is referred to by another package.

I loved using tor with my old version 8.10, been on the tor project site but this is as much use as a chocolate fireguard. Typed in the instructions of

deb http://mirror.noreply.org/pub/tor dapper main

comes back with

command deb not recognised

help help help.

using ubuntu 9.04 on dell inspirion 530

regards
itbod
 
Old 05-01-2009, 10:33 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
you need to add these lines to /etc/apt/sources.list
Code:
deb http://mirror.noreply.org/pub/tor dapper main
deb-src http://mirror.noreply.org/pub/tor dapper main
then run
Code:
sudo apt-get update
sudo apt-get install tor
 
Old 05-01-2009, 10:47 AM   #3
itbod
Member
 
Registered: Jan 2007
Location: South West, England
Distribution: Ubuntu
Posts: 69

Original Poster
Blog Entries: 1

Rep: Reputation: 16
AAAH I see, sorry will give it a try. I think what with the problems upgrading etc. I didn't think of this.

Thanks

itbod
 
Old 05-01-2009, 12:00 PM   #4
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
Quote:
Originally Posted by repo View Post
you need to add these lines to /etc/apt/sources.list
Code:
deb http://mirror.noreply.org/pub/tor dapper main
deb-src http://mirror.noreply.org/pub/tor dapper main
then run
Code:
sudo apt-get update
sudo apt-get install tor
That won't work. First of all, itbod added the name of the package to the repository (deb http://mirror.noreply.org/pub/tor dapper main), which I'm pretty sure isn't a proper name for a repository. Second of all, it's in the universe repository, not main. Also, given 9.04 (jaunty?) is being used, I think that installing a dapper version of tor would not be wise.

In searching the http://packages.ubuntu.com site, I found the this information about tor in Ubuntu. So, it's not available in 9.04, apparently (which is odd, because it is available in the latest Debian.) But, you may be able to install it from the previous (8.10) release. I suggest you try adding the following to your /etc/apt/sources.list (this is a mirror from the UK):

Code:
deb http://www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu/ intrepid universe
I only put universe in the above. You may need to add main, as well, but try with just universe first.

While you're editing your sources.list, you may as well enable the universe repositories of your current release as well (see Ubuntu repositories command-line help.) In brief, just remove the "#" sign from in front of the jaunty universe repository.

Briefly, to add repositories, do the following:
Code:
sudo nano /etc/apt/sources.list
This will open nano, a command line editor. Simply add the repository I mentioned above in this terminal editor, and then close the editor with the Ctrl-X keys (note: if you prefer gedit to nano, then entering "sudo gedit" from a terminal should open this, or using the program gksu to open gedit would also work -- this sudo stuff being necessary to do because sources.list is a protected file, so you need to have sudo privileges, when using either nano or gedit, to edit it). Or if there's a root/administrator editor option somewhere in the choices that Ubuntu gives, then use that.

After doing this, then do "sudo apt-get update". You should see that the package tor is available. Now try installing it with "apt-get install tor" (note, it may not install due to it being from a previous release, but try and see first).

If not, you could also try to install it from a debian 5.0 repository (IE, install it, and then remove the repository from your sources.list). It is available in the latest stable debian. But, I do feel your best bet is to try from Ubuntu 8.10 first (rather than from dapper, which I think is a far earlier version).
 
Old 05-01-2009, 12:12 PM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Then the OP just need to replace dapper with jaunty, I just copied the line he gave in the original post.

has a deb for jaunty
 
Old 05-01-2009, 12:28 PM   #6
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
Just enable universe!

Quote:
Originally Posted by repo View Post
Then the OP just need to replace dapper with jaunty, I just copied the line he gave in the original post.

has a deb for jaunty
Interesting that my search didn't under Ubuntu packages did not indicate tor as being available in jaunty, when, in fact, it is. I think the best thing to do is just to enable the universe repository for jaunty, rather than adding the repository for only the specific package.

Also interesting is that I was unaware that users were able to zero in on specific packages within repositories (IE, "deb http://mirror.noreply.org/pub/tor dapper main" being a workable repository). Learn something new everyday, it seems.

Last edited by mark_alfred; 05-01-2009 at 12:37 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install Tor in Ubuntu 8.10 WillingToLikeLinux Ubuntu 5 02-17-2009 06:00 PM
how to make tor work in ubuntu 8.04 Sivan404 Linux - Software 9 01-06-2009 03:10 PM
Where & how do I install TOR on ubuntu? itbod Linux - Software 2 08-01-2008 08:45 AM
downloading & installing the TOR network itbod Linux - Software 2 06-11-2008 06:16 AM
LXer: How to install Tor with Vidalia GUI on Ubuntu LXer Syndicated Linux News 0 08-19-2007 03:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration