Linux_Centos7在安装Mysql常见错误依赖时失败——warning: mysql-community-libs-8.0.28-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY

error: Failed dependencies:

mariadb-libs is obsoleted by mysql-community-libs-8.0.28-1.el7.x86_64

MySql安装问题

问题一:Centos7在安装Mysql依赖(libs)或客户端(client)时失败

解决方案

问题二:Centos7在安装Mysql服务器(server)时失败

解决方案

问题一:Centos7在安装Mysql依赖(libs)或客户端(client)时失败

warning: mysql-community-libs-8.0.28-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY
error: Failed dependencies:
	mariadb-libs is obsoleted by mysql-community-libs-8.0.28-1.el7.x86_64

在这里插入图片描述

解决方案
  • 先卸载mysql-libs
  • 再执行安装
# 先卸载mysql-libs
yum remove mysql-libs
# 再执行安装
rpm -ivh mysql-community-libs-8.0.28-1.el7.x86_64.rpm

问题二:Centos7在安装Mysql服务器(server)时失败

warning: mysql-community-server-8.0.28-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY
error: Failed dependencies:
	mysql-community-icu-data-files = 8.0.28-1.el7 is needed by mysql-community-server-8.0.28-1.el7.x86_64

在这里插入图片描述

解决方案

解决的方法就是在rpm 语句后面加上 --nodeps --force,安装时忽略依赖关系

# 在rpm -ivh mysql-community-server-8.0.28-1.el7.x86_64.rpm 添加参数--force --nodeps
rpm -ivh mysql-community-server-8.0.28-1.el7.x86_64.rpm --force --nodeps
GitHub 加速计划 / de / Dependencies
8.61 K
704
下载
A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
最近提交(Master分支:2 个月前 )
1997a400 - 2 年前
2f423539 - 2 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