Centos 7 x64,mysql-community 5.7是从mysql57-community repo安装的.
我正在从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)
这是为什么?是否有一种优雅的方式来删除mysql?
这没有意义,因为我从mysql57-community repo安装了mysql. postfix如何依赖于mysql?
到目前为止,我的想法是在切换完成后重新安装这些软件包.但我希望找到更好的解决方案.