Unable to correct problems, you have held broken packages MYSQL 오류 메시지

당황스럽군. 

 

$ sudo apt-get install mysql-server

Reading package lists... Done
Building dependency tree
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 : Depends: mysql-server-8.0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

 

해결책

aptitude 를 설치한 후에 다시 mysql-server를 설치합니다.

- sudo apt-get install aptitude

- sudo aptitude install mysql-server

$ sudo apt-get install aptitude

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  aptitude-common libboost-iostreams1.71.0 libclass-accessor-perl libcwidget4 libio-string-perl
  libparse-debianchangelog-perl libsigc++-2.0-0v5 libsub-name-perl libxapian30
Suggested packages:
  aptitude-doc-en | aptitude-doc apt-xapian-index debtags tasksel libcwidget-dev libxml-simple-perl xapian-tools
The following NEW packages will be installed:
  aptitude aptitude-common libboost-iostreams1.71.0 libclass-accessor-perl libcwidget4 libio-string-perl
  libparse-debianchangelog-perl libsigc++-2.0-0v5 libsub-name-perl libxapian30
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 4343 kB of archives.

$ sudo apt-get install mysql-server

 

 

 

'MariaDB' 카테고리의 다른 글

Ubuntu 20.04에 MariaDB 삭제하기  (0) 2022.01.15
mariadb, mysqlDB root password 초기화  (0) 2022.01.14
Ubuntu 20.04에 MariaDB 설치하기  (0) 2021.12.28
MariaDB 삭제-수정  (0) 2021.12.28
MariaDB Products  (0) 2021.12.28

+ Recent posts