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



Updates Failed - Could not get lock

Author (Read 6006 times)

0 Members and 1 Guest are viewing this topic.

Re: Updates Failed - Could not get lock
« Reply #6 on: June 15, 2023, 02:11:00 PM »
 

ralphshinevar

  • New to Forums
  • *
  • 9
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • MEMORY: 32Gb
kill -9 1473 worked updates are going thanks.   :wave
 

Re: Updates Failed - Could not get lock
« Reply #5 on: June 15, 2023, 02:06:00 PM »
 

ralphshinevar

  • New to Forums
  • *
  • 9
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • MEMORY: 32Gb
===========================
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/
 

Re: Updates Failed - Could not get lock
« Reply #4 on: June 15, 2023, 01:33:06 PM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 777
    Posts
  • Reputation: 143
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
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?
clueless
 

Re: Updates Failed - Could not get lock
« Reply #3 on: June 15, 2023, 12:27:11 PM »
 

ralphshinevar

  • New to Forums
  • *
  • 9
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • MEMORY: 32Gb
Waited a few days.  Still not working.   :imsorry
 

Re: Updates Failed - Could not get lock
« Reply #2 on: June 11, 2023, 01:48:28 AM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 777
    Posts
  • Reputation: 143
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

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

Updates Failed - Could not get lock
« Reply #1 on: June 10, 2023, 05:02:40 PM »
 

ralphshinevar

  • New to Forums
  • *
  • 9
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • MEMORY: 32Gb
===========================
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/
« Last Edit: June 15, 2023, 02:16:45 PM by stevef »
 

 

-->
X Close Ad

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