可能重复:
我该如何解决未满足的依赖关系?
我遇到了一个问题。计算更改时,在“设置新软件通道”后升级失败。我尝试了错误:
Not all updates can be installed
An unresolvable problem occurred while calculating the upgrade:
E:Unable to correct problems, you have held broken packages.
This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu
If none of this applies, then please report this bug using the command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.
现在我有 1580 个软件包需要更新,但都没有更新。部分系统升级在第一步也失败了。下一步怎么办?或者,撤消更改?谢谢帮助。
答案1
尝试:
- -sudo apt-get 更新-f,sudo apt-get -f 安装
或者
- sudo aptitude 安装 aptitude , sudo aptitude 安全升级
你也可以通过 synaptic 修复损坏的软件包,它在 otion 菜单中,只需仔细阅读“删除”类别中的内容,因为你可能会弄乱整个系统并删除所有内容