Bug 2028113
Summary: | Conflict when updating libblockdev-lvm-devel | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Vojtech Trefny <vtrefny> |
Component: | libblockdev | Assignee: | Vojtech Trefny <vtrefny> |
Status: | CLOSED ERRATA | QA Contact: | guazhang <guazhang> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 9.0 | CC: | guazhang |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libblockdev-2.25-11.el9 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-05-17 13:24:34 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
Vojtech Trefny
2021-12-01 13:57:27 UTC
HI 1. upgrade libblockdev-lvm, libblockdev-lvm-devel from 2.25-7.el9 to 2.25-9.el9, hit the error. Last metadata expiration check: 0:19:45 ago on Wed 12 Jan 2022 10:31:43 PM EST. Dependencies resolved. ======================================================================================================================================== Package Architecture Version Repository Size ======================================================================================================================================== Upgrading: libblockdev-lvm x86_64 2.25-9.el9 @commandline 37 k libblockdev-lvm-devel x86_64 2.25-9.el9 @commandline 16 k Transaction Summary ======================================================================================================================================== Upgrade 2 Packages Total size: 53 k Is this ok [y/N]: y Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Error: Transaction test error: file /usr/include/blockdev/lvm.h from install of libblockdev-lvm-devel-2.25-9.el9.x86_64 conflicts with file from package libblockdev-lvm-dbus-devel-2.25-7.el9.x86_64 2. upgrade libblockdev-lvm, libblockdev-lvm-devel from 2.25-10.el9 to 2.25-11.el9, test pass. [root@hp-dl380-gen9-6 ~]# yum install libblockdev-lvm-2.25-11.el9.x86_64.rpm libblockdev-lvm-devel-2.25-11.el9.x86_64.rpm libblockdev-utils-devel-2.25-11.el9.x86_64.rpm libblockdev-utils-2.25-11.el9.x86_64.rpm --allowerasing Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. Last metadata expiration check: 0:44:23 ago on Wed 12 Jan 2022 10:31:43 PM EST. Dependencies resolved. ======================================================================================================================================== Package Architecture Version Repository Size ======================================================================================================================================== Upgrading: libblockdev-lvm x86_64 2.25-11.el9 @commandline 38 k libblockdev-lvm-devel x86_64 2.25-11.el9 @commandline 17 k libblockdev-utils x86_64 2.25-11.el9 @commandline 30 k libblockdev-utils-devel x86_64 2.25-11.el9 @commandline 18 k Removing dependent packages: libblockdev-plugins-all x86_64 2.25-10.el9 @@commandline 0 Transaction Summary ======================================================================================================================================== Upgrade 4 Packages Remove 1 Package Total size: 102 k Is this ok [y/N]: y Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Upgrading : libblockdev-utils-2.25-11.el9.x86_64 1/9 Upgrading : libblockdev-lvm-2.25-11.el9.x86_64 2/9 Upgrading : libblockdev-utils-devel-2.25-11.el9.x86_64 3/9 Upgrading : libblockdev-lvm-devel-2.25-11.el9.x86_64 4/9 Cleanup : libblockdev-lvm-devel-2.25-10.el9.x86_64 5/9 Cleanup : libblockdev-utils-devel-2.25-10.el9.x86_64 6/9 Erasing : libblockdev-plugins-all-2.25-10.el9.x86_64 7/9 Cleanup : libblockdev-lvm-2.25-10.el9.x86_64 8/9 Cleanup : libblockdev-utils-2.25-10.el9.x86_64 9/9 Running scriptlet: libblockdev-utils-2.25-10.el9.x86_64 9/9 Verifying : libblockdev-lvm-2.25-11.el9.x86_64 1/9 Verifying : libblockdev-lvm-2.25-10.el9.x86_64 2/9 Verifying : libblockdev-lvm-devel-2.25-11.el9.x86_64 3/9 Verifying : libblockdev-lvm-devel-2.25-10.el9.x86_64 4/9 Verifying : libblockdev-utils-devel-2.25-11.el9.x86_64 5/9 Verifying : libblockdev-utils-devel-2.25-10.el9.x86_64 6/9 Verifying : libblockdev-utils-2.25-11.el9.x86_64 7/9 Verifying : libblockdev-utils-2.25-10.el9.x86_64 8/9 Verifying : libblockdev-plugins-all-2.25-10.el9.x86_64 9/9 Installed products updated. Upgraded: libblockdev-lvm-2.25-11.el9.x86_64 libblockdev-lvm-devel-2.25-11.el9.x86_64 libblockdev-utils-2.25-11.el9.x86_64 libblockdev-utils-devel-2.25-11.el9.x86_64 Removed: libblockdev-plugins-all-2.25-10.el9.x86_64 Complete! [root@hp-dl380-gen9-6 ~]# 3. upgrade libblockdev-lvm, libblockdev-lvm-devel from 2.25-7.el9 to 2.25-11.el9, test fail. Last metadata expiration check: 1:12:03 ago on Wed 12 Jan 2022 10:31:43 PM EST. Dependencies resolved. ======================================================================================================================================== Package Architecture Version Repository Size ======================================================================================================================================== Upgrading: libblockdev-lvm x86_64 2.25-11.el9 @commandline 38 k libblockdev-lvm-devel x86_64 2.25-11.el9 @commandline 17 k libblockdev-utils x86_64 2.25-11.el9 @commandline 30 k libblockdev-utils-devel x86_64 2.25-11.el9 @commandline 18 k Removing dependent packages: libblockdev-plugins-all x86_64 2.25-7.el9 @@commandline 0 Transaction Summary ======================================================================================================================================== Upgrade 4 Packages Remove 1 Package Total size: 102 k Is this ok [y/N]: y Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Error: Transaction test error: file /usr/include/blockdev/lvm.h from install of libblockdev-lvm-devel-2.25-11.el9.x86_64 conflicts with file from package libblockdev-lvm-dbus-devel-2.25-7.el9.x86_64 Please have a look the test result, the libblockdev-lvm-devel-2.25-11.el9.x86_64 still conflicts with libblockdev-lvm-dbus-devel-2.25-7.el9.x86_64. > the libblockdev-lvm-devel-2.25-11.el9.x86_64 still conflicts with libblockdev-lvm-dbus-devel-2.25-7.el9.x86_64. The fix won't be able to resolve the upgrade from 2.25-7, it will affect only future upgrades from 2.25-11. I did a quick test scratch re-build[1], the idea is when upgrading libblockdev-lvm-devel from 2.25-11 to 2.25-12, upgrade of libblockdev-lvm-dbus-devel will be also forced: ----------------- # dnf update libblockdev-lvm-devel Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. Last metadata expiration check: 0:01:57 ago on Thu Jan 20 13:15:35 2022. Dependencies resolved. ================================================================================================================================================================================================================== Package Architecture Version Repository Size ================================================================================================================================================================================================================== Upgrading: libblockdev-lvm x86_64 2.25-12.el9 brew-task-repo-libblockdev-2.25-12.el9-scratch 38 k libblockdev-lvm-dbus x86_64 2.25-12.el9 brew-task-repo-libblockdev-2.25-12.el9-scratch 44 k libblockdev-lvm-dbus-devel x86_64 2.25-12.el9 brew-task-repo-libblockdev-2.25-12.el9-scratch 17 k libblockdev-lvm-devel x86_64 2.25-12.el9 brew-task-repo-libblockdev-2.25-12.el9-scratch 17 k libblockdev-utils x86_64 2.25-12.el9 brew-task-repo-libblockdev-2.25-12.el9-scratch 31 k libblockdev-utils-devel x86_64 2.25-12.el9 brew-task-repo-libblockdev-2.25-12.el9-scratch 18 k Transaction Summary ================================================================================================================================================================================================================== Upgrade 6 Packages Total download size: 163 k Is this ok [y/N]: ----------------- I'm not sure if it makes sense to do a new build (no changes, just a release version bump) to fix this bug or if it can be marked as fixed because any future libblockdev build will "fix" it. What do you think? [1] http://brew-task-repos.usersys.redhat.com/repos/scratch/vtrefny/libblockdev/2.25/12.el9/libblockdev-2.25-12.el9-scratch.repo Thanks for the testing, it makes sense. 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 (new packages: libblockdev), 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/RHBA-2022:2503 |