我在azure.com安装了一个新的centos 7,我决定安装一个网络服务器,但我是Centos的新手,所以我决定遵循数字海洋指南How to install MySQL。
问题是当我使用yum update
时会抛出此错误:
Error: Package: 2:postfix-2.6.6-8.el6.x86_64 (@base)
Requires: libmysqlclient.so.16()(64bit)
Removing: mysql-libs-5.1.73-8.el6_8.x86_64 (@updates)
libmysqlclient.so.16()(64bit)
Obsoleted By: mysql-community-libs-5.7.19-1.el7.x86_64 (mysql57-
community)Not found
Error: Package: mysql-community-libs-compat-5.7.19-1.el7.x86_64 (mysql57-
community)
Requires: libc.so.6(GLIBC_2.17)(64bit)
Error: Package: mysql-community-libs-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: 2:postfix-2.6.6-8.el6.x86_64 (@base)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
Removing: mysql-libs-5.1.73-8.el6_8.x86_64 (@updates)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Obsoleted By: mysql-community-libs-5.7.19-1.el7.x86_64 (mysql57-
community)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我需要做些什么来恢复依赖项?
答案 0 :(得分:0)
如您所见,该软件包已过时。
搜索mysql并从找到的结果中安装。
做
yum search mysql
并从列表中选择版本。