# I can't update wine from 1.5.10 to 1.5.11 due to a dpkg lock file [duplicate]

I have tried double checking for updates and updating the ppa via the terminal. The terminal outputs this, at the end.

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?


Any ideas? Thank you.

-

## marked as duplicate by Avinash Raj, jrg♦Jan 19 '14 at 3:35

Were you running the update manager, or any other update software. If so, wait until, it is done and then try again. –  Max Tither Aug 19 '12 at 16:44
If above comment was not the problem , then look at my answer . –  Raja Aug 19 '12 at 16:50

sudo rm -rf /var/lib/dpkg/lock