Tor installation

Questions about applications and software
Forum rules
Before you post please read how to get help

LMDE 2 support ends on 1-1-2019
Post Reply
alexzaitsev
Level 1
Level 1
Posts: 2
Joined: Tue Apr 26, 2016 2:33 am

Tor installation

Post by alexzaitsev » Tue Apr 26, 2016 2:42 am

Can't install Tor. Could anybody help me?

I followed this instruction https://www.torproject.org/docs/debian.html.en#ubuntu
1. check debian version

Code: Select all

$ cat /etc/debian_version
jessie/sid
2. created file /etc/apt/sources.list.d/tor.list

Code: Select all

deb http://deb.torproject.org/torproject.org jessie main
deb-src http://deb.torproject.org/torproject.org jessie main
3. added keys

Code: Select all

gpg --keyserver keys.gnupg.net --recv 886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
4. tried to install

Code: Select all

$ apt-get update
$ apt-get install tor deb.torproject.org-keyring

Code: Select all

$ sudo apt-get install tor deb.torproject.org-keyring
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 tor : Depends: libsystemd0 but it is not installable
       Depends: init-system-helpers (>= 1.18~) but 1.14 is to be installed
E: Unable to correct problems, you have held broken packages.
I also tried repos for sid

Code: Select all

deb http://deb.torproject.org/torproject.org sid main
deb-src http://deb.torproject.org/torproject.org sid main
Output

Code: Select all

$ sudo apt-get install tor deb.torproject.org-keyring
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 tor : Depends: libssl1.0.2 (>= 1.0.2d) but it is not installable
       Depends: libsystemd0 but it is not installable
       Depends: init-system-helpers (>= 1.18~) but 1.14 is to be installed
E: Unable to correct problems, you have held broken packages.

User avatar
xenopeek
Level 24
Level 24
Posts: 23099
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Tor installation

Post by xenopeek » Tue Apr 26, 2016 2:46 am

Moved your topic to the LMDE forums, as you're using that.

What's wrong with the tor version in the LMDE repositories? Any features you're missing? You could try instead to compile the version you need from source (probably not that hard, if you add source code repositories and use the build-dep command to install all dependencies for tor then compiling a newer version from source should be easy I think--follow step 3 of preparation and step 4 for recompiling from source here viewtopic.php?t=178574 and then follow instructions in tor sourcecode for compiling it--and use "sudo checkinstall" instead of "sudo make install" to build a removable/upgradable package instead of directly putting files in your system directories).

LMDE doesn't use systemd init and the errors you get show the tor version you're trying to install was built for use with systemd init. Debian Jessie does use systemd init.
Image

alexzaitsev
Level 1
Level 1
Posts: 2
Joined: Tue Apr 26, 2016 2:33 am

Re: Tor installation

Post by alexzaitsev » Tue Apr 26, 2016 4:32 am

Installed from source. Thanks.

User avatar
phd21
Level 17
Level 17
Posts: 7237
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Tor installation

Post by phd21 » Tue Apr 26, 2016 1:16 pm

Hi "alexzaitsev",

I just read your post and the good replies to it. Here are my thoughts on this as well.

Installing the Tor Browser Bundle and using it when you want, might be another good option, rather than installing all the "Tor" stuff from the repositories, and configuring those individually. Below are some good links on both.

Of course, you can also install and use a VPN as well, like the low cost but excellent "Private Internet Access (PIA)", which I highly recommend anyway. And for the "Ultimate" in privacy, security, & anonymity, use a VPN and use the Tor Browser Bundle as well.

Install TOR in Ubuntu / Debian (Repository)
http://www.webupd8.org/2009/09/how-to-i ... ebian.html

Tor Browser | How to Install Tor on Debian Operating Systems
http://linuxg.net/tor-browser-how-to-in ... g-systems/

Tor on Debian stable, Debian sid, or Debian testing
https://www.torproject.org/docs/debian.html.en
============================================================================

Tor Browser Bundle Ubuntu PPA
http://www.webupd8.org/2013/12/tor-brow ... u-ppa.html

How To Add Launchpad PPAs In Debian Via `add-apt-repository` Command
http://www.webupd8.org/2014/10/how-to-a ... n-via.html

CreatePackageFromPPA
If a package is available in an Ubuntu PPA but not in Debian, you can easily create a Debian version of it.
http://www.webupd8.org/2014/10/how-to-a ... n-via.html


