Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I try to update I get the following error, can someone help me?

enter image description here

share|improve this question
usually this one is resolved by logging out/logging in or rebooting ... are you saying this still occurs after doing these actions? – fossfreedom May 29 '12 at 21:57
Yes I have rebooted multiple times. – TheXed May 29 '12 at 21:59
up vote 5 down vote accepted

If there's no other package manager running (look for muon, apper, synaptic, etc.) then you may simply remove the lock file and retry:

sudo rm /var/lib/dpkg/lock
sudo apt-get update
sudo apt-get upgrade

Since you say you just rebooted, there shouldn't be a package manager running. Just be careful, if there is a package manager running, this brute-force approach may cause serious issues.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.