Linux Lite Forums

Software - Support => Other => Topic started by: sachinjr on August 22, 2021, 08:08:36 PM

Title: Errors while installing updates
Post by: sachinjr on August 22, 2021, 08:08:36 PM
Hi, I am not able to install updates on to my system,  I am seeing these errors:

E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 2544 (apt-get)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?


My system information: Can someone help?
-Version-
Kernel      : Linux 5.4.0-56-generic (x86_64)
Version      : #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 2020
C Library      : GNU C Library / (Ubuntu GLIBC 2.31-0ubuntu9.2) 2.31
Distribution      : Ubuntu 20.04.3 LTS
-Current Session-
-Misc-
Uptime      : 15 minutes
Load Average      : 2.51, 2.23, 1.34
Available entropy in /dev/random      : 3427 bits (healthy)


Title: Re: Errors while installing updates
Post by: bgaulke on August 22, 2021, 08:21:30 PM
Getting a similar error while trying to install updates. Here is my error log:

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

Can anyone help me fix this?

Thanks,
bgaulke
Title: Re: Errors while installing updates
Post by: Jerry on August 23, 2021, 03:13:10 AM
Reboot, then wait 10 minutes.