x2openEuler 20.03 SP4 到 22.03SP1 升级过程报错


zlib-1.2.11-24.oe2203sp1.x86_64
zstd-1.5.0-4.oe2203sp1.x86_64

Complete!
0 files removed
[ ERROR ] - [initramfs]: failed to find dnf or python3-dnf rpm in /root
[ ERROR ] - [initramfs]: dnf or python3-dnf is not found in repo_source or /root.
[ ERROR ] - [initramfs]: install dnf failed
[ ERROR ] - [initramfs]: failed to upgrade system.
[ ERROR ] - [x2openEuler-upgrade] - failed to upgrade system
[ ERROR ] - [centos2openEuler]: Upgrade migrate failed
2
##THE END##

1 Like

20.03 SP4 是从centos 7.6 升级过来的,也尝试了从 centos 7.6 直接升到 22.03SP1,也是同样的错误

1 Like

看看upgrade.log还有没有安装包失败的报错

1 Like

看这一句报错说 repo 源里边没有找到 dnf 包,导致安装 dnf 失败,你的 repo 源是官方的还是自己搭建的,可以查一下待升级的源里实际有没有

3 Likes

你的升级源中是否有python3 的包,22.03版本官方源中不支持python2

1 Like

我也是同样的问题,你最后解决了吗