Centos7迁移到Anolis OS 7的时候,执行 centos2anolis.py 脚本中提示如下:

centos2anolis.py

====== Start ======

Checking if the tool is executed by root user

Get current OS version.

Version is 7.9

Checking the version of Anolis OS

Switch to Anolis OS 7.9

Checking required packages

Checking i686 packages

Anolis OS does not provide i686 packages, please remove them before migration.

Installed i686 packages:

zlib-1.2.7-20.el7_9.i686

Anolis OS does not provide i686 packages, please remove them before migration.

上面这段的意思就是说Anolis系统不会提供i686的包,必需要先移除后在进行操作。

解决办法:

操作命令如下,如果是多个软件包的话,以此类推的移除即可继续迁移。

yum remove -y zlib-1.2.7-20.el7_9.i686