Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Installing tor from its repository, not from the universe Ubuntu repository! -> Here is the instruction: https://www.torproject.org/docs/debian (I done)

But when I run sudo apt-get install tor, it is connected to ubuntu repository! this installs the version which is located in Ubuntu repositories! I want the version which is in the below repository:

deb http://deb.torproject.org/torproject.org raring main
share|improve this question

1 Answer 1

up vote 4 down vote accepted

I think it's because both repos have the same tor version, 0.2.3.25-1 for Ubuntu 13.04 (raring), so there's no reason to prefer one over other.

If you correctly set up the torproject repository, the output of apt-cache policy tor will tell you the available versions, from which repository they come and the candidate for installation.

share|improve this answer
    
hmm, yeam; I check your command and the versions are the same; However, how can I force apt-get to select torproject repository for future update? Does it always check for the newest version between both repositories to choose one of them for updating tor? –  mini Jul 10 '13 at 18:18
    
Yes, apt will automatically choose the newest version. –  papukaija Jul 10 '13 at 18:21
    
@deroot If the package isn't held back (look for hold in apt-mark manpage) apt-get will always try to install the newest version. –  Eric Carvalho Jul 10 '13 at 18:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.