【环境信息】
软件信息:
1) OS版本及分支:openEuler 23.09
2) 内核信息:6.4.0-1.0.2.6.oe2309
【操作步骤】
1、yum remove containerd
【预期结果】卸载成功
【实际结果】卸载失败
【附件】
[everything]
name=everything
baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc1_openeuler-2023-08-23-20-06-19/everything/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc1_openeuler-2023-08-23-20-06-19/everything/$basearch/RPM-GPG-KEY-openEuler
[epol]
name=epol
baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc1_openeuler-2023-08-23-20-06-19/EPOL/main/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc1_openeuler-2023-08-23-20-06-19/OS/$basearch/RPM-GPG-KEY-openEuler
Hi zhanglu626, 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: sig-CloudNative, and any of the maintainers: @weibaohui , @haozi007 , @haomintsai , @yangzhao_kl , @Jianmin , @biannm , @pixiake , @jiangxinyu , @leon wang
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
尝试使用rpm -e --noscripts containerd卸载看看能不能正常卸载
yum remove命令会执行一些脚本,而这些脚本可能会导致卸载失败。而rpm -e --noscripts命令则会跳过这些脚本,直接卸载软件包。看报错是预卸载脚本(%preun scriptlet)执行失败导致的,需要查看或咨询下yum的相关人员定位下具体原因
contianerd.spec文件中%preun脚本段中systemd_preun写成了systemd_prerun导致卸载containerd时失败
回归测试结果:通过
测试截图:
arm
x86
登录 后才可以发表评论