Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Descriptionguazhang@redhat.com
2021-04-07 04:13:04 UTC
Description of problem:
install libblockdev failed because Failed build dependencies
Version-Release number of selected component (if applicable):
libblockdev-2.25-2.el9.src.rpm
cryptsetup-devel-2.3.4-2.el9.x86_64
How reproducible:
Steps to Reproduce:
1. rpmbuild --recompile --noclean libblockdev-2.25-2.el9.src.rpm
2.
3.
[root@dell-per430-16 ~]# yum install -y cryptsetup-devel
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 3:22:57 ago on 2021年04月06日 星期二 20时40分28秒.
Error:
Problem: cannot install the best candidate for the job
- nothing provides cryptsetup-libs(x86-64) = 2.3.4-2.el9 needed by cryptsetup-devel-2.3.4-2.el9.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@dell-per430-16 ~]#
[root@dell-per430-16 ~]#
[root@dell-per430-16 ~]#
[root@dell-per430-16 ~]# yum install -y cryptsetup-devel cryptsetup-libs
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 3:23:33 ago on 2021年04月06日 星期二 20时40分28秒.
Package cryptsetup-libs-2.3.5-2.el9.x86_64 is already installed.
Error:
Problem: cannot install the best candidate for the job
- nothing provides cryptsetup-libs(x86-64) = 2.3.4-2.el9 needed by cryptsetup-devel-2.3.4-2.el9.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@dell-per430-16 ~]# yum list | grep cryptsetup-libs
cryptsetup-libs.x86_64 2.3.5-2.el9 @beaker-BaseOS
cryptsetup-libs.i686 2.3.5-2.el9 beaker-BaseOS
cryptsetup-libs-debuginfo.i686 2.3.5-2.el9 beaker-BaseOS-debuginfo
cryptsetup-libs-debuginfo.x86_64 2.3.5-2.el9 beaker-BaseOS-debuginfo
[root@dell-per430-16 ~]#
[root@dell-per430-16 ~]# yum list | grep cryptsetup-devel
cryptsetup-devel.i686 2.3.4-2.el9 rhel-buildroot-beaker
cryptsetup-devel.x86_64 2.3.4-2.el9 rhel-buildroot-beaker
[root@dell-per430-16 ~]#
[root@dell-per430-16 ~]#
Seems the machine is missing repository with cryptsetup-devel-2.3.5-2.el9 package. The error message you see is consequence of cryptsetup-devel-2.3.4 trying to pull in older cryptsetup-libs (which triggers conflicts with installed packages)
Comment 2guazhang@redhat.com
2021-04-07 09:07:38 UTC