-1

Whenever I try to run:

apt --fix-broken install

It shows:

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?

How to fix this?

Greenonline
  • 2,182

1 Answers1

0

Precede your command with sudo, like so:

sudo apt --fix-broken install

This will grant you the privileges required to run the apt command.

Greenonline
  • 2,182