The solution for "Could not get lock /var/lib/apt/lists/lock - open"

              In Linux, you always wanna to use command: sudo apt-get update to update source list.
              But if one of terminal doesn't finish updating, and then you execute another same command : sudo apt-get update,
          it will has the error message like the following :
          Error output:
              alicus@ubuntu:~$ sudo 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

          The solution is :    
              Open a new  terminal console, execute command like this : sudo rm /var/cache/apt/archives/lock ( it is that has been locked ).
              
              After that, you are allowed to execute sudo apt-get update again.

              Good luck to you !

          posted on 2012-11-03 22:51 Alicus 閱讀(438) 評論(0)  編輯  收藏 所屬分類: Linux

          <2012年11月>
          28293031123
          45678910
          11121314151617
          18192021222324
          2526272829301
          2345678

          導航

          統計

          常用鏈接

          留言簿

          隨筆分類

          隨筆檔案

          文章分類

          相冊

          Organization

          Personal

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 文水县| 富阳市| 治多县| 大余县| 驻马店市| 宝山区| 吴川市| 饶河县| 黄平县| 北京市| 新巴尔虎右旗| 甘德县| 海晏县| 桓台县| 巢湖市| 漯河市| 屏南县| 通山县| 许昌市| 咸宁市| 铁岭市| 巍山| 曲靖市| 南充市| 石台县| 平罗县| 青川县| 庆元县| 宜宾市| 长兴县| 元阳县| 瑞安市| 团风县| 秦皇岛市| 溆浦县| 湾仔区| 新丰县| 于田县| 翁牛特旗| 蒙阴县| 信宜市|