@hans1977se
Maybe it worked for me, because I used a Raspberry Pi with Ubuntu Mate. I'm not quite sure how the user and sudoers group management works there.

I'm pretty sure that by using a "fully prepared" working system, this error does not occur.