个人工具

“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?
(/* Reading Package Lists... Done Building Dependency Tree... Done 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 di)
第11行: 第11行:
  
 
 
 +
eeeeeeeeeeeeeeeeeeeee
  
 
====== # apt-get -f install<br># dpkg --configure -a  ======
 
====== # apt-get -f install<br># dpkg --configure -a  ======

2009年5月25日 (一) 12:23的版本

      错误将一直发生,许多错误是用户不注意所导致的。下面列出一些常见的错误和如何处理这些错误。

当你尝试运行 apt-get install package... ,如果收到下面这样的消息时

Reading Package Lists... Done
Building Dependency Tree... Done
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)
W: You may want to run apt-get update to correct these missing files
E: Couldn't find package penguineyes

    你一定是在更改/etc/apt/source.lst文件后忘记运行 apt-get update

    如果发生下列错误
l;l;l;l;l;l;l;l;l;l

? eeeeeeeeeeeeeeeeeeeee

# apt-get -f install
# dpkg --configure -a


上面的命令可能有必要执行多次。这是对那些使用不稳定版系统的冒险者来说是很重要的。

如果运行apt-get update的时候收到 "E: Dynamic MMap ran out of room"这样的错误消息,请在/etc/apt/apt.conf文件里添加:

  APT::Cache-Limit 10000000;