Linux Lite Forums

Full Version: Updates Failed - 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 the Software - Support - Updates section for assistance.

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

Reading package lists...
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1473 (packagekitd)
E: Unable to lock directory /var/lib/apt/lists/
That message is usually triggered when an update process is already active when a second update process is initiated.
In this case, something called packagekitd has locked the update resources which is preventing another update starting.

I suspect packagekitd is a part of an automated task running in the background, if so you just need to wait for it to finish.
Waited a few days.  Still not working.  :imsorry
If it is persisting even after waiting an hour or so and a reboot and a wait doesn't fix it, it is possible a previous update may have not finished correctly and is holding the lock file.

Please can you post the error message you are getting now?
===========================
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 the Software - Support - Updates section for assistance.

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

Reading package lists...
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1473 (packagekitd)
E: Unable to lock directory /var/lib/apt/lists/
kill -9 1473 worked updates are going thanks.  :wave