Linux Lite Forums

Full Version: updates - Could not get lock
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
===========================
Install Updates Error log
===========================
Install Updates could not fetch the package cache information lists.
Go to https://www.linuxliteos.com/forums/ and paste the log below into a new or existing thread for assistance.

============ Log ===========

Reading package lists...
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1414 (apt-get)
E: Unable to lock directory /var/lib/apt/lists/
That message indicates that there is already a package management process running when a second one has tried to start.
A package manager requires exclusive access to update resources and will lock the resources while it is running to try to prevent another instance starting.

Usually all that is needed is to wait until the first process completes before running update/upgrade again.
The length of time the resource remains locked will be variable.

If the problem does not self-resolve after a while, shutdown, reboot and try again.
If the problem persists it is possible that something (like an interrupted update) may have broken the mechanism and more investigation will be required to clear the lock.