Mostrando entradas con la etiqueta fix lock problem. Mostrar todas las entradas
Mostrando entradas con la etiqueta fix lock problem. Mostrar todas las entradas

martes, 10 de febrero de 2015

fixing /var/lib/dpkg/lock problem in 12.04 LTS

Well it seems there is a problem with some spanish header in the ubuntu 12.04 LTS official repo, anyway, after did an apt-get update you may get this error:

E: No se pudo bloquear /var/lib/dpkg/lock – open (11: Recurso no disponible temporalmente)
E: No se pudo bloquear el directorio de administración (/var/lib/dpkg/), ¿quizás haya algún otro proceso utilizándolo?


in order to fix this issue, go to your terminal and use these commands:

sudo fuser -vki  /var/lib/dpkg/lock
sudo rm -f /var/lib/dpkg/lock
sudo dpkg –configure -a
sudo apt-get autoremove

that's it, now you may use apt-get install.

PS: I hate to be sick, this sore throat is worst I need it now, hope to be better in a few days