Mọi người giúp mình với!!!

hacker96pro

W-------
07/06/2014
5
79 bài viết
Mọi người giúp mình với!!!
Đây là lỗi gì vậy mọi người? Sửa nó như thế nào?
Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
 
Mời các bạn tham gia Group WhiteHat để thảo luận và cập nhật tin tức an ninh mạng hàng ngày.
Lưu ý từ WhiteHat: Kiến thức an ninh mạng để phòng chống, không làm điều xấu. Luật pháp liên quan
Re: Mọi người giúp mình với!!!

hacker96pro;14486 đã viết:
Đây là lỗi gì vậy mọi người? Sửa nó như thế nào?
Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)


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

Enter the following commands one by one in terminal

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



That's all. If you are not success by this method, try another method.


Method 2 :

Delete the lock file with the following command:

sudo rm /var/lib/apt/lists/lock


Delete the lock file in the cache directory

sudo rm /var/cache/apt/archives/lock



Method 3 : If the both above method is also fails, then try this method

sudo fuser -cuk /var/lib/dpkg/lock
sudo rm -f /var/lib/dpkg/lock

And the same command can be used for the apt cache lock:

sudo fuser -cuk /var/cache/apt/archives/lock
sudo rm -f /var/cache/apt/archives/lock
 
Mời các bạn tham gia Group WhiteHat để thảo luận và cập nhật tin tức an ninh mạng hàng ngày.
Lưu ý từ WhiteHat: Kiến thức an ninh mạng để phòng chống, không làm điều xấu. Luật pháp liên quan
Comment
Bên trên