【环境信息】
repo源:
SP2 everything,
SP2_update:http://172.168.131.94:9400/repo_list/update.repo/openEuler-20.03-LTS-SP2/update_20211207/$basearch/,
SP3 everything
【问题复现步骤】
场景1:SP2升级到SP3
1.挂载SP2和SP3的everything镜像到本机,并进行挂载
mount openEuler-20.03-LTS-SP2-everything-x86_64-dvd.iso /home/SP2_everything
mount openEuler-20.03-LTS-SP3-everything-x86_64-dvd.iso /home/SP3_everything
2.配置SP2 repo
[SP2_everything]
name=SP2_everything
baseurl=file:///home/SP2_everything
enabled=1
gpgcheck=0
3.安装initial-setup
dnf install -y initial-setup
4.添加SP3 repo
[SP3_everything]
name=SP3_everything
baseurl=file:///home/SP3_everything
enabled=1
gpgcheck=0
5.升级至SP3
dnf update -y initial-setup
场景2:SP2升级到SP2_update最新版到SP3
1.挂载SP2和SP3的everything镜像到本机,并进行挂载
mount openEuler-20.03-LTS-SP2-everything-x86_64-dvd.iso /home/SP2_everything
mount openEuler-20.03-LTS-SP3-everything-x86_64-dvd.iso /home/SP3_everything
2.配置SP2 repo
[SP2_everything]
name=SP2_everything
baseurl=file:///home/SP2_everything
enabled=1
gpgcheck=0
3.安装initial-setup
dnf install -y initial-setup
4.添加SP2_update源
[SP2_update]
name=SP2_update
baseurl=http://172.168.131.94:9400/repo_list/update.repo/openEuler-20.03-LTS-SP2/update_20211207/$basearch/
enabled=1
gpgcheck=0
5.升级至SP2_update
dnf update -y initial-setup
6.添加SP3 repo
[SP3_everything]
name=SP3_everything
baseurl=file:///home/SP3_everything
enabled=1
gpgcheck=0
7.升级至SP3
dnf update -y initial-setup
【预期结果】
升级无报错信息
【实际结果】
升级有错误信息:
Failed to get unit file state for initial-setup-graphical.service: No such file or directory
Failed to get unit file state for initial-setup-text.service: No such file or directory
【附件信息】
比如系统message日志/组件日志、dump信息、图片等
Hi erin_dan, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: System-tool, and any of the maintainers: @Charlie_Li , @zhenyu , @BigSkySea , @薄皮小笼包 , @朱春意
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
验证通过:
SP2升级到SP2_update再升级到SP3:
SP2升级到SP3:
登录 后才可以发表评论