ubuntu apt-get 安装错误总结
2017-11-04 22:00
330 查看
在安装java8时可能因为源是在国外,所以下载速度很慢,过一会ssh会断开,然后安装失败再进服务器使用apt-get安装时会出现E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?错误网上说是:sudo dpkg --clear-avail使用后,会报dpkg: error: dpkg status database is locked by another process错误,这时候要使用sudo rm /var/lib/dpkg/lock然后再使用sudo dpkg --clear-avail再运行apt-get时会出现E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.运行sudo dpkg --configure -a到这里如果之前下载的安装包没有出错,会接着安装E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/报了上边的错,处理办法是:sudo rm -rf /var/cache/apt/archives/lock
sudo apt-get update如果报了
E: Unable to lock directory /var/cache/apt/archives/报了上边的错,处理办法是:sudo rm -rf /var/cache/apt/archives/lock
sudo apt-get update如果报了
dpkg: error: parsing file '/var/lib/dpkg/updates/0006' near line 0: newline in field name `#padding'错误,也是sudo dpkg --clear-avail如果是下边错误debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable则,删除sudo rm -r /var/cache/debconf/*.dat
相关文章推荐
- ubuntu 安装apt-get常见错误
- ubuntu使用apt-get install 安装程序时候报同样Depends错误
- ubuntu下用apt-get install 安装软件时出现 initramfs-tools错误
- Ubuntu中apt-get安装或更新软件错误的解决办法
- ubuntu中apt-get的默认安装路径。安装、卸载以及查看的方法总结
- ubuntu中apt-get的默认安装路径。安装、卸载以及查看的方法总结
- ubuntu apt-get 总结 install xxx -d能下载安装包(含依赖)不安装
- Ubuntu 的apt-get install的安装错误
- ubuntu使用”apt-get install“安装程序时遇到错误提示: you might want to run 'apt-get -f install' to correct these
- ubuntu安装程序时遇到错误 you might want to run 'apt-get -f install' to correct these
- ubuntu中apt-get的默认安装路径。安装、卸载以及查看的方法总结
- ubuntu中apt-get的默认安装路径。安装、卸载以及查看的方法总结
- 在Ubuntu终端中使用安装命令Sudo apt-get install xxx时时出现E: 无法获得锁 /var/lib/dpkg/lock - open (11: 资源暂时不可用)的错误解决方案
- ubuntu常见错误--Could not get lock /var/lib/dpkg/lock解决 通过终端安装程序sudo apt-get install xxx时出错: E: Coul
- ubuntu中apt-get的默认安装路径。安装、卸载以及查看的方法总结
- 安装Ubuntu之后默认英文,选简体中文,正常来说这样装好就应该能用的,可是这个时候又出现了错误,說:broken package database. 请用apt-get install -f解决问题
- ubuntu apt-get 总结 install xxx -d能下载安装包(含依赖)不安装_和卸载(转载)
- ubuntu安装软件包apt-get和dpkg方法
- ubuntu: apt-get update的时候遇到“Hash Sum mismatch”错误
- mongodb3 ubuntu离线安装(非apt-get)及用户管理