Answers for ": could not open lock file /var/cache/apt/archives/lock - open (13: permission denied)"

0

E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock the download directory

sudo killall apt-get
Posted by: Guest on June-03-2020
4

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?

sudo must be used before and after &&
Example:

sudo apt-get update && sudo apt-get upgrade
Posted by: Guest on January-09-2021

Code answers related to ": could not open lock file /var/cache/apt/archives/lock - open (13: permission denied)"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language