Whonix Getway setup-dist = v 17.1.0.2

i start whonix getway and automatic start setup-dist.

Problem:

python3 -c ‘from tor_control_panel import tor_status; tor_status.set_enabled() ’
returned exit code 1, which means failed to enable Tor.

Error messages are as follows:

Traceback (mast recent call last):

File “”, line 1, in

Import€rror: cannot import name ‘tor_status’ from ‘tor_control_panel’
(vusr/1ib/python3/dist -packages/tor_contral_panel/init.py)

If some dependencies are missing (for example, cannot import name ‘tor_status’):
sudo apt-get install tor-control-panel

If there is something wrong with your Tor config, you can open /usr/local/etc/torrc.d/S@_user.conf in the terminal:
sudo nano /usr/local/etc/torre.d/50_user.cant

Or, if you are using a graphical Whonix-Gateway:
Start Menu → System → Tor User Config

Useful troubleshoot ing commands:
sudo service tor@default restart

Or for more detailed Tor config report:
anon-verify -v


The tor itself is launched without errors if you display sudo service tor@defatult status

How to start whonix? This is a standard build and it doesn’t work. With this error

CLI version?

If you cannot work arround a small resistance by manually enabling Tor then CLI version isn’t for you. It’s for advanced users. Meaning cannot be stuck at trivial hurdles.

this can be done manually, but if it doesn’t work out of the box on startup, it’s clearly a bug in the product itself. This error is not only in the CLI

and yes, the torus is already running! Further system configuration does not work!!

the whonixcheck command is no longer available, as are its updates (update-nonroot) and all because setup-dist does not pass

Workarounds:

  • A) Use GUI version and lower RAM. Or,
  • B) Use an older version and upgrade. Or,
  • C) Manually apply above git commits. Or,
  • D) Wait for new version where this is fixed. Or,
  • E) simulate setup-dist success:

sudo touch /var/cache/setup-dist/status-files/setup-dist.done

And enable Tor manually.

sudo nano /usr/local/etc/torrc.d/50_user.confg

Add.

DisableNetwork 0

Save.

Restart Tor.

sudo systemctl restart tor
1 Like

For what its worth, this issue tripped me up tonight as well :see_no_evil:

Fixed in new build Whonix 17.1.1.5 - for VirtualBox - Point Release! and any new builds that will come in the future. → Follow Whonix Developments