Linux Lite Forums
Installing updates i get this error message - Could not get lock - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5)
+--- Forum: Updates (https://www.linuxliteos.com/forums/forumdisplay.php?fid=46)
+--- Thread: Installing updates i get this error message - Could not get lock (/showthread.php?tid=9223)



Installing updates i get this error message - Could not get lock - [email protected] - 07-24-2024


.html   hardinfo_report.html (Size: 74.64 KB / Downloads: 1)
===========================
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 a new or existing thread for assistance.

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

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


RE: Installing updates i get this error message - Valtam - 07-24-2024

Restart, wait 10 minutes and try again.


RE: Installing updates i get this error message - Could not get lock - Şerban S. - 07-24-2024

(07-24-2024, 07:06 AM)[email protected] Wrote: ===========================
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 a new or existing thread for assistance.
============ Log ===========
Reading package lists...
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 2889 (apt-get)
E: Unable to lock directory /var/lib/apt/lists/
-----------------
Adrian Saftoiu


Salutări din Alexandria, Adrian! [Image: biggrin.png]

This kind of issue is usually generated by some other apt (or dpkg) instance running. Close any gdebi, or Synaptic PM instance then retrigger the update. It should work.
If this puts an end to the issue, remember to mark it "Solved".

Best regards, șerban.