Bug 2091597
| Summary: | updates fail when libguestfs-benchmarking is installed | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | jcastran |
| Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
| Status: | CLOSED ERRATA | QA Contact: | YongkuiGuo <yoguo> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 8.6 | CC: | jferlan, kkiwi, prjagtap, qzhang, rjones, virt-maint, ymankad, ymao, yoguo |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | libguestfs-1.44.0-8.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-08 09:19:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
jcastran
2022-05-30 12:44:56 UTC
It seems like we unintentionally shipped the libguestfs-benchmarking subpackage in at least RHEL 8.5 AV: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1582522 Upstream it was moved out of libguestfs into a new source package. At the same time (RHEL 8.6) we dropped the subpackage. I definitely do not want to start shipping this package in RHEL, so I guess we'll have to add something like: Obsoletes: libguestfs-benchmarking < [some epoch:version] Yash, fyi. I'm suspecting that the path forward here is really to uninstall libguestfs-benchmarking, make a clarification that it was added as a mistake, and it is not supported. Thoughts? it would be best if we could obsolete it. Otherwise its just more cases or kcs that customers have to find to define the issue and the resolution, then questions on why would we remove the package and so on. Obsoleting it means people that try to install it will be stopped and people that have it can update without issue, Adding Obsoletes should remove the package automatically without needing to document anything. I don't think we should add Provides, because future libguestfs will not provide the benchmarking binaries. Tested with libguestfs-1.44.0-8.module+el8.7.0+15574+3df6e453.x86_64
Steps:
1. libguestfs-benchmarking package is installed.
# rpm -qa | grep libguestfs
libguestfs-xfs-1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
libguestfs-tools-c-1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
libguestfs-1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
libguestfs-benchmarking-1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
2.
# yum update
Updating Subscription Management repositories.
Last metadata expiration check: 2:34:49 ago on Thu 09 Jun 2022 12:08:33 AM EDT.
Error:
Problem 1: package libguestfs-benchmarking-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64 requires libguestfs(x86-64) = 1:1.40.2-28.module+el8.5.0+10717+67be7ac4, but none of the providers can be installed
- cannot install both libguestfs-1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64 and libguestfs-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
- cannot install both libguestfs-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64 and libguestfs-1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64
- cannot install the best update candidate for package libguestfs-benchmarking-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
- cannot install the best update candidate for package libguestfs-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
Problem 2: problem with installed package libguestfs-benchmarking-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
- package libguestfs-benchmarking-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64 requires libguestfs(x86-64) = 1:1.40.2-28.module+el8.5.0+10717+67be7ac4, but none of the providers can be installed
- cannot install both libguestfs-1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64 and libguestfs-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
- cannot install both libguestfs-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64 and libguestfs-1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64
- package libguestfs-tools-c-1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64 requires libguestfs(x86-64) = 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f, but none of the providers can be installed
- cannot install the best update candidate for package libguestfs-tools-c-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
3. Add repo which includes the latest package: libguestfs-1.44.0-8.module+el8.7.0+15574+3df6e453.x86_64
4.
# yum update
...
libguestfs x86_64 1:1.44.0-8.module+el8.7.0+15574+3df6e453 libvirt_ci 768 k
replacing libguestfs-benchmarking.x86_64 1:1.40.2-28.module+el8.5.0+10717+67be7ac4
libguestfs-tools-c x86_64 1:1.44.0-8.module+el8.7.0+15574+3df6e453 libvirt_ci 5.6 M
libguestfs-xfs x86_64 1:1.44.0-8.module+el8.7.0+15574+3df6e453 libvirt_ci 8.7 k
...
Obsoleting : libguestfs-benchmarking-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
...
'yum update' can be executed successfully, and the libguestfs-benchmarking package is removed.
Hi,rjones Could you help add this bug to the erratum? Thanks a lot. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Low: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:7472 |