Of course, a workaround is to set these env variables when not using sudo but logging in as root and doing release upgrade:
export SUDO_USER=root export SUDO_UID=0 export SUDO_COMMAND=/bin/bash export SUDO_GID=0
Of course, a workaround is to set these env variables when not using sudo but logging in as root and doing release upgrade:
export SUDO_USER=root /bin/bash
export SUDO_UID=0
export SUDO_COMMAND=
export SUDO_GID=0