Linux Lite Forums

Software - Support => Updates => Topic started by: Marty on March 05, 2023, 08:15:55 PM

Title: Upgrade Error - could not get lock
Post by: Marty on March 05, 2023, 08:15:55 PM
============ Log ===========

E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 8308 (apt-get)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
Title: Re: Upgrade Error - could not get lock
Post by: stevef on March 06, 2023, 01:06:35 AM
Marty,

That message is usually triggered when an update process is already active when a second update process is initiated.

The first process locks the update resources which prevents anything else starting an update.

The first process may be a background task, if so just need to wait for it to finish.
Or if the synaptic or lite software utility happens to be active they will lock the resources and need to be closed before an update can run.

I've split your post from the existing thread. In the future, it is probably best to avoid posting the same problem more than once and to raise a new topic rather than posting in a old thread unless your problem relates directly to the subject.