安装 MySQL 时出现问题

安装 MySQL 时出现问题

Ubuntu 22.04

安装 MySQL 时出现此信息

luis@l-System-luisj:~$ sudo apt-get install mysql-server
[sudo] password for luis: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mysql-server-8.0 : Depends: mysql-server-core-8.0 (= 8.0.28-0ubuntu4) but 8.0.32-0ubuntu0.22.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.
luis@l-System-luisj:~$

因为我不明白,所以请别人帮忙解决这个问题,谢谢你,我执行了 sudo apt update 并再次安装了它,但仍然有些问题,一些损坏的包,我需要建议如何解决这个问题。

luis@l-System-luisj:~$ sudo apt update
[sudo] password for luis: 
Hit:1 https://ppa.launchpadcontent.net/bablu-boy/nutty/ubuntu jammy InRelease
Hit:2 https://ppa.launchpadcontent.net/jentiger-moratai/mediatools/ubuntu jammy InRelease
Hit:3 http://ftp.belnet.be/ubuntu jammy InRelease   
Reading package lists... Done                       
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
luis@l-System-luisj:~$ sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mysql-server-8.0 : Depends: mysql-server-core-8.0 (= 8.0.28-0ubuntu4) but 8.0.32-0ubuntu0.22.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.
luis@l-System-luisj:~$ 
``I did sudo apt update twice but end up the same, can it be something with wrong
Ubuntu itself?.

luis@l-System-luisj:~$ sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mysql-server-8.0 : Depends: mysql-server-core-8.0 (= 8.0.28-0ubuntu4) but 8.0.32-0ubuntu0.22.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.
luis@l-System-luisj:~$ `

相关内容