NEW Wiki replaces Help Manual online - Click here


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Update Error - Could not get lock
#1
Hi,
I got this error message while gathering updates:
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 340788 (apt-get)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

Thanks for any help
Reply
#2
That message indicates that there was already a package management process running when a second one has tried to start. A package manager requires exclusive access to update resources and will try to lock the resources while it is running to prevent another instance starting.

Usually all that is needed is to wait until the first process completes before running update/upgrade again.
The length of time the resource remains locked will be variable.

If the problem does not self-resolve after a while, shutdown, reboot and try again.
If the problem persists it is possible that something (like an interrupted update) may have broken the mechanism and more investigation will be required to clear the lock.
stevef
clueless
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)