Sabtu, 15 November 2014 | By: roiputra

How can I solve Unable to lock the administration directory (/var/lib/dpkg/) [duplicate]

> sudo apt-get update [sudo] password for trojanfm:  E: Could not get
> lock /var/lib/apt/lists/lock - open (11: Resource temporarily
> unavailable) E: Unable to lock directory /var/lib/apt/lists/ 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?
search for processes.

ps -A | grep apt-get

then see if there any process running as apt-get

kill that process it by using:

sudo kill -9 <process-id> 

for example if process id is 2345

sudo kill -9 2345

then run the sudo apt-get update

http://askubuntu.com/questions/452638/how-can-i-solve-unable-to-lock-the-administration-directory-var-lib-dpkg



0 komentar:

Posting Komentar