Answers for "could not get lock /var/lib/apt/lists/lock. it is held by process 8601 (apt) n: be aware that removing the lock file is not a solution and may break your system."

0

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)

#You can delete the lock file with the following command.
sudo rm /var/lib/apt/lists/lock
#You may also need to delete the lock file in the cache directory
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
Posted by: Guest on June-22-2021

Code answers related to "could not get lock /var/lib/apt/lists/lock. it is held by process 8601 (apt) n: be aware that removing the lock file is not a solution and may break your system."

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language