MySQL 설치 문제

MySQL 설치 문제

mysql-server-5.6 패키지를 설치하려고 하는데 다음 오류 메시지가 나타납니다.

root@ps481138:/home/nikitasorokin# apt-get install mysql-server-5.6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mysql-server-5.6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 941 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up mysql-server-5.6 (5.6.25-0ubuntu1) ...
stop: Unknown instance: 
invoke-rc.d: initscript mysql, action "stop" failed.
update-alternatives: error: alternative path /etc/mysql/mysql.cnf doesn't exist
dpkg: error processing package mysql-server-5.6 (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 mysql-server-5.6
E: Sub-process /usr/bin/dpkg returned an error code (1)

적절한 캐시 결과:

root@ps481138:/home/nikitasorokin# apt-cache policy mysql-server-5.6
mysql-server-5.6:
  Installed: 5.6.25-0ubuntu1
  Candidate: 5.6.25-0ubuntu1
   Version table:
  *** 5.6.25-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
        100 /var/lib/dpkg/status

추가 정보:

lsb_release -a; uname -a
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.5 LTS
Release:        12.04
Codename:       precise

Linux ps481138 3.1.9-vs2.3.2.5vs2.3.2.5+ #3 SMP Wed Feb 12 13:51:29  PST 2014 x86_64 x86_64 x86_64 GNU/Linux

이 오류의 원인에 대해 어떻게 생각하며 어떻게 해결할 수 있습니까? 미리 감사드립니다!!

답변1

미안해, 너캔트Ubuntu Precise에 이 Ubuntu Wily 패키지를 설치하세요. 그리고 짧은 답변으로 인해 나쁜 소식을 전하게 되어 다시 한번 죄송합니다.\

시스템에서 Wily 리포지토리를 제거합니다.

관련 정보