systemcheck sudo: error while loading shared libraries: libsudo_util.so.0: cannot open shared object file: No such file or directory

I ran a clean release upgrade but now am seeing this:

$ systemcheck
sudo: error while loading shared libraries: libsudo_util.so.0: cannot open shared object file: No such file or directory

$ sudo whoami
root

What is a clean release upgrade?

Which virtualizer?

Please check your systemcheck version:

dpkg -l | grep systemcheck

I apologize about the ambiguity. I mean that I ran all Release Upgrade steps without generating any errors (including sanity checks). The system seems virtually intact…

$ dpkg -l | grep systemcheck
ii systemcheck 3:25.8-1 all Anonymity and security check

VirtualBox 7.0

I cannot reproduce this.

This could be because of prior manual changes to AppArmor profiles? I suspect the AppArmor profile in /etc/apparmor.d is outdated.

To check if configuration files are up-to-date and how to reset these to vendor defaults, see:
Configuration Files - Kicksecure chapter Reset Configuration Files to Vendor Default in Kicksecure wiki

(Whonix is based on Kicksecure.)