11 Star 0 Fork 51

src-openEuler / containerd

 / 详情

【23.09 round1】【arm/x86】containerd卸载失败

已验收
缺陷
创建于  
2023-08-28 18:48

【环境信息】
软件信息:
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

评论 (7)

张鹭 创建了缺陷

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

openeuler-ci-bot 添加了
 
sig/sig-CloudNative
标签
张鹭 计划截止日期设置为2023-08-30
张鹭 计划开始日期设置为2023-08-28
张鹭 优先级设置为主要
张鹭 里程碑设置为openEuler-23.09-round-1
张鹭 负责人设置为haomintsai
张鹭 负责人haomintsai 修改为weibaohui

尝试使用rpm -e --noscripts containerd卸载看看能不能正常卸载

尝试使用rpm -e --noscripts containerd卸载看看能不能正常卸载

@钟佳炜1 使用rpm -e可以卸载
输入图片说明

yum remove命令会执行一些脚本,而这些脚本可能会导致卸载失败。而rpm -e --noscripts命令则会跳过这些脚本,直接卸载软件包。看报错是预卸载脚本(%preun scriptlet)执行失败导致的,需要查看或咨询下yum的相关人员定位下具体原因

yum remove命令会执行一些脚本,而这些脚本可能会导致卸载失败。而rpm -e --noscripts命令则会跳过这些脚本,直接卸载软件包。看报错是预卸载脚本(%preun scriptlet)执行失败导致的,需要查看或咨询下yum的相关人员定位下具体原因

@钟佳炜1 @Alex 麻烦一起帮忙看看

contianerd.spec文件中%preun脚本段中systemd_preun写成了systemd_prerun导致卸载containerd时失败

回归测试结果:通过
测试截图:
arm
输入图片说明
x86
输入图片说明

张鹭 任务状态已完成 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/containerd.git
git@gitee.com:src-openeuler/containerd.git
src-openeuler
containerd
containerd

搜索帮助