[Linux] centos7 installs mysql error: error: Failed dependencies: MySQL-client < 5.7.38-1.el7 is obsoleted by mys

report error

insert image description here

reason

According to the error message, it was shown that msql-clinet was deprecated. After Baidu found that many "is needed" lacked related dependency packages and needed security packages, but mine was deprecated, and then continued Baidu's accidental discovery, only need to add after the command --force --nodeps will do. (The specific reasons are still being explored)

solve

·原命令:rpm -ivh mysql-community-client-5.7.38-1.el7.x86_64.rpm
·修改后命令:rpm -ivh mysql-community-client-5.7.38-1.el7.x86_64.rpm --force --nodeps

insert image description here

Guess you like

Origin blog.csdn.net/weixin_45954198/article/details/128480672