정보 보안을 향한 항해

mysql-5.6 설치 오류 해결 (ubuntu 14.04) 본문

OS 오류/Linux 오류

mysql-5.6 설치 오류 해결 (ubuntu 14.04)

금홍자 2021. 10. 8. 15:52

The following packages have unmet dependencies: mysql-server : Depends: mysql-server-5.5 but it is not going to be installed E: Unable to correct problems, you have held broken packages.

 

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 : Depends: mysql-server-5.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

 

 

 

 

ubuntu 14.04 라면

sudo apt-get purge mysql-client-core-5.6
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt install mysql-client-core-5.5
sudo apt install mysql-server  

'

ubuntu 16.04 18.04 라면

sudo apt-get purge mysql-client-core-5.7
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt install mysql-client-core-5.7
sudo apt install mysql-server

 

해결 된다.

 

만약 안된다면

 

 

# sudo apt-get install aptitude

# sudo aptitude install mysql-server

 

하면 해결된다