Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#144 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

plesk/cloudlinux7to8 のほかの issue

plesk/cloudlinux7to8 の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。