Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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. –  TheX May 29 '12 at 21:59

1 Answer 1

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.