terrycpp

C++博客 首页 新随笔 联系 聚合 管理
  13 Posts :: 0 Stories :: 0 Comments :: 0 Trackbacks
Today I came across a problem about apt-get update.
E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the list directory

This is because another process like synaptic or update had quit without clean the lock.
So .. There will be two ways to solve the problem.
1.If the process mentioned above quited without reboot,
just $ps -e |grep apt
and then.. kill them.
2.Remove /var/lib/apt/lists/lock directly..

There is no Chinese input method in my PC currently,
so..
Welcome to the English world,and improve my poor English..

posted on 2011-01-08 23:44 terrycpp 阅读(271) 评论(0)  编辑 收藏 引用 所属分类: linux

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   博问   Chat2DB   管理