After attempted upgrade, Tor not running, can't restart it

To finish the upgrade:

  1. increase gateway RAM as per Whonix XFCE for VirtualBox users: RAM increase required

sudo dpkg --configure -a

Upgrade normally as per Operating System Software and Updates if you can. Otherwise more things to try as per below:

That looks actually normal. Tor being functional.

Another way to check if Tor is alright…

Open one terminal window. Watch Tor log.

sudo journalctl -u tor@default -f

In another terminal window / or another terminal tab. Restart Tor.

sudo systemctl restart tor@default ; echo $?

Check Tor status.

sudo systemctl status tor@default ; echo $?

Ignore. (Non-Issue → Support Request Policy)

Why would Tor be functional but pid file non-existent? Perhaps some configuration files are not vendor (Whonix) default. To check:

sudo debsums -ce

(Some are expected but file /etc/tor/torrc and files in folder /etc/torrc.d should not be listed there.)