Debian 13:
- Open terminal.
- Type:
sudo apt update- You should see an error “your_username is not in the sudoers file.”
- Type:
su- Type password for root account.
- Type:
nano /etc/sudoers - Under “# User privilege specification”
- Type: `your_username ALL=(ALL:ALL) ALL
- Press:
ctrl+x - Press:
Y(to save changes) - Press:
enter - In terminal type:
exit - Type:
sudo apt update– error should disappear 🙂