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

Posted 静念

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了记录一次阿里云服务器升级报错相关的知识,希望对你有一定的参考价值。

记录一次阿里云服务器升级报错  ---Email:[email protected]

系统:

# 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

#[[email protected] 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

以上是关于记录一次阿里云服务器升级报错的主要内容,如果未能解决你的问题,请参考以下文章

记录一次阿里云服务器被攻击的经历

阿里云ECS服务器(ubuntu)下基本配置以及升级git

阿里云服务器配置uwsgi报错bind(): Cannot assign requested address [core/socket.c line 769]

阿里云 Ubuntu14.04 升级 python3.4 到 python 3.5/6

阿里云免费购买SSL证书,nginx无缝升级https

将GitLab数据库从阿里云PostgreSQL RDS迁移至自建的PostgreSQL服务器