If you get an error that you aren't in the sudoers file, this typically means that your user is not designated as an admin with sudo privileges.
In plain English, when it comes to some OS's like Debian including 10,11 etc.., by default the user is created without special privileges which is contrary to how Ubuntu/Mint handle the secondary user.
We can see that the only users allowed to sudo are root and members of the "sudo" group. So we can fix this by adding the user to the group "sudo"
usermod -aG sudo,adm yourusername
After that logout and login and you will be able to sudo since you are part of the sudoers group.
linux, debian, enable, sudo, sudoers, user, solutionif, aren, typically, designated, admin, privileges, os, etc, default, ubuntu, mint, secondary, users, quot, adding, usermod, ag, adm, yourusername, logout, login,