Is your user in the sudo group?
Is sudo installed? (apt install sudo)
Are there restrictions in /etc/sudoers?
If all else fails, su to root instead, just remember to drop back out to your user shell after installation.
Didn't understand half of that. Total novice here.
Still failing...
Please Login to reply.
You should create new user by 'adduser' command at first, then you can add it to sudo group.