我无法在 Ubuntu 18.04 上安装任何软件。我遇到了一些错误,例如:
Unmet dependencies. Try 'apt --fix-broken install' with no packages
输出sudo apt --fix-broken install
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
dbconfig-mysql : Depends: default-mysql-client but it is not installed or virtual-mysql-client
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
我该如何解决这个问题?
答案1
只需执行命令:
sudo apt --fix-broken install