Leapp transaction fails on file conflicts with kernel-plus-tools (CentOS Plus); not detected by precheck
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.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).
- 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của plesk/cloudlinux7to8
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 45/100
plesk/cloudlinux7to8#145 ·
-
Legacy GRUB 0.97 system passes precheck; leapp system_facts crashes on missing /boot/grub2/grub.cfgĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
plesk/cloudlinux7to8#143 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
plesk/cloudlinux7to8#142 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
plesk/cloudlinux7to8#141 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
plesk/cloudlinux7to8#140 ·
Tất cả issue của plesk/cloudlinux7to8
Issue tương tự
-
Uninstall guide omits the CloudWatch log groups AWS CodeBuild creates for useCodeBuild pipelinesĐang mởbug documentation
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
awslabs/visual-asset-management-system#552 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
netbox status: needs triage type: documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
netbox-community/netbox#23460 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
awslabs/threat-composer#362 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ansys/pyansys-common-mcp#213 ·
Maintainer thường phản hồi trong vòng 3 ngày