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.
Bug 2172292 - dnf history undo fails with " - libpq-13.5-1.el9.i686 has inferior architecture"
Summary: dnf history undo fails with " - libpq-13.5-1.el9.i686 has inferior architect...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: libsolv
Version: 9.1
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: rc
: ---
Assignee: amatej
QA Contact: Tomáš Bajer
URL:
Whiteboard:
Depends On: 2172288
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-21 21:10 UTC by jcastran
Modified: 2023-11-07 11:33 UTC (History)
8 users (show)

Fixed In Version: libsolv-0.7.24-2.el9
Doc Type: No Doc Update
Doc Text:
Clone Of: 2172288
Environment:
Last Closed: 2023-11-07 08:54:42 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-149594 0 None None None 2023-02-21 21:11:33 UTC
Red Hat Product Errata RHBA-2023:6646 0 None None None 2023-11-07 08:54:51 UTC

Description jcastran 2023-02-21 21:10:02 UTC
+++ This bug was initially created as a clone of Bug #2172288 +++

Description of problem:
When the .i686 arch of a multilib package is installed first, you can not undo the later transaction which installed the .x86_64 variant.


Version-Release number of selected component (if applicable):
[root@r9 ~]# rpm -q dnf libsolv
dnf-4.14.0-4.el9.noarch
libsolv-0.7.22-1.el9.x86_64

How reproducible:
Everytime

Steps to Reproduce:
1. Do not have libpq installed
2. # yum -y install libpq.i686
3. # yum -y install libpq
4. # yum history undo last      ##This should undo the libpq.x86_64 transaction

Actual results:
Error:
 Problem: problem with installed package libpq-13.5-1.el9.i686
  - libpq-13.5-1.el9.i686 has inferior architecture
  - conflicting requests
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Expected results:
Since we could install libpq.i686 without .x86_64 in the first place, theres no reason we can't undo the transaction with .x86_64 in it.

Additional info:

Comment 1 Evan Goode 2023-02-27 13:57:28 UTC
Note: I needed to change step 3 to:
3. # yum -y install libpq.x86_64
to reproduce on Fedora 37.

Comment 4 Jaroslav Mracek 2023-03-21 13:55:04 UTC
I've created an issue on libsolv (https://github.com/openSUSE/libsolv/issues/525). The issue contains reproducer using libsolv testcase.

Comment 13 errata-xmlrpc 2023-11-07 08:54:42 UTC
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 (libsolv 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-2023:6646


Note You need to log in before you can comment on or make changes to this bug.