Looks like you posted this twice.

Did you make a change to your sudoers file? If not, then have you tried
changing to root via "sudo su -" ?

As far as the install issue, you need to run that with sudo when running as
the debian user:
Ex:
   *sudo apt-get install -y policykit-1-gnome*


Cheers,

Jon

On Wed, Jul 22, 2020 at 10:59 AM jayasudhaa t.n <[email protected]>
wrote:

> when i execute sudo syscheck ,
> i get the following:
> sudo: /etc/sudoers is world writable
> sudo: no valid sudoers sources found, quitting
> sudo: unable to initialize policy plugin
>
> tried resolving using bash pkexec: pkexec: command not found
>
> not able to install policy kit , i get error as below:
>
> debian@beaglebone:/etc$ apt-get install -y policykit-1-gnome.
> E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13:
> Permission denied)
> E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend),
> are you root?
>
> kindly help. very urgent.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/4241d5ce-fd8e-4f0a-a3dd-5144a92ab391o%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/4241d5ce-fd8e-4f0a-a3dd-5144a92ab391o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAG99bkroWdSYX--g9hQwYikwQHDXZMLmtF%3DuT-4ZgD_8%3DsCDRw%40mail.gmail.com.

Reply via email to