segunda-feira, 17 de setembro de 2012

Installation Error, “Unable to lock the administration directory”


 Installation Error, “Unable to lock the administration directory”

Remove your /var/lib/dpkg/lock file and force package reconfiguration.

use the terminal =  (ctrl+alt+ "T")  this open the your terminal.

sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a
 

This will happen if you have 'Update Manager' running in parallel for any update check or install as install process places Lock. If you're facing the same error without 'Update Manager' running you have to remove it from /var/lib/dgkg/lock, which definitely you can't do it manually

use the terminal =  (ctrl+alt+ "T")  this open the your terminal.

sudo fuser -cuk /var/lib/dpkg/lock
sudo rm -f /var/lib/dpkg/lock
 
sudo apt-get update; sudo apt-get upgrade  
 
Later fix this inside the your terminal, tray again , it's work. 
 
enjoy...See You 

Nenhum comentário:

Postar um comentário