You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Unable to download updates - Could not get Lock

Author (Read 4306 times)

0 Members and 1 Guest are viewing this topic.

Re: Unable to download updates - Could not get Lock
« Reply #2 on: September 02, 2023, 04:40:18 AM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 822
    Posts
  • Reputation: 148
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
That message is usually triggered if more than one update process are trying to run at the same time.

Processes which lock the resources include things like manual updates, background update checks, package managers etc.

A possible clash is an attempt to run an update from the Welcome Screen just after boot.
Unless set to 'never', background checks may be running at any time but commonly run just after boot.
Depending on the speed of your connection and the size of the updates, the resource may be locked for significant time.
This condition will self clear once the background check completes so sometimes all that is needed is to wait.

Before running a manual update, any package managers need to be closed to avoid a clash.

If the problem does not self-resolve it is possible that something (like an interrupted update) may have broken the mechanism and more investigation will be required to clear the lock.
clueless
 

Unable to download updates - Could not get Lock
« Reply #1 on: September 02, 2023, 03:19:11 AM »
 

Jim0000

  • New to Forums
  • *
  • 37
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • MEMORY: 1Gb

  • VIDEO CARD: Unknown
From the notification:

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

Advice needed.......please?

Jim.
« Last Edit: September 02, 2023, 04:40:47 AM by stevef »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section