when i want to install curl on my ubuntu 16.04, xenial version, i get the error like this, please help me to solve this

Posted March 14, 2017 2.5k views

guest-ruejdk@ranju-Inspiron-3521:~$ sudo apt-get update
sudo: unable to change to root gid: Operation not permitted
sudo: unable to initialize policy plugin

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
1 answer

You’ve logged in as guest, which is not allowed to sudo to root. You need to login with your normal user or root directly.