Mysql-server: Depends on mysql-server-5.5, but it will not be installed

I am using ubuntu 14.04 on VirtualBox. I am trying to install a mysql server using the sudo apt-get install mysql-server command, I always got an error as shown below:

Some packages could be installed .This may mean that you have request 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 packages have unmet dependencies: mysqsl-server : Depends: mysql-server-5.5 but it is not going to be installed E:Unable to correct problems, you have held broken packages. 

and then I will try to use some command as shown below:

 sudo apt-get update sudo apt-get upgrade sudo apt-get clean sudo apt-get autoclean sudo apt-get purge mysql-server* sudo apt-get install mysql-server 

but this is still a mistake. Please help me!

+5
source share
1 answer

Have you tried using

 sudo apt-get install -f 

This can repair damaged packages or clean the installation.

If the mysql server is not installed with -f, you can try installing it in the usual way.

 sudo apt-get install mysql-server -y 
+1
source

Source: https://habr.com/ru/post/1240042/


All Articles