lnmp一键安装包卸载mysql,重新安装报错mysql57-community-release conflicts with mysql-community-release-el6-5.noarch

Posted daixh

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了lnmp一键安装包卸载mysql,重新安装报错mysql57-community-release conflicts with mysql-community-release-el6-5.noarch相关的知识,希望对你有一定的参考价值。

环境:CentOS Linux release 7.6.1810

lnmp1.5
独立下载mysql仓库
wget -i -c http://dev.mysql.com/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一键安装包卸载mysql,重新安装报错mysql57-community-release conflicts with mysql-community-release-el6-5.noarch的主要内容,如果未能解决你的问题,请参考以下文章

lnmp一键安装的卸载

LNMP一键安装包 V1.1 公布

LNMP一键安装包安装的mysql远程连接不上的问题

LNMP一键安装包安装扩展模块

LNMP架构搭建(一键部署)

[Linux]lnmp一键安装包,访问yii/tp5/laravel的时候,报错500或者空白页面