我无法修复此问题。我不知道该怎么做。我按照 YouTube 上的教程操作,从此网站 dev.mysql.com/downloads/mysql 下载了 deb 包,并尝试安装它。它不起作用,并显示错误和无法安装的包。
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:
libmysqlclient21 : Depends: mysql-common (>= 8.0.28-1ubuntu20.04) but 5.8+1.0.5ubuntu2 is installed
mysql-community-server-core-dbgsym : Depends: mysql-community-server-core (= 8.0.28-1ubuntu20.04) but it is not installable
mysql-community-test : Depends: mysql-community-server (= 8.0.28-1ubuntu20.04) but it is not installable
Depends: mysql-community-client (= 8.0.28-1ubuntu20.04) but it is not installable
Depends: libmysqlclient-dev but it is not installed
Depends: libjson-perl but it is not installed
Depends: mecab-ipadic-utf8 but it is not installed
Depends: mysql-community-server-core but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
我尝试删除 mysql,但依赖项仍然存在。我的 linux 系统上现在没有任何 sql。什么都没有,所以我不知道为什么它仍然说有损坏的包。