今天打算把 ubuntu 14.04 的mysql5.5升级到 5.6,接着就按照网上的教程..
先去mysql官网现在,然后再在ubuntu下安装,但是途中真的很麻烦。所以就想为什么不用apt-get来自动化安装呢?
接着搞这搞那,弄着弄着就坏了。原谅小白=。=
无论apt-get install 任何内容,都会出现如下错误:
比如我输入apt-get install nodejs
然后就会出现
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
mysql-community-client:amd64 : Depends: libaio1:amd64 (>= 0.3.93) but it is not going to be installed
Depends: libc6:amd64 (>= 2.17) but it is not going to be installed
Depends: libgcc1:amd64 (>= 1:4.1.1) but it is not going to be installed
Depends: libncurses5:amd64 (>= 5.5-5~) but it is not going to be installed
Depends: libnuma1:amd64 but it is not going to be installed
Depends: libstdc++6:amd64 (>= 4.6) but it is not going to be installed
Depends: libtinfo5:amd64 but it is not going to be installed
Depends: zlib1g:amd64 (>= 1:1.2.0) but it is not going to be installed
mysql-community-server:amd64 : Depends: apparmor:amd64 but it is not going to be installed
Depends: perl:amd64 but it is not going to be installed
Depends: psmisc:amd64 but it is not going to be installed
Depends: libaio1:amd64 (>= 0.3.93) but it is not going to be installed
Depends: libc6:amd64 (>= 2.17) but it is not going to be installed
Depends: libgcc1:amd64 (>= 1:4.1.1) but it is not going to be installed
Depends: libnuma1:amd64 but it is not going to be installed
Depends: libstdc++6:amd64 (>= 4.6) but it is not going to be installed
Depends: zlib1g:amd64 (>= 1:1.2.0) but it is not going to be installed
nodejs : Depends: libc-ares2 (>= 1.8.0) but it is not going to be installed
Depends: libv8-3.14.5 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
我的ubuntu是32位的。我也不知道为什么一直提示AMD64。
Linux에서 문제가 발생할 때 가장 중요한 것은 오류 출력을 보고 번역 도구를 사용하여 이해하지 못하는 단어를 번역하는 것입니다. 그러면 문제가 어디에 있는지 대략적으로 알 수 있습니다.
으아악시스템에서 여기에 알림을 보냈습니다
먼저 이 명령을 시도해 보세요.
그래도 의존성이 없다는 메시지가 나타나면, 의존성을 설치한 후 문제가 있는지 확인하고 문제에 따라 올바른 약을 처방해 드리겠습니다. 이것이 도움이 되기를 바랍니다 :)
안내에 따라 종속 패키지를 설치하세요
apt-get libaio1
apt-get 의류
잠깐
uname -r 커널 상태를 확인한 후 해당 종속성을 설치합니다
많은 종속 패키지가 설치되지 않았습니다. 프롬프트에 따라 각 패키지를 직접 설치하세요.