I'm trying to install some program on Ubuntu, but when I try it I got the following error.-
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?
Searching on the WEB, I applied this.-
sudo lsof /var/lib/dpkg/lock sudo kill -TERM <PID> sudo dpkg --configure -a sudo apt-get update && sudo apt-get upgrade
Apparently it works until the second line, but when I execute the third line the terminal doesn't answer (marks that it continues downloading a program that I tried previously to install. I left the PC works with this, one day, waiting for the end of this but nothing happened).
The previous program that I tried to install is Dropbox.
Thanks for any help.