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?
So how to fix this issue? let's analyze the error message, it is saying that there is other process that's also using root or sudo command, that's why you get this errror. So first thing to do is make sure there is no other process that's running under administrator or sudo command.
It could be GUI (graphical) app too, so double check that, if you are 100% sure that's no other process that's using administrator or sudo command but still you get the error, then you need to delete the /var/lib/dpkg/lock file, this will solve the issue.
sudo rm /var/lib/dpkg/lock
Another way is to reboot/restart your computer, but that's not a good solution.
0 comments:
Post a Comment
Note: only a member of this blog may post a comment.