mysql-server-5.5 설치 오류

mysql-server-5.5 설치 오류

나는 달리려고 노력하고있다

sudo apt-get upgrade

그러나 그것은 나에게 아래의 결과를 주었다. 나는 달리려고 노력했다.

sudo apt-get -f install

하지만 아무런 차이가 없습니다.

(Reading database ... 621055 files and directories currently installed.)
Preparing to unpack .../mysql-client-5.5_5.5.46-0+deb8u1_amd64.deb ...
Unpacking mysql-client-5.5 (5.5.46-0+deb8u1) over (5.5.46-0ubuntu0.14.04.2) ...
dpkg: error processing archive /var/cache/apt/archives/mysql-client-5.5_5.5.46-0+deb8u1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/man1/mysqlcheck.1.gz', which is also in package mysql-client-core-5.5 5.5.46-0ubuntu0.14.04.2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
 /var/cache/apt/archives/mysql-client-5.5_5.5.46-0+deb8u1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

또한 나는 달리려고 노력했지만 dpkg --configure -a역시 무기력했습니다. 출력은 다음과 같습니다

dpkg: dependency problems prevent configuration of mysql-server-5.5:
 mysql-server-5.5 depends on mysql-client-5.5 (>= 5.5.46-0+deb8u1); however:
  Version of mysql-client-5.5 on system is 5.5.46-0ubuntu0.14.04.2.

dpkg: error processing package mysql-server-5.5 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 mysql-server-5.5

답변1

mysql-client-core-5.6을 먼저 설치하려고 시도했다고 가정합니다.

터미널을 열고 다음을 입력하세요.

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

관련 정보