如何解决apt-get中Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify的问题

在Ubuntu中用apt-get安装软件,系统报出Unmet dependencies错误。

Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)
大概意思是:未设置依赖项。尝试“apt–fix broken install”,不使用包(或指定解决方案)根据问题提示信息,是由于所依赖的包linux-image-4.10.0-35-generic并没有被正确安装导致。linux-image-x.x.x是内核文件,从提示信息上看,应该是升级过程中断导致的问题。
执行修复命令,并重新执行更新和升级,确保完整修复问题。
sudo apt --fix-broken install
sudo apt-get update
sudo apt-get upgrade

你可能感兴趣的:(Ubuntu,故障信息)