个人工具

“Ubuntu中文:当前事件”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
 
(未显示17个用户的23个中间版本)
第1行: 第1行:
      错误将一直发生,许多错误是用户不注意所导致的。下面列出一些常见的错误和如何处理这些错误。
 
  
当你尝试运行 apt-get install package... ,如果收到下面这样的消息时<br>  
+
==整改中==
 +
参照 http://wiki.ubuntu.org.cn/Category:页面分类
 +
[http://www.kcouponcode.com <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">Kaspersky Coupon</span>]
  
====== Reading Package Lists... Done<br> Building Dependency Tree... Done<br> W: Couldn't stat source package list 'http://people.debian.org unstable/ Packages' (/var/state/apt/lists/people.debian.org_%7ekov_debian_unstable_Packages) - stat (2 No such file or directory)<br> W: You may want to run apt-get update to correct these missing files<br> E: Couldn't find package penguineyes  ======
+
为已有页面添加分类。
  
&nbsp;&nbsp;&nbsp; 你一定是在更改/etc/apt/source.lst文件后忘记运行 apt-get update<br>
+
==修正现有页面==
 +
有些包名过期,或内容失效,清理。
  
&nbsp;&nbsp;&nbsp; 如果发生下列错误<br>
+
==整理论坛的文档==
 +
把论坛的文档整理进来
  
====== E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)<br> E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?<br><br>  ======
+
[[Category:贡献]]
 
+
你一定是以普通用户在运行apt-get. 当运行 apt-get 用不同的源和方式的时候,都需要root权限。<br>
+
 
+
有种错误和上面这种错误很相似,当同时运行2个apt-get ,或者运行一个apt-get 和一个dpkg的时候。<br>
+
 
+
只有能和其他apt-get 同时使用的方式才是 source 方式(The only method that can be used simultaneously with others is the source) method. )<br>
+
 
+
如果在安装的过程中发生问题,或者某些软件包无法继续安装或删除,那么尝试运行下面两条命令<br>
+
 
+
====== # apt-get -f install<br> # dpkg --configure -a  ======
+
 
+
<br>
+
 
+
上面的命令可能有必要执行多次。这是对那些使用不稳定版系统的冒险者来说是很重要的。<br>
+
 
+
如果运行apt-get update的时候收到 "E: Dynamic MMap ran out of room"这样的错误消息,请在/etc/apt/apt.conf文件里添加:
+
 
+
====== &nbsp; APT::Cache-Limit 10000000;  ======
+
 
+
<br>
+
 
+
<br>
+
 
+
<br>
+

2013年4月20日 (六) 00:34的最新版本

整改中

参照 http://wiki.ubuntu.org.cn/Category:页面分类

Kaspersky Coupon

为已有页面添加分类。

修正现有页面

有些包名过期,或内容失效,清理。

整理论坛的文档

把论坛的文档整理进来