pankaj@pankajbhatt:~$ sudo add-apt-repository ppa:umang/indicator-stickynotes
>>> /etc/sudoers: syntax error near line 1 <<<
sudo: parse error in /etc/sudoers near line 1
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin

1 Answer 1


Have you altered /etc/sudoers? It's complaining that there's a "syntax error" in or near the first line of /etc/sudoers. Undo your changes to /etc/sudoers.

  • I recommend editing this answer to expand it with specific details about how to do this. Editing/fixing a broken sudoers file is not very obvious because you can't use sudo any longer. Jul 17, 2016 at 16:03

Not the answer you're looking for? Browse other questions tagged or ask your own question.