Linux Lite 8.0 RC1 has been released - Click here


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Updates Failed - Could not get lock
#1

===========================
Install Updates Error log
===========================
Install Updates could not fetch the package cache information lists.
Go to https://mityer.khdlhfjijfrupr.tk/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/
Reply
#2

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.

stevef
clueless
Reply
#3

Waited a few days.  Still not working.  :imsorry
Reply
#4

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?

stevef
clueless
Reply
#5

===========================
Install Updates Error log
===========================
Install Updates could not fetch the package cache information lists.
Go to https://mityer.khdlhfjijfrupr.tk/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/
Reply
#6

kill -9 1473 worked updates are going thanks.  :wave
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)