码迷,mamicode.com
首页 > 其他好文 > 详细

记录一次阿里云服务器升级报错

时间:2017-10-06 17:32:53      阅读:475      评论:0      收藏:0      [点我收藏+]

标签:base   center   sites   removing   inux   anaconda   5.4   root   upd   

记录一次阿里云服务器升级报错  ---Email:1261065212@qq.com

系统:

# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)

#yum update -y

…………

Error: Percona-XtraDB-Cluster-shared-55 conflicts with Percona-Server-shared-55-5.5.57-rel38.9.el7.x86_64

Error: Percona-Server-devel-56 conflicts with Percona-Server-devel-55-5.5.57-rel38.9.el7.x86_64

Error: Percona-Server-shared-56 conflicts with Percona-Server-shared-55-5.5.57-rel38.9.el7.x86_64

Error: Percona-Server-shared-compat-57 conflicts with Percona-Server-shared-56-5.6.37-rel82.2.el7.x86_64

Error: Percona-XtraDB-Cluster-shared-55 conflicts with 1:Percona-XtraDB-Cluster-shared-56-5.6.37-26.21.1.el7.x86_64

Error: Percona-Server-shared-compat-57 conflicts with Percona-Server-shared-55-5.5.57-rel38.9.el7.x86_64

Error: Percona-XtraDB-Cluster-shared-56 conflicts with Percona-Server-shared-56-5.6.37-rel82.2.el7.x86_64

Error: Percona-XtraDB-Cluster-shared-57 conflicts with Percona-Server-shared-56-5.6.37-rel82.2.el7.x86_64

Error: Percona-Server-devel-57 conflicts with Percona-Server-devel-55-5.5.57-rel38.9.el7.x86_64

Error: Package: 1:mariadb-server-5.5.56-2.el7.x86_64 (base)

           Requires: mariadb-libs(x86-64) = 1:5.5.56-2.el7

           Removing: 1:mariadb-libs-5.5.52-1.el7.x86_64 (@anaconda)

               mariadb-libs(x86-64) = 1:5.5.52-1.el7

           Obsoleted By: Percona-Server-shared-55-5.5.57-rel38.9.el7.x86_64 (percona-release-x86_64)

               Not found

           Updated By: 1:mariadb-libs-5.5.56-2.el7.x86_64 (base)

               mariadb-libs(x86-64) = 1:5.5.56-2.el7

Error: Percona-Server-devel-57 conflicts with Percona-Server-devel-56-5.6.37-rel82.2.el7.x86_64

Error: Percona-Server-shared-55 conflicts with Percona-Server-shared-56-5.6.37-rel82.2.el7.x86_64

Error: Package: 1:mariadb-5.5.56-2.el7.x86_64 (base)

           Requires: mariadb-libs(x86-64) = 1:5.5.56-2.el7

           Removing: 1:mariadb-libs-5.5.52-1.el7.x86_64 (@anaconda)

               mariadb-libs(x86-64) = 1:5.5.52-1.el7

           Obsoleted By: Percona-Server-shared-55-5.5.57-rel38.9.el7.x86_64 (percona-release-x86_64)

               Not found

           Updated By: 1:mariadb-libs-5.5.56-2.el7.x86_64 (base)

               mariadb-libs(x86-64) = 1:5.5.56-2.el7

Error: Percona-XtraDB-Cluster-shared-compat-57 conflicts with 1:Percona-XtraDB-Cluster-shared-56-5.6.37-26.21.1.el7.x86_64

Error: Percona-XtraDB-Cluster-shared-compat-57 conflicts with 1:Percona-XtraDB-Cluster-shared-55-5.5.41-25.12.855.el7.x86_64

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

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

原因:由于阿里云镜像默认装了mariadb

#[root@ansible-admin sites]# rpm -qa | grep mariadb

mariadb-5.5.52-1.el7.x86_64

mariadb-libs-5.5.52-1.el7.x86_64

解决方法:

#yum erase mariadb-libs -y

#yum install Percona-Server-client-56 -y (至此问题解决)

#yum update -y

记录一次阿里云服务器升级报错

标签:base   center   sites   removing   inux   anaconda   5.4   root   upd   

原文地址:http://www.cnblogs.com/lwf-blog/p/7631787.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!