Welcome aboard if you are using Buster - there is an issue with dpkg
Possible answer as used in Refracta eg. dpkg-reconfigure tzdata.
Quote:"darry1966: The problem is not with dpkg. The behavior of su changed when they moved it to a different source package. I've found the easiest way to restore the old behavior is to put ALWAYS_SET_PATH yes in /etc/default/su. (create the file if it doesn't exist)"