Apt-get常见错误处理
来源:互联网 发布:算法工程师 招聘 编辑:程序博客网 时间:2024/06/04 12:06
错误将一直发生,许多错误是用户不注意所导致的。下面列出一些常见的错误和如何处理这些错误。
当你尝试运行 apt-get install package... ,如果收到下面这样的消息时
Reading Package Lists... DoneBuilding Dependency Tree... DoneW: 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
你一定是在更改/etc/apt/source.lst文件后忘记运行 apt-get update
如果发生下列错误:
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?
你一定是以普通用户在运行apt-get. 当运行 apt-get 用不同的源和方式的时候,都需要root权限。
有种错误和上面这种错误很相似,当同时运行2个apt-get ,或者运行一个apt-get 和一个dpkg的时候。
只有能和其他apt-get 同时使用的方式才是 source 方式(The only method that can be used simultaneously with others is the source) method. )
如果在安装的过程中发生问题,或者某些软件包无法继续安装或删除,那么尝试运行下面两条命令:
# 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;
0 0
- Apt-get常见错误处理
- apt-get常见错误
- apt-get常见错误
- ubuntu 安装apt-get常见错误
- apt-get -f install 错误的处理
- apt-get -f install 错误的处理
- Ubuntu的apt-get命令以及一些常见错误
- APT-GET 错误恢复
- apt-get 错误
- (ubuntu 9.04) sudo apt-get update 错误处理
- sudo apt-get update错误
- Ubuntu 14.04 apt-get 错误
- apt-get update 出现错误
- apt-get update失败处理
- apt-get update失败处理
- Ubuntu 下 apt-get and apt-cache 等常见命令
- Linux命令apt-get apt的常见用法
- Could not get lock/var/lib/apt/lists错误的处理
- 我的博客————更新
- 10年程序人生感悟
- 旋转数组的查找问题
- Add Two Numbers
- 3.1-6
- Apt-get常见错误处理
- Arduino Car going square
- 先进的编码技术-稀疏表达-2-ScSPM和LLC的总结
- arduino
- 西乡男科哪里比较好
- CentOS下Composer的安装和使用
- PHP自动化白盒审计技术与实现
- 11个故事让你顿悟人生
- arduino过滤空格