Everytime I try to install phpmyadmin or enable mod rewrite I get an error

Posted August 17, 2013 2.8k views
This is the error: sudo: parse error in /etc/sudoers near line 1 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin I have tried apt-get update and still the same.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers
Did you edit /etc/sudoers manually? You should edit it using visudo instead:

EDITOR=nano visudo
"sudo: parse error in /etc/sudoers near line 1"

Can you copy 'n paste, here, line 1 of /etc/sudoers?