admin管理员组

文章数量:1626246

环境:CentOS Linux release 7.6.1810

lnmp1.5

独立下载mysql仓库

wget -i -c http://dev.mysql/get/mysql57-community-release-el7-10.noarch.rpm

yum -y install mysql57-community-release-el7-10.noarch.rpm

报错

No package matched to upgrade: mysql57-community-release

--> Finished Dependency Resolution

Error: mysql57-community-release conflicts with mysql-community-release-el6-5.noarch

You could try using --skip-broken to work around the problem

You could try running: rpm -Va --nofiles --nodigest

rpm -qa |grep mysql 查看有如下内容

mysql-community-release-el6-5.noarch

mysql-community-common-5.6.44-2.el6.x86_64

操作一下 卸载了

rpm -e --nodeps mysql-community-release-el6-5.noarch

rpm -e --nodeps mysql-community-common-5.6.44-2.el6.x86_64

重新升级

rpm -Uvh mysql57-community-release-el7-10.noarch.rpm

本文标签: 报错一键重新安装安装包lnmp