I was working on my machine. I did some Clamav Virus definition updates, ran clamav and everything worked fine using sudo.

Suddenly afterwards though, my machine started saying that

sudo: no valid sudoers sources found, quitting

What in the world is going on?


I cannot explain why it happened, but I can propose how to solve.

Check if the file /etc/sudoers still exists.

If the answer is no, download the sudo package with

apt-get download sudo

then start in recovery mode, choose to run a root shell from the menu that BusyBox shows, and from command line run

mv /home/ray/sudo*.deb /var/apt/cache/archives/
apt-get purge sudo
apt-get install sudo

where I assumed /home/ray is your home directory.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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