0

NYx complains version 0.3.2.10 is obsolete (in bright red letters).

I know that.

What I don't know is how to upgrade to 0.4.2.7.1 or newer.

Help is appreciated, trying to learn.

Adriann

Operating system is Ubuntu 18.4 LTS. Install tor was with synaptic. I ran the commands you suggested and all they did was roll over back to the command prompt. List.d was completely empty. I include screen shot of sources.list. - AdriannSources.list

  • The upgrade process will depend on how you installed Tor initially. Can you add to your comment what operating system you're using, and how you installed tor or what instructions you followed? Can you also run grep "torproject\.org" /etc/apt/sources.list /etc/apt/sources.list.d/*, is there anything listed here? – Steve Mar 30 at 14:13
  • Hi Steve, thank you and I commented on your request. – adriann Mar 31 at 15:31
0

As Synaptic uses APT and the Ubuntu package repositories, it installs an old version of Tor. Ubuntu does not keep the tor package up to date, so it is recommended to install tor from the Tor Project repository instead.

The Tor Project maintains a package repository for Ubuntu (thanks to a Debian maintainer). The details to do this on the command line are here: https://support.torproject.org/apt/tor-deb-repo/

Note: This guide may become out-of-date in the future, so please refer to the latest instructions on the Tor Project website at the link above.

I'm not familiar with Synaptic, but I believe these steps should work:

  1. Make a backup of your tor configuration files (for example /etc/tor/torrc). This shouldn't be needed with APT, but since I'm not familiar with Synaptic, it's good to be safe.
  2. Add the Tor Project keys. As far as I know this must be done on the command line. These are to make sure that you're downloading the correct unmodified packages.
    sudo wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
    sudo gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
    
  3. Uninstall the tor package that you currently have installed.
  4. Add the Tor Project repository following the guide at https://www.ghacks.net/2009/03/08/adding-repositories-to-synaptic/. This should add the package repository somewhere in /etc/apt/sources.list.d. For Ubuntu 18.04 you'll want to enter the following repositories into the "URI", "Distribution", and "Section" fields:
    deb https://deb.torproject.org/torproject.org bionic main
    deb-src https://deb.torproject.org/torproject.org bionic main
    
  5. Reload the package information.
  6. Install tor like you did before. Now it should find the latest version (as of today, it should be version 4.2.7).
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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