Linux Lite Forums

Software - Support => Installing Software => Topic started by: SCOTIANGOLD on June 30, 2020, 10:31:14 AM

Title: Install Updates Error Log
Post by: SCOTIANGOLD on June 30, 2020, 10:31:14 AM
Relative newbie. Cannot update this evening and advised to post error log in forum. Looks like this is the appropriate forum. Thanks.

===========================
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 2934 (apt-get)
E: Unable to lock directory /var/lib/apt/lists/

Title: Re: Install Updates Error Log
Post by: firenice03 on June 30, 2020, 11:05:38 AM
@SCOTIANGOLD


You have another process that has it locked - synaptic opened or similar...


Close any open windows and retry updates - or you could reboot (it will close any) and rerun updates after its back up....



Title: Re: Install Updates Error Log
Post by: SCOTIANGOLD on June 30, 2020, 11:11:53 AM
Thank you.
Title: Re: Install Updates Error Log
Post by: Jerry on June 30, 2020, 11:18:39 AM
When did that message come up? Did you get a notification about Updates, or did you just perform a random check for Updates?

Sent from my mobile phone using Tapatalk

Title: Re: Install Updates Error Log
Post by: mandoran on July 04, 2020, 06:55:18 PM
DELETED - THREAD HIJACKING
Title: Re: Install Updates Error Log
Post by: firenice03 on July 04, 2020, 09:43:24 PM
@mandoran
Have you tried rebooting and then updating perhaps a process is running....



Title: Re: Install Updates Error Log
Post by: Jerry on July 04, 2020, 10:37:40 PM
Hijacked, OP has reported a solution.
Title: Re: Install Updates Error Log
Post by: Şerban S. on July 05, 2020, 02:39:55 AM
@SCOTIANGOLD


You have another process that has it locked - synaptic opened or similar...


Close any open windows and retry updates - or you could reboot (it will close any) and rerun updates after its back up....
Hello!

@ SCOTIANGOLD>

I got the same message when being careless.
I use often both GDebi and Synaptic so if an "Update" is issued, this happens. The exact two messages are shown.
All you need to do is check the taskbar for Synaptic or GDebi. Close both, then restart the lite-updates program:
Code: [Select]
/usr/bin/lite-updatesAnother variation is also possible.
If you used another console (terminal) and issued some apt command and got back to GUI, this happens if the apt is still running in background.
Use HTop or TaskManager to check for any apt process running.

Hope this will solve the issue.
It worked for me, everytime it happened.
Have a great day! :)