天天看點

執行centos2anolis.py時提示 Anolis OS does not provide i686 packages問題:解決方式:

問題:

在遷移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:
libgcc-4.8.5-44.el7.i686
libstdc++-4.8.5-44.el7.i686
glibc-2.17-325.el7_9.i686
nss-softokn-freebl-3.67.0-3.el7_9.i686
           

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

上面的意思就是說Anolis系統不會提供i686的包,需要先移除後再進行遷移。

解決方式:

我們隻要根據提示,解除安裝i686的包就可以了

在上面的提示中有4個i686的包,我們隻需要将他們逐個移除,操作指令如下

yum remove -y libgcc-4.8.5-44.el7.i686
yum remove -y libstdc++-4.8.5-44.el7.i686
yum remove -y glibc-2.17-325.el7_9.i686
yum remove -y nss-softokn-freebl-3.67.0-3.el7_9.i686