Você tentou remover o bloqueio?
sudo rm /var/lib/dpkg/lock
E instale o que quiser.
Sou um novo usuário do Linux e, ao tentar instalar o "wine" no Ubuntu 16.04, encontrei o seguinte problema:
myname@my-computer:~$ sudo apt-get install winehq-staging
[sudo] password for myname:
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?
Qual poderia ser o problema?
Você tentou remover o bloqueio?
sudo rm /var/lib/dpkg/lock
E instale o que quiser.