Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#144 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux
Lĩnh vực
infrastructure

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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).

Ngôn ngữ chính
Python
Star
7
Fork
5
Merge trung bình
11 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của plesk/cloudlinux7to8

Tất cả issue của plesk/cloudlinux7to8

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.