Centos 7 x64,mysql-community 5.7是从MysqL57-community repo安装的.
原文链接:https://www.f2er.com/centos/373516.html我正在从MysqL切换到percona.但是,当我尝试卸载MysqL时,第一步是可怕的.
Yum正在使用MysqL删除系统组件,如crontabs和redhat-lsb-core.
# yum remove MysqL-community-* ===================================================================================================================================== Package Arch Version Repository Size ===================================================================================================================================== Removing: MysqL-community-client i686 5.7.18-1.el6 @MysqL57-community 87 M MysqL-community-common i686 5.7.18-1.el6 @MysqL57-community 2.5 M MysqL-community-libs i686 5.7.18-1.el6 @MysqL57-community 7.8 M MysqL-community-libs-compat i686 5.7.18-1.el6 @MysqL57-community 4.8 M MysqL-community-server i686 5.7.18-1.el6 @MysqL57-community 699 M Removing for dependencies: cronie i686 1.4.4-16.el6_8.2 @updates 169 k cronie-anacron i686 1.4.4-16.el6_8.2 @updates 38 k crontabs noarch 1.10-33.el6 @anaconda-CentOS-201605211917.i386/6.8 2.4 k geoipupdate-cron noarch 2.3.1-2.el6 @city-fan.org 113 postfix i686 2:2.6.6-8.el6 @base 9.4 M redhat-lsb-core i686 4.0-7.el6.centos @base 22 k sysstat i686 9.0.4-33.el6 @base 804 k Transaction Summary ===================================================================================================================================== Remove 12 Package(s)
这没有意义,因为我从MysqL57-community repo安装了MysqL. postfix如何依赖于MysqL?
到目前为止,我的想法是在切换完成后重新安装这些软件包.但我希望找到更好的解决方案.