欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

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

发布时间:2025/4/9 编程问答 38 豆豆
生活随笔 收集整理的这篇文章主要介绍了 记录一次阿里云服务器升级报错 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

记录一次阿里云服务器升级报错  ---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_64Error: Percona-Server-devel-56 conflicts with Percona-Server-devel-55-5.5.57-rel38.9.el7.x86_64Error: Percona-Server-shared-56 conflicts with Percona-Server-shared-55-5.5.57-rel38.9.el7.x86_64Error: Percona-Server-shared-compat-57 conflicts with Percona-Server-shared-56-5.6.37-rel82.2.el7.x86_64Error: Percona-XtraDB-Cluster-shared-55 conflicts with 1:Percona-XtraDB-Cluster-shared-56-5.6.37-26.21.1.el7.x86_64Error: Percona-Server-shared-compat-57 conflicts with Percona-Server-shared-55-5.5.57-rel38.9.el7.x86_64Error: Percona-XtraDB-Cluster-shared-56 conflicts with Percona-Server-shared-56-5.6.37-rel82.2.el7.x86_64Error: Percona-XtraDB-Cluster-shared-57 conflicts with Percona-Server-shared-56-5.6.37-rel82.2.el7.x86_64Error: Percona-Server-devel-57 conflicts with Percona-Server-devel-55-5.5.57-rel38.9.el7.x86_64Error: Package: 1:mariadb-server-5.5.56-2.el7.x86_64 (base)Requires: mariadb-libs(x86-64) = 1:5.5.56-2.el7Removing: 1:mariadb-libs-5.5.52-1.el7.x86_64 (@anaconda)mariadb-libs(x86-64) = 1:5.5.52-1.el7Obsoleted By: Percona-Server-shared-55-5.5.57-rel38.9.el7.x86_64 (percona-release-x86_64)Not foundUpdated By: 1:mariadb-libs-5.5.56-2.el7.x86_64 (base)mariadb-libs(x86-64) = 1:5.5.56-2.el7Error: Percona-Server-devel-57 conflicts with Percona-Server-devel-56-5.6.37-rel82.2.el7.x86_64Error: Percona-Server-shared-55 conflicts with Percona-Server-shared-56-5.6.37-rel82.2.el7.x86_64Error: Package: 1:mariadb-5.5.56-2.el7.x86_64 (base)Requires: mariadb-libs(x86-64) = 1:5.5.56-2.el7Removing: 1:mariadb-libs-5.5.52-1.el7.x86_64 (@anaconda)mariadb-libs(x86-64) = 1:5.5.52-1.el7Obsoleted By: Percona-Server-shared-55-5.5.57-rel38.9.el7.x86_64 (percona-release-x86_64)Not foundUpdated By: 1:mariadb-libs-5.5.56-2.el7.x86_64 (base)mariadb-libs(x86-64) = 1:5.5.56-2.el7Error: Percona-XtraDB-Cluster-shared-compat-57 conflicts with 1:Percona-XtraDB-Cluster-shared-56-5.6.37-26.21.1.el7.x86_64Error: Percona-XtraDB-Cluster-shared-compat-57 conflicts with 1:Percona-XtraDB-Cluster-shared-55-5.5.41-25.12.855.el7.x86_64You could try using --skip-broken to work around the problemYou could try running: rpm -Va --nofiles --nodigest

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

[root@ansible-admin sites]# rpm -qa | grep mariadbmariadb-5.5.52-1.el7.x86_64mariadb-libs-5.5.52-1.el7.x86_64

解决方法:

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

转载于:https://www.cnblogs.com/lwf-blog/p/7631787.html

总结

以上是生活随笔为你收集整理的记录一次阿里云服务器升级报错的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。