Hope this helps ...
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
Fred Barclay
Level 12
Level 12
Posts: 4156
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

Re: Tor installation

Post by Fred Barclay » Tue Apr 26, 2016 1:39 pm

alexzaitsev wrote: 1. check debian version

Code: Select all

$ cat /etc/debian_version
jessie/sid
I also tried repos for sid

Code: Select all

deb http://deb.torproject.org/torproject.org sid main
deb-src http://deb.torproject.org/torproject.org sid main
Output

Code: Select all

$ sudo apt-get install tor deb.torproject.org-keyring
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 tor : Depends: libssl1.0.2 (>= 1.0.2d) but it is not installable
       Depends: libsystemd0 but it is not installable
       Depends: init-system-helpers (>= 1.18~) but 1.14 is to be installed
E: Unable to correct problems, you have held broken packages.
You've added the Sid repos? And installed things from them? Might not be a good idea...
Especially considering that your system is already confused as to what OS it actually is ("jessie/sid" is not a distro). I wouldn't be surprised if you experience breakages in the future. ;)
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein

axisofevil
Level 2
Level 2
Posts: 84
Joined: Mon Nov 14, 2011 12:22 pm

Re: Tor installation

Post by axisofevil » Thu Apr 28, 2016 1:01 pm

You could just boot up a TAILS distro from USB - you get an automatically secure install.

User avatar
wotarpelo
Level 1
Level 1
Posts: 9
Joined: Mon Aug 01, 2016 8:11 pm
Location: UK
Contact:

Re: Tor installation

Post by wotarpelo » Sun Aug 07, 2016 8:50 am

Hi, I'm having exactly this issue, but I'm in no way an expert - Just following instructions from the TOR project's website. How do I install the required dependencies for this?
Here's where I'm at so far:

Code: Select all

sudo apt-get install tor deb.torproject.org-keyring 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 tor : Depends: libssl1.0.2 (>= 1.0.2d) but it is not installable
E: Unable to correct problems, you have held broken packages.
...then tried

Code: Select all

 sudo apt-get install libssl1.0.2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libssl1.0.2 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 'libssl1.0.2' has no installation candidate
I have no idea where to go from here, or how to proceed, having searched both this forum and many others for advice!

kevinthefixer
Level 4
Level 4
Posts: 277
Joined: Thu Jul 23, 2015 10:36 pm

Re: Tor installation

Post by kevinthefixer » Sun Aug 21, 2016 8:49 pm

Have you simply searched the software manager? Try a search for tor browser. It turned up a program to more-or-less automatically install the Tor Browser Bundle.

User avatar
wotarpelo
Level 1
Level 1
Posts: 9
Joined: Mon Aug 01, 2016 8:11 pm
Location: UK
Contact:

Re: Tor installation

Post by wotarpelo » Mon Aug 22, 2016 6:24 am

kevinthefixer wrote:Have you simply searched the software manager? Try a search for tor browser. It turned up a program to more-or-less automatically install the Tor Browser Bundle.
Thanks. That was infuriatingly simple, and I think it's up and running now. Just need to find a silk road replacement now... mostly joking?

User avatar
Moem
Level 17
Level 17
Posts: 7015
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Tor installation

Post by Moem » Mon Aug 22, 2016 6:42 am

wotarpelo wrote: That was infuriatingly simple
Yes indeed, as well as already suggested right away, in the second post in this very thread :wink:
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

User avatar
wotarpelo
Level 1
Level 1
Posts: 9
Joined: Mon Aug 01, 2016 8:11 pm
Location: UK
Contact:

Re: Tor installation

Post by wotarpelo » Mon Aug 22, 2016 7:43 am

Moem wrote: already suggested right away, in the second post in this very thread :wink:
I can't make heads or tails of that - the second post seemed to be talking about repository sources and different acronyms which flew completely over my head. Even re-reading it, I can't see where it pointed that out! Anyway. Cheers.

User avatar
Moem
Level 17
Level 17
Posts: 7015
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Tor installation

Post by Moem » Mon Aug 22, 2016 7:50 am

Oh, that makes sense... there's a lot of talk about compiling in that post. (Don't worry, I can't do all that either.) I just meant this sentence: "What's wrong with the tor version in the LMDE repositories?"
The repositories is where the Software Manager gets its software from, you see.

Anyway, I'm glad that you're now up and running!
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

Post Reply

Return to “Software & Applications”