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 閱讀(435) 評論(0)  編輯  收藏 所屬分類: Linux

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

          導航

          統計

          常用鏈接

          留言簿

          隨筆分類

          隨筆檔案

          文章分類

          相冊

          Organization

          Personal

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 晋城| 鹤庆县| 宝兴县| 喀喇| 洪江市| 富阳市| 宕昌县| 琼海市| 离岛区| 东明县| 江北区| 固安县| 海城市| 武夷山市| 株洲市| 九龙县| 沁阳市| 建始县| 长垣县| 榆树市| 隆化县| 汉中市| 龙山县| 龙泉市| 营口市| 健康| 和田县| 临高县| 将乐县| 普兰店市| 绵竹市| 伊金霍洛旗| 新和县| 长汀县| 尼木县| 临西县| 福安市| 惠来县| 巴南区| 离岛区| 甘孜|