Open
【openEuler-24.03-LTS-SP1】 python3-apipkg 卸载后有遗留文件没被清理 /usr/lib/python3.11/site-packages/apipkg-3.0.2.dist-info/ #4
liikiiAdd on  Jun 10, 2025
liikiiCollaborators
Jun 10, 2025 Create

【缺陷描述】:

一、缺陷信息

【缺陷所属的os版本】

openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
其它版本大概率也有类似问题

【内核版本】

6.6.0-72.0.0.76.oe2403sp1.aarch64

【缺陷所属软件及版本号】

python3-apipkg-3.0.2-1.oe2403sp1.noarch

【环境信息】

  • 硬件信息
  • 软件信息
  • 网络信息

【问题复现步骤】:

yum install -y python3-apipkg
yum remove -y python3-apipkg

ls /usr/lib/python3.11/site-packages | grep apipkg

【实际结果】

yum remove 包后, 有遗留文件

[root@localhost ~]# rpm -ql python3-apipkg | grep info
/usr/lib/python3.11/site-packages/apipkg-3.0.2.dist-info
/usr/lib/python3.11/site-packages/apipkg-3.0.2.dist-info/INSTALLER
/usr/lib/python3.11/site-packages/apipkg-3.0.2.dist-info/METADATA
/usr/lib/python3.11/site-packages/apipkg-3.0.2.dist-info/RECORD
/usr/lib/python3.11/site-packages/apipkg-3.0.2.dist-info/REQUESTED
/usr/lib/python3.11/site-packages/apipkg-3.0.2.dist-info/WHEEL
/usr/lib/python3.11/site-packages/apipkg-3.0.2.dist-info/licenses/LICENSE
[root@localhost ~]# 
[root@localhost ~]# 
[root@localhost ~]# yum remove -y python3-apipkg
Dependencies resolved.
=================================================================================================================================================================================================================================
 Package                                                 Architecture                                    Version                                                      Repository                                            Size
=================================================================================================================================================================================================================================
Removing:
 python3-apipkg                                          noarch                                          3.0.2-1.oe2403sp1                                            @everything                                           43 k

Transaction Summary
=================================================================================================================================================================================================================================
Remove  1 Package

Freed space: 43 k
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                         1/1 
  Erasing          : python3-apipkg-3.0.2-1.oe2403sp1.noarch                                                                                                                                                                 1/1 
  Verifying        : python3-apipkg-3.0.2-1.oe2403sp1.noarch                                                                                                                                                                 1/1 

Removed:
  python3-apipkg-3.0.2-1.oe2403sp1.noarch                                                                                                                                                                                        

Complete!
[root@localhost ~]# 
[root@localhost ~]# ls /usr/lib/python3.11/site-packages | grep apipkg
apipkg-3.0.2.dist-info
[root@localhost ~]# uname -a
Linux localhost.localdomain 6.6.0-72.0.0.76.oe2403sp1.aarch64 #1 SMP Fri Dec 27 12:19:23 CST 2024 aarch64 aarch64 aarch64 GNU/Linux
[root@localhost ~]# 
[root@localhost ~]# ls /usr/lib/python3.11/site-packages/apipkg-3.0.2.dist-info/
licenses
[root@localhost ~]# 

【期望结果】

无异常

【其他相关附件信息】

24.03-LTS-SP1.repo :

[everything]
name=everything
baseurl=https://repo.openeuler.org/openEuler-24.03-LTS-SP1/everything/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-24.03-LTS-SP1/everything/$basearch/RPM-GPG-KEY-openEuler

[EPOL]
name=EPOL
baseurl=https://repo.openeuler.org/openEuler-24.03-LTS-SP1/EPOL/main/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-24.03-LTS-SP1/OS/$basearch/RPM-GPG-KEY-openEuler

[update]
name=update
baseurl=https://repo.openeuler.org/openEuler-24.03-LTS-SP1/update/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-24.03-LTS-SP1/OS/$basearch/RPM-GPG-KEY-openEuler

[EPOL_update]
name=EPOL_update
baseurl=https://repo.openeuler.org/openEuler-24.03-LTS-SP1/EPOL/update/main/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://repo.openeuler.org/openEuler-24.03-LTS-SP1/OS/$basearch/RPM-GPG-KEY-openEuler

【缺陷详情及分析指导参考链接】

二、缺陷分析结构反馈
影响性分析说明:

缺陷严重等级:(Critical/High/Moderate/Low)

缺陷根因说明:

受影响版本排查(受影响/不受影响):
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
openEuler-24.03-LTS
openEuler-24.03-LTS-SP1

修复是否涉及abi变化(是/否):
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
openEuler-24.03-LTS
openEuler-24.03-LTS-SP1

likedislike
LliikiiCollaborators
Jun 10, 2025 创建了缺陷
Jun 10, 2025 Comments:

Hi liikii, 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-python-modules, and any of the maintainers: @myeuler , @shinwell_hu , @yangzhao_kl , any of the committers: @randy1568 , @cherry530

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Jun 10, 2025 修改了描述
openeuler-ci-botopeneuler-ci-botCollaborators
Jun 10, 2025 将负责人设置为xu_ping
Jun 10, 2025 Comments:

@myeuler , @shinwell_hu , @yangzhao_kl , @cherry530 , @randy1568
以下的要求不是强制性的, 未按模板评论时对issue无任何影响
issue处理注意事项:
1. 当前issue受影响的分支提交pr时, 须在pr描述中填写当前issue编号进行关联, 否则无法关闭当前issue;
2. 模板内容需要填写完整, 无论是受影响或者不受影响都需要填写完整内容,未引入的分支不需要填写, 否则无法关闭当前issue;
3. 以下为模板中需要填写完整的内容, 请复制到评论区回复, 注: 内容的标题名称(影响性分析说明, 缺陷严重等级, 受影响版本排查(受影响/不受影响), 修复是否涉及abi变化(是/否))不能省略,省略后defect-manager将无法正常解析填写内容.
评论区可能使用到的指令说明:

指令 指令说明 使用权限
/check-issue 触发defect-manager校验 不限
/reason xxx /reason +挂起或取消条件 不限

影响性分析说明:

缺陷严重等级:(Critical/High/Moderate/Low)

缺陷根因说明:

受影响版本排查(受影响/不受影响):

  1. openEuler-20.03-LTS-SP4:
  2. openEuler-22.03-LTS-SP3:
  3. openEuler-22.03-LTS-SP4:
  4. openEuler-24.03-LTS:
  5. openEuler-24.03-LTS-SP1:

abi变化(是/否):

  1. openEuler-20.03-LTS-SP4:
  2. openEuler-22.03-LTS-SP3:
  3. openEuler-22.03-LTS-SP4:
  4. openEuler-24.03-LTS:
  5. openEuler-24.03-LTS-SP1:

缺陷issue处理具体操作请参考:
https://gitee.com/Coopermassaki/cve-manager/blob/master/cve-vulner-manager/doc/md/defect-manager-manual.md
pr关联issue具体操作请参考:
https://gitee.com/help/articles/4142

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Jun 10, 2025 添加了   sig/sig-python-modul 标签
8 event messages are collapsed here。 See more
LliikiiCollaborators
Jun 10, 2025 将里程碑设置为openEuler-24.03-LTS-SP1
liikiiCollaborators
Jun 10, 2025 Comments:

其它发行版 应该 也有类似问题, 希望同步处理

likedislike
liikiiCollaborators
Sep 15, 2025 Comments:

至 2025/09/15 日, repo里还是旧版本

likedislike
Wwangqiang95
Jul 9 Associated pull request
7 event messages are collapsed here。 See more
openeuler-ci-botopeneuler-ci-botCollaborators
Jul 17 Associated pull request
openeuler-ci-bot
openeuler-ci-botCollaborators
Jul 17 Comments:

@jxy_git 影响性分析说明=>不允许为空

缺陷根因说明=>不允许为空

缺陷严重等级=>没有按正确格式填写

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Jul 17 Associated pull request
openeuler-ci-botopeneuler-ci-botCollaborators
Jul 17 Close issue
openeuler-ci-botopeneuler-ci-botCollaborators
Jul 17 changed custom state from 待办的 to 已完成
openeuler-ci-botopeneuler-ci-botCollaborators
Jul 17 changed custom state from 已完成 to 待办的
openeuler-ci-botopeneuler-ci-botCollaborators
Jul 17 Reopen issue
openeuler-ci-bot
openeuler-ci-botCollaborators
Jul 17 Comments:

@jxy_git 影响性分析说明=>不允许为空

缺陷根因说明=>不允许为空

缺陷严重等级=>没有按正确格式填写

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Aug 13 Associated pull request
openeuler-ci-botopeneuler-ci-botCollaborators
Aug 14 Close issue
openeuler-ci-botopeneuler-ci-botCollaborators
Aug 14 changed custom state from 待办的 to 已完成
openeuler-ci-botopeneuler-ci-botCollaborators
Aug 14 changed custom state from 已完成 to 待办的
openeuler-ci-botopeneuler-ci-botCollaborators
Aug 14 Reopen issue
openeuler-ci-bot
openeuler-ci-botCollaborators
Aug 14 Comments:

@jxy_git 影响性分析说明=>不允许为空

缺陷根因说明=>不允许为空

缺陷严重等级=>没有按正确格式填写

likedislike