In Debian 13 Apptainer on Ubuntu 24:

```bash
apt install -y tor
```
```
Installing:
tor

Installing dependencies:
libtorsocks logrotate runit-helper tor-geoipdb torsocks

Suggested packages:
bsd-mailx | mailx mixmaster torbrowser-launcher apparmor-utils nyx obfs4proxy

Summary:
Upgrading: 0, Installing: 6, Removing: 0, Not Upgrading: 0
Download size: 5004 kB
Space needed: 32.6 MB / 270 GB available

Get:1 http://deb.debian.org/debian trixie/main amd64 logrotate amd64 3.22.0-1 [62.0 kB]
Get:2 http://deb.debian.org/debian trixie/main amd64 libtorsocks amd64 2.5.0-1+deb13u1 [68.0 kB]
Get:3 http://deb.debian.org/debian trixie/main amd64 runit-helper all 2.16.4 [7296 B]
Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 tor amd64 0.4.9.11-0+deb13u1 [2087 kB]
Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 tor-geoipdb all 0.4.9.11-0+deb13u1 [2752 kB]
Get:6 http://deb.debian.org/debian trixie/main amd64 torsocks all 2.5.0-1+deb13u1 [27.8 kB]
Fetched 5004 kB in 1s (7097 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79, <STDIN> line 6.)
debconf: falling back to frontend: Readline
Selecting previously unselected package logrotate.
(Reading database ... 42415 files and directories currently installed.)
Preparing to unpack .../0-logrotate_3.22.0-1_amd64.deb ...
Unpacking logrotate (3.22.0-1) ...
Selecting previously unselected package libtorsocks:amd64.
Preparing to unpack .../1-libtorsocks_2.5.0-1+deb13u1_amd64.deb ...
Unpacking libtorsocks:amd64 (2.5.0-1+deb13u1) ...
Selecting previously unselected package runit-helper.
Preparing to unpack .../2-runit-helper_2.16.4_all.deb ...
Unpacking runit-helper (2.16.4) ...
Selecting previously unselected package tor.
Preparing to unpack .../3-tor_0.4.9.11-0+deb13u1_amd64.deb ...
Unpacking tor (0.4.9.11-0+deb13u1) ...
Selecting previously unselected package tor-geoipdb.
Preparing to unpack .../4-tor-geoipdb_0.4.9.11-0+deb13u1_all.deb ...
Unpacking tor-geoipdb (0.4.9.11-0+deb13u1) ...
Selecting previously unselected package torsocks.
Preparing to unpack .../5-torsocks_2.5.0-1+deb13u1_all.deb ...
Unpacking torsocks (2.5.0-1+deb13u1) ...
Setting up logrotate (3.22.0-1) ...
Created symlink '/etc/systemd/system/timers.target.wants/logrotate.timer' → '/usr/lib/systemd/system/logrotate.timer'.
Setting up runit-helper (2.16.4) ...
Setting up tor (0.4.9.11-0+deb13u1) ...
Something or somebody made /var/lib/tor disappear.
Creating one for you again.
Something or somebody made /var/log/tor disappear.
Creating one for you again.
Created symlink '/etc/systemd/system/multi-user.target.wants/tor.service' → '/usr/lib/systemd/system/tor.service'.
runit: tor: start action denied by policy-rc.d
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libtorsocks:amd64 (2.5.0-1+deb13u1) ...
Setting up tor-geoipdb (0.4.9.11-0+deb13u1) ...
Setting up torsocks (2.5.0-1+deb13u1) ...
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for libc-bin (2.41-12+deb13u3) ...
```

```bash
torify curl https://ifconfig.me
```
```
1784900449 PERROR torsocks[2920560]: socks5 libc connect: Connection refused (in socks5_connect() at socks5.c:202)
curl: (6) Could not resolve host: ifconfig.me
```

What is the problem?
Jul 24, 1:45pm
Jul 24, 1:45pm

This is a shared conversation and may include unverified content that doesn't reflect Mistral AI's views. Login to resume chatting.

Vibe can make mistakes. Check answers. Learn more