installArchives()失败:dpkg:依赖性问题阻止配置“包”
每次我尝试使用Ubuntu软件中心时,都会收到一条错误消息“在修复软件包目录之前无法安装或删除项目” 。 当我尝试修复时,它会说“安装或删除软件包失败” 。
根据细节,它说:
installArchives() failed: dpkg: dependency problems prevent configuration of linux-generic: linux-generic depends on linux-image-generic (= 3.2.0.38.46); however: Version of linux-image-generic on system is 3.2.0.58.69. linux-generic depends on linux-headers-generic (= 3.2.0.38.46); however: Version of linux-headers-generic on system is 3.2.0.58.69. dpkg: error processing linux-generic (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already Errors were encountered while processing: linux-generic Error in function: dpkg: dependency problems prevent configuration of linux-generic: linux-generic depends on linux-image-generic (= 3.2.0.38.46); however: Version of linux-image-generic on system is 3.2.0.58.69. linux-generic depends on linux-headers-generic (= 3.2.0.38.46); however: Version of linux-headers-generic on system is 3.2.0.58.69. dpkg: error processing linux-generic (--configure): dependency problems - leaving unconfigured
感谢您提供的任何帮助。
您将需要一个终端来解决这种情况,软件中心无法处理这类问题。 为此,请使用:
sudo dpkg -r linux-generic linux-image-generic sudo apt-get install linux-generic
那应该可以解决问题。
首先执行以下操作:
sudo apt-get update sudo apt-get -f upgrade
然后:
sudo apt-get autoremove
PS:由于您不是企业,我建议您更新到最新版本13.10。 希望它有所帮助
- 列出当前安装的软件包的所有建议软件包
- 在15.04上安装kubuntu时遇到的错误
- 如何欺骗apt依赖?
- dpkg:error handlingopenoffice4.0-debian-menus_4.0-9714_all.deb
- 无法安装’openjdk-9-jdk’,因为它试图覆盖’openjdk-9-jdk-headless’中包含的文件’
- 如何在Ubuntu 16.10上安装Scratch 2。 还是17.04(64位)?
- 这个/ usr / bin / dpkg返回错误|| ubuntu-16.04,64bit
- “涉及服务的循环”:apt-get install打破dpkg
- 我如何成为“超级用户”?