The officially official Devuan Forum!

You are not logged in.

#1 2021-12-31 05:13:54

Anpanman
Member
Registered: 2021-12-31
Posts: 5  

[SOLVED] Installing Tor

I have a home server which used to be my work PC which I want to re-purpose as a darknet-only web server.
I chose to go against the mainstream by setting up a couple of servers (will set up a few more after successfully launching one) without systemd, so the closest to Debian I got was Devuan (and maybe Antix).
I successfully managed to install Tor after installing Devuan, but from then on it became impossible to upgrade because Tor requires libc6 2.33 or higher, while Devuan packages libc6 2.32-4.

I tried multiple tricks already like disabling repo's from the Tor Project (assuming Devuan's Tor package must be compatible), changing the Debian version of the Tor repo, and so on, but the problem still exists.
Installing libc6 from a DEB file neither worked, the output said that it would break the package "locales".
Even uninstalling Tor and then re-installing didn't work, and now my server has no Tor package anymore...JOOOOOY...

So how do I install Tor on Devuan without compatibility issues?

Offline

#2 2021-12-31 10:21:05

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] Installing Tor

There is a tor package available from the Devuan repositories so why don't you just use that?


Brianna Ghey — Rest In Power

Offline

#3 2021-12-31 10:34:48

Anpanman
Member
Registered: 2021-12-31
Posts: 5  

Re: [SOLVED] Installing Tor

That's the point; even if I don't use Tor's repo's, it still fails to install for the same reason, which is what I already explained as well.

Offline

#4 2021-12-31 10:51:35

hevidevi
Member
Registered: 2021-09-17
Posts: 230  

Re: [SOLVED] Installing Tor

i have no issues installing Tor on Devuan 4 stable? Maybe you have borked something by trying to installl libc6 from a .DEB file, please give more info on that libc6 .DEB file ?

The safest way to use the version of Tor that you want that needs an updated version of libc6 is to use a bleeding edge distro or using Devuan unstable.

Last edited by hevidevi (2021-12-31 10:57:04)

Offline

#5 2021-12-31 10:55:17

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] Installing Tor

Anpanman wrote:

even if I don't use Tor's repo's, it still fails to install for the same reason

Please post the full output of

apt policy
apt install -s tor

Brianna Ghey — Rest In Power

Offline

#6 2021-12-31 10:56:14

Anpanman
Member
Registered: 2021-12-31
Posts: 5  

Re: [SOLVED] Installing Tor

That DEB file was downloaded from Debian's own repo website, though it never got installed for the reason I already mentioned in the first post.
Beside that, why would anyone need to consider installing libc6 from a DEB file if Tor didn't get borked yet?
It's rather the other way around.

Offline

#7 2021-12-31 10:57:15

Anpanman
Member
Registered: 2021-12-31
Posts: 5  

Re: [SOLVED] Installing Tor

Head_on_a_Stick wrote:
Anpanman wrote:

even if I don't use Tor's repo's, it still fails to install for the same reason

Please post the full output of

apt policy
apt install -s tor

apt policy
apt install -s tor
パッケージファイル:
100 /var/lib/dpkg/status
     release a=now
500 http://nginx.org/packages/debian bullseye/nginx amd64 Packages
     release v=11.0,o=nginx,a=stable,n=bullseye,l=nginx,c=nginx,b=amd64
     origin nginx.org
500 https://s3.amazonaws.com/repo.deb.cyberduck.io stable/main amd64 Packages
     release n=stable,c=main,b=amd64
     origin s3.amazonaws.com
100 http://deb.devuan.org/devuan experimental/main amd64 Packages
     release v=1.0.0,o=Devuan,a=experimental,n=experimental,l=Master,c=main,b=amd64
     origin deb.devuan.org
100 http://deb.devuan.org/merged chimaera-backports/non-free amd64 Packages
     release v=4.0,o=Devuan Backports,a=stable-backports,n=chimaera-backports,l=Devuan Backports,c=non-free,b=amd64
     origin deb.devuan.org
100 http://deb.devuan.org/merged chimaera-backports/contrib amd64 Packages
     release v=4.0,o=Devuan Backports,a=stable-backports,n=chimaera-backports,l=Devuan Backports,c=contrib,b=amd64
     origin deb.devuan.org
100 http://deb.devuan.org/merged chimaera-backports/main amd64 Packages
     release v=4.0,o=Devuan Backports,a=stable-backports,n=chimaera-backports,l=Devuan Backports,c=main,b=amd64
     origin deb.devuan.org
500 http://deb.devuan.org/merged chimaera-proposed-updates/main amd64 Packages
     release v=4.0.0,o=Devuan,a=stable-proposed-updates,n=chimaera-proposed-updates,l=Devuan,c=main,b=amd64
     origin deb.devuan.org
500 http://deb.torproject.org/torproject.org bookworm/main amd64 Packages
     release o=TorProject,a=testing,n=bookworm,c=main,b=amd64
     origin deb.torproject.org
500 http://pkgmaster.devuan.org/merged chimaera-security/main amd64 Packages
     release v=4.0,o=Devuan,a=stable-security,n=chimaera-security,l=Devuan-Security,c=main,b=amd64
     origin pkgmaster.devuan.org
500 http://deb.devuan.org/merged chimaera/contrib amd64 Packages
     release v=4.0,o=Devuan,a=stable,n=chimaera,l=Devuan,c=contrib,b=amd64
     origin deb.devuan.org
500 http://deb.devuan.org/merged chimaera/non-free amd64 Packages
     release v=4.0,o=Devuan,a=stable,n=chimaera,l=Devuan,c=non-free,b=amd64
     origin deb.devuan.org
500 http://deb.devuan.org/merged chimaera/main amd64 Packages
     release v=4.0,o=Devuan,a=stable,n=chimaera,l=Devuan,c=main,b=amd64
     origin deb.devuan.org
Pin されたパッケージ:
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています... 完了
状態情報を読み取っています... 完了
インストールすることができないパッケージがありました。おそらく、あり得
ない状況を要求したか、(不安定版ディストリビューションを使用しているの
であれば) 必要なパッケージがまだ作成されていなかったり Incoming から移
動されていないことが考えられます。
以下の情報がこの問題を解決するために役立つかもしれません:

以下のパッケージには満たせない依存関係があります:
tor : 依存: libc6 (>= 2.33) しかし、2.32-4 はインストールされようとしています
       推奨: tor-geoipdb しかし、インストールされようとしていません
       推奨: torsocks しかし、インストールされようとしていません
E: 問題を解決することができません。壊れた変更禁止パッケージがあります。

Edit:
I noticed I had the Tor repo noted down in 2 different files.
So I commented it out in sourced.list (I already did under sources.list.d/tor.list though), and now I was able to install it.

Thanks a lot!

Last edited by Anpanman (2021-12-31 11:00:27)

Offline

#8 2021-12-31 14:20:07

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: [SOLVED] Installing Tor

Anpanman wrote:

darknet-only

what is "darknet"? (sounds like a bad yellow press headline...)

you probably mean a tor onion service.
https://community.torproject.org/onion-services/

Offline

#9 2021-12-31 14:30:08

Anpanman
Member
Registered: 2021-12-31
Posts: 5  

Re: [SOLVED] Installing Tor

xinomilo wrote:
Anpanman wrote:

darknet-only

what is "darknet"? (sounds like a bad yellow press headline...)

you probably mean a tor onion service.
https://community.torproject.org/onion-services/

Tor, I2P, Freenet, IPFS, Zeronet, Qortal, Gopher...
Basically everything that's not the clearnet.
Most people package all of those together under the term "darknet", so I used that.

Offline

Board footer