admin管理员组文章数量:1626226
安装mysql报错
Error: Package: mysql-community-server-5.7.44-1.el6.x86_64 (mysql57-community)
Requires: libsasl2.so.2()(64bit)
Error: Package: mysql-community-server-5.7.44-1.el6.x86_64 (mysql57-community)
Requires: libsasl2.so.2()(64bit)
You could try using --skip-broken to work around the problem
** Found 6 pre-existing rpmdb problem(s), 'yum check' output follows:
mpi-selector-1.0.3-1.54310.x86_64 is a duplicate with mpi-selector-1.0.3-1.51258.x86_64
mysql80-community-release-el6-10.noarch has installed conflicts mysql57-community-release: mysql57-community-release-el7-11.noarch
perl-DBD-MySQL-4.023-6.el7.x86_64 has missing requires of libmysqlclient.so.18()(64bit)
perl-DBD-MySQL-4.023-6.el7.x86_64 has missing requires of libmysqlclient.so.18(libmysqlclient_18)(64bit)
2:postfix-2.10.1-9.el7.x86_64 has missing requires of libmysqlclient.so.18()(64bit)
2:postfix-2.10.1-9.el7.x86_64 has missing requires of libmysqlclient.so.18(libmysqlclient_18)(64bit)
修改vim /etc/yum.repos.d/mysql-community.repo 源文件
1、把这行中的6改为7# baseurl=http://repo.mysql/yum/mysql-5.7-community/el/6/$basearch/
2、把gpgcheck=改为0
# Enable to use MySQL 5.7
[mysql57-community]
name=MySQL 5.7 Community Server
baseurl=http://repo.mysql/yum/mysql-5.7-community/el/7/$basearch
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2023
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
保存后再执行就能正常安装了。
本文标签: CommunityServermysqlErrorPackage
版权声明:本文标题:Error: Package: mysql-community-server-5.7.44-1.el6.x86_64 (mysql57-community) 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dongtai/1728943582a1180983.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论