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.
Description of problem:
When multilib_policy=all is specified in yum.conf, yum tries to install even packages with incompatible architecture and fails.
Version-Release number of selected component (if applicable):
yum-4.7.0-2.el8
How reproducible:
always
Steps to Reproduce:
1. create a repository containing a package for multiple architectures, where at least one is not compatible with the running system, for example x86_64, i686 and aarch64
2. create a repo file for the new repository
3. echo multilib_policy=all >> /etc/yum.conf
4. yum install $multilib_package
Actual results:
# yum install zsh
Failed to set locale, defaulting to C.UTF-8
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:08:51 ago on Thu Aug 19 09:53:59 2021.
Error:
Problem: conflicting requests
- package zsh-5.5.1-8.el8.aarch64 does not have a compatible architecture
- nothing provides libdl.so.2(GLIBC_2.17)(64bit) needed by zsh-5.5.1-8.el8.aarch64
- nothing provides libm.so.6(GLIBC_2.17)(64bit) needed by zsh-5.5.1-8.el8.aarch64
- nothing provides ld-linux-aarch64.so.1()(64bit) needed by zsh-5.5.1-8.el8.aarch64
- nothing provides ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) needed by zsh-5.5.1-8.el8.aarch64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
# uname -m
x86_64
#
Expected results:
As written in man yum.conf, only packages with compatible architectures are installed:
multilib_policy
Controls how multilib packages are treated during install operations. Can either be "best" (the
default) for the depsolver to prefer packages which best match the system's architecture, or "all"
to install all available packages with compatible architectures.
Additional info:
The same problem exists on RHEL-9 with yum-4.7.0-2.el9
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 (dnf 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/RHBA-2022:2051