Linux Lite Forums

Full Version: Updates Error - could not get lock
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
============ Log ===========

Reading package lists...
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 21234 (apt-get)
E: Unable to lock directory /var/lib/apt/lists/
Marty,

I've split your post to a new thread.
You've asked about this a few times before.

https://www.linuxliteos.com/forums/updat.../#msg60596
https://www.linuxliteos.com/forums/updat.../#msg60375
https://www.linuxliteos.com/forums/updat.../#msg60284
https://www.linuxliteos.com/forums/updat.../#msg59870

The 'could not get lock' message is usually triggered when an update process is already active when a second update process is initiated, for example starting a manual check when an automated background check is already running.

Before manually running updates you need to ensure that no package management system is running, or if an automated background check is running, you just need to wait a while.

Let us know if you continually get this error and are NEVER able to update as it may be something important.