apt-get常见错误

 

 
安装错误:“E: Unmet dependencies.”
原因:非正常停止apt-get install *

错误提示:E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution) 解决方法:sudo apt-get --fix-broken install

错误:E: Could not get lock /var/lib/apt/lists/lock
原因:其他安装非正常结束
错误提示:E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)

             E: Unable to lock directory /var/lib/apt/lists/

解决方法:rm /var/lib/apt/lists/lock

 

 

 

http://blog.sina.com.cn/s/blog_4980828b0100zicn.html

posted @ 2018-05-17 09:46  a318013800  阅读(224)  评论(0)    收藏  举报