Before whonixcheck checks if a package manager is currently running, it should check if there are any issues with dpkg. Such as if dpkg was interrupted and now in a broken state that would prevent running apt-get dist-upgrade.
A follow up task of:
https://github.com/Whonix/Whonix/issues/353