Add Debian or Whonix version check


I was reading this article:


and i saw that we miss one thing we might add to whonix check , which is distro/debian version check up.

and i know two commands to do that (i dunno if there are more clearer commands than those 2 commands):

lsb_release -a


No LSB modules are available.
Distributor ID: Whonix
Description:    Whonix GNU/Linux 9.5 (stretch)
Release:        9.5
Codename:       stretch

or cat /etc/debian_version



so either we add the commands and it will show debian version, or we modify debian version to whonix version.

either way its fine , but the idea is to add version checker.

cc @Patrick


Very few are looking at this command. Not even https://tech.michaelaltfield.net/2018/09/12/how-to-check-whonix-version-in-qubes/ who tried some things. So won’t fix since messing with that creates more issues than good.

The solution would be to have a better message. Instead of:

WARNING: Whonix News Result: ✘ Outdated: Installed whonix-gateway-packages-dependencies 3.4.2-1 is outdated! You should update. You can automatically update using Whonix’s internal updater. Please update using: sudo apt-get update && sudo apt-get dist-upgrade

It could have a link to https://www.whonix.org/wiki/Upgrading_Whonix_13_to_Whonix_14.

A real solution:

cat /etc/whonix_version

whonixcheck --verbose --function show_versions


[INFO] [whonixcheck] whonix_build_version: 3:2.6-1
[INFO] [whonixcheck] whonix-gateway-packages-dependencies-cli: 7.9-1
[INFO] [whonixcheck] /etc/whonix_version: 14



@TNT_BOM_BOM, thanks for posting this ^-^

@Patrick, thanks for providing the proper solutions! As I linked in my post, the whonix documentation I found for determining the whonix version was these pages:

I went ahead and registered a new account on the whonix wiki and edited the first wiki article to include your whonixcheck --verbose --function show_versions command. As I’m a new user, the edit is currently pending.

I think it’s imperative that the cat /etc/whonix_version command also be documented somehwhere as well. Anyone have a suggestion on where that should be put?

-Michael Altfield

EDIT: I added the cat /etc/whonix_version command to the documentation on the FAQ page…also pending approval.