2016-01-07 5 views
5

Sto usando Ubuntu 14.04 su VirtualBox. Provo installare mysql-server utilizzando il comando sudo apt-get install mysql-assistente, ho sempre ottenuto l'errore come di seguito:mysql-server: dipende: mysql-server-5.5 ma non verrà installato

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. 

e quindi cerco utilizzare un comando come di seguito:

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 

ma è ancora un errore. Mi aiuti per favore!

+1

Questa domanda dovrebbe essere spostato askubuntu.com –

risposta

1

Hai provato a usare

sudo apt-get install -f 

Questo può riparare gli imballaggi rotti o eliminare l'installazione.

Se mysql-server non è installato con -f, si può provare a installare con il modo normale

sudo apt-get install mysql-server -y