Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Leapp transaction fails on file conflicts with kernel-plus-tools (CentOS Plus); not detected by precheck

未关闭
#144 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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.plus and kernel-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,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

plesk/cloudlinux7to8 的其他 Issue

查看 plesk/cloudlinux7to8 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。