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

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 "e: could not get lock /var/lib/apt/lists/lock. it is held by process 1859 (packagekitd) n: be aware that removing the lock file is not a solution and may break your system. e: unable to lock directory /var/lib/apt/lists/"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language