This topic explains why the python-devel version is too low for system upgrade error occurs during Linux migration with Server Migration Center (SMC), and how to resolve it.
Problem description
When you use SMC to migrate a Linux operating system, the following error message appears:
python-devel version is too low for system upgradeCause
The python-devel package installed on the source server is outdated and is incompatible with the system upgrade process.
Solution
Update the python-devel package on the source server, then retry the migration.
Connect to the source server. For more information, see Connect to an instance.
Run the appropriate command for your distribution to update the
python-develpackage: CentOS, RHEL 7, Alibaba Cloud Linux 2 (yum): RHEL 8+, Fedora, Alibaba Cloud Linux 3 (dnf): Debian, Ubuntu (apt): SUSE, openSUSE (zypper):sudo yum update python-develsudo dnf update python-develsudo apt-get install --only-upgrade python-devsudo zypper update python-develVerify that the update succeeded: RPM-based distributions (CentOS, RHEL, Alibaba Cloud Linux, SUSE): Debian/Ubuntu: Confirm that the output shows an updated version of the package.
rpm -qa | grep python-develdpkg -l | grep python-devRun the SMC client and retry the migration job. For more information, see Run the SMC client.
What to do if the update fails
If the update command fails, try the following:
Repository unreachable: Verify that the source server has internet access and that the package repository is correctly configured. Run
yum repolist(or the equivalent for your package manager) to check available repositories.Package conflicts: Run
sudo yum check(or the equivalent) to identify dependency conflicts, and resolve them before retrying the update.Insufficient permissions: Make sure you run the command with
sudoor as the root user.
If the issue persists, contact Alibaba Cloud technical support.