任何人都知道我为什么会遇到这个错误...
为什么我无法在我的VPS上安装MySQl服务器?
我需要做什么?
我收到了这个错误:
warning: MySQL-shared-5.5.46-1.el7.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
libc.so.6(GLIBC_2.14)(64bit) is needed by MySQL-shared-5.5.46-1.el7.x86_64
rpmlib(FileDigests) <= 4.6.0-1 is needed by MySQL-shared-5.5.46-1.el7.x86_64
rpmlib(PayloadIsXz) <= 5.2-1 is needed by MySQL-shared-5.5.46-1.el7.x86_64
=============================================== ==========
我用mysql 5.5.45重新安装并成功安装mysql-client和mysql-share ..
[root@ryobest tampung]# rpm -qa | grep MySQL
MySQL-shared-5.5.45-1.linux2.6
MySQL-client-5.5.45-1.linux2.6
[root@ryobest tampung]# rpm -ivh MySQL-server-5.5.45-1.linux2.6.x86_64.rpm
warning: MySQL-server-5.5.45-1.linux2.6.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
libaio.so.1()(64bit) is needed by MySQL-server-5.5.45-1.linux2.6.x86_64
libaio.so.1(LIBAIO_0.1)(64bit) is needed by MySQL-server-5.5.45-1.linux2.6.x86_64
libaio.so.1(LIBAIO_0.4)(64bit) is needed by MySQL-server-5.5.45-1.linux2.6.x86_64
[root@ryobest tampung]#
[root@ryobest tampung]# rpm -ivh libaio1-0.3.109-44.3.x86_64.rpm
warning: libaio1-0.3.109-44.3.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 09ca02b0
error: Failed dependencies:
rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by libaio1-0.3.109-44.3.x86_64
[root@ryobest tampung]#
我现在该怎么办?我找不到rpm rpmlib(PayloadIsLzma)&lt; = 4.4.6-1
答案 0 :(得分:0)
您缺少MySQL服务器所需的依赖项。
你有两种方法可以离开这里:
逐个安装依赖项,然后重新尝试安装(更长的路)
使用yum
进行安装,如下所示(更快,更简单)
yum install mysql mysql-server
如果你的VPS网络访问没有任何问题,我建议你选择后一个,通常情况并非如此。