You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Updates Error - could not get lock

Author (Read 6422 times)

0 Members and 1 Guest are viewing this topic.

Re: Updates Error - could not get lock
« Reply #2 on: May 17, 2023, 09:32:06 AM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 822
    Posts
  • Reputation: 148
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
Marty,

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

https://www.linuxliteos.com/forums/updates/re-update-error-cant-fetch-files-from-server-ppa/msg60596/#msg60596
https://www.linuxliteos.com/forums/updates/re-upgrade-error-lite-patch-gpg/msg60375/#msg60375
https://www.linuxliteos.com/forums/updates/upgrade-error-could-not-get-lock/msg60284/#msg60284
https://www.linuxliteos.com/forums/updates/upgrade-error-9035/msg59870/#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.
clueless
 

Updates Error - could not get lock
« Reply #1 on: May 17, 2023, 09:12:37 AM »
 

Marty

  • Always Learning
  • New to Forums
  • *
  • 31
    Posts
  • Reputation: 0
  • Not a programmer
    • View Profile

  • CPU: Intel Pentium Duel CPU E2229 @ 2.40 GHz

  • MEMORY: 3Gb

  • VIDEO CARD: intel

  • Kernel: 5.x
============ 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/
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section