Leapp transaction fails on file conflicts with kernel-plus-tools (CentOS Plus); not detected by precheck
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 半天
- 新手友好度
- 55/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- linux
调研方向
The report names the packages kernel-plus-tools and kernel-plus-tools-libs and the failing command leapp upgrade. Start with the cloudlinux7to8 precheck and the list of packages the tool removes before the upgrade, then check whether *.centos.plus packages are covered. Done when the precheck flags these packages, or the tool removes them, and the transaction test no longer reports file conflicts.
由索引模型根据 Issue 内容生成。
描述
Environment
- cloudlinux7to8 v1.2.1
- CloudLinux 7.9 (TuxCare ELS), Plesk Obsidian 18.0.81.3
- Leftover packages from an old CentOS Plus kernel:
kernel-plus-tools-3.10.0-327.13.1.el7.centos.plusandkernel-plus-tools-libs-3.10.0-327.13.1.el7.centos.plus(nothing depended on them)
Describe the bug
--precheck passed and leapp preupgrade reported no inhibitors. leapp upgrade downloaded all packages and then failed in the transaction test:
Error: Transaction test error:
file /usr/lib64/libcpupower.so.0 from install of kernel-tools-libs-1:4.18.0-553.157.1.lve.2.el8.x86_64 conflicts with file from package kernel-plus-tools-libs-3.10.0-327.13.1.el7.centos.plus.x86_64
file /usr/bin/cpupower from install of kernel-tools-1:4.18.0-553.157.1.lve.2.el8.x86_64 conflicts with file from package kernel-plus-tools-3.10.0-327.13.1.el7.centos.plus.x86_64
file /usr/bin/turbostat from install of kernel-tools-1:4.18.0-553.157.1.lve.2.el8.x86_64 conflicts with file from package kernel-plus-tools-3.10.0-327.13.1.el7.centos.plus.x86_64
... (same for centrino-decode, powernow-k8-decode, tmon, x86_energy_perf_policy, man pages and locales)
ERROR - Command ['/usr/bin/leapp', 'upgrade', '--nowarn'] failed with return code 1
Expected behavior
Add kernel-plus-tools / kernel-plus-tools-libs (and possibly other *.centos.plus packages) to the list of conflicting packages removed before the upgrade, or report them in the precheck.
Workaround
rpm -e kernel-plus-tools kernel-plus-tools-libs, then continue with ./cloudlinux7to8 --resume (see the next issue about --resume).
- 主要语言
- Python
- 星标
- 7
- 派生
- 5
- 平均合并
- 11 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
plesk/cloudlinux7to8 的其他 Issue
-
难度 3/5 半天 新手友好度 45/100
plesk/cloudlinux7to8#145 ·
-
Legacy GRUB 0.97 system passes precheck; leapp system_facts crashes on missing /boot/grub2/grub.cfg未关闭
难度 4/5 3-5 天 新手友好度 25/100
plesk/cloudlinux7to8#143 ·
-
难度 3/5 1-2 天 新手友好度 45/100
plesk/cloudlinux7to8#142 ·
-
难度 4/5 3-5 天 新手友好度 22/100
plesk/cloudlinux7to8#141 ·
-
难度 3/5 1-2 天 新手友好度 35/100
plesk/cloudlinux7to8#140 ·
查看 plesk/cloudlinux7to8 的全部 Issue
相似的 Issue
-
[Bug]: Revit selector reads process ids 2000-2099 as years (flaky AgentClientTests.AYearOrAProcessIdSelectsTheHost)可能已有人在做 @Wurschdhaud 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 83/100
pyrevitlabs/pyRevit#3817 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
521xueweihan/HelloGitHub#4074 ·
-
follow-up
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
Helm chart: allow setting ingressClassName on the Ingress可能已有人在做 @commarla 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
pgadmin-org/pgadmin4#10658 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100