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

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

          導航

          統計

          常用鏈接

          留言簿

          隨筆分類

          隨筆檔案

          文章分類

          相冊

          Organization

          Personal

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 冀州市| 临沂市| 汤原县| 平舆县| 清远市| 鄢陵县| 旅游| 资溪县| 威信县| 上栗县| 新宁县| 陆川县| 长武县| 大港区| 隆尧县| 大洼县| 襄垣县| 梁河县| 布尔津县| 闻喜县| 故城县| 社会| 洛川县| 临高县| 齐河县| 晋城| 大竹县| 巢湖市| 容城县| 武陟县| 凤山市| 枝江市| 雅安市| 财经| 临猗县| 芮城县| 胶南市| 鄯善县| 苗栗县| 股票| 卓尼县|