using maverick - added one new repository but now can't add another repository
using the system/administration/software sources menus I was able to successfully add the following repository "http://archive.getdeb.net/ubuntu maverick-get deb". I then wanted to add the TOR repository and when I entered the TOR information in the APT line the Add Source button of the software-properties-gtk window did not become active.
Any suggestions to try to fix this would be appreciated. Thanks -gerryyy |
Are you entering the repository correctly? I think it's almost easier from a terminal
Code:
echo "deb http://deb.torproject.org/torproject.org maverick main" | sudo tee -a /etc/apt/sources.list |
reed9,
Thanks for your suggestion - I'm trying to get to know ubuntu so - which line of your adds the repository to the /etc/apt/source.file list? echo "deb http://deb.torproject.org/torproject.org maverick main" | sudo tee -a /etc/apt/sources.list gpg --keyserver keys.gnupg.net --recv 886DDD89 gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add - sudo apt-get update && sudo apt-get install tor tor-geoipdbIf it's the first line - Do I need to add the first line without the quote marks to the bottom of the sources.list.save file located -> file system/etc/apt? Do i need to take backup the sources.list.save file before making changes? Again trying to learn - thanks for your help with this. |
This adds the line to your sources.list
Code:
echo "deb http://deb.torproject.org/torproject.org maverick main" | sudo tee -a /etc/apt/sources.list If you were root, you could dispense with piping the output to tee and just do Code:
echo "deb http://deb.torproject.org/torproject.org maverick main" >> /etc/apt/sources.list But this does not work because the elevated privileges with sudo are only happening to the "echo" command and not the part you need, which is writing to the file. Code:
sudo echo "deb http://deb.torproject.org/torproject.org maverick main" >> /etc/apt/sources.list |
reed9,
thanks. At work now, will try this at home tonite, will back up source.list first. Any recomendation(s) for good intro to getting to know Linux command syntax? Regards, Gerryyy |
This is a pretty good intro
http://linuxcommand.org/index.php Mostly it's just practice. I'm far from expert, but I'm pretty good where it's pertinent to my day to day computing. Basic file operations, package management, and such. Once you get the hang of it, it's much more efficient for a lot of things than using a GUI. |
reed9,
Thanks for your help. Tor is now installed via the terminal commands. Now I have to wrestle with getting the other components - Polipo, Torbutton, Vidalia; to work together. Will check out the link. |
All times are GMT -5. The time now is 11:26 AM. |