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.

Bug 2174869

Summary: [RFE] requesting the -W flag for testsolv which can be seen in upstream testsolv
Product: Red Hat Enterprise Linux 9 Reporter: jcastran
Component: libsolvAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED ERRATA QA Contact: Tomáš Bajer <tbajer>
Severity: high Docs Contact:
Priority: high    
Version: 9.1CC: amatej, kwalker, mbanas, nsella, pstodulk, tbajer
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: libsolv-0.7.24-1.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-07 08:54:42 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:
Bug Depends On: 2184658    
Bug Blocks:    

Description jcastran 2023-03-02 14:24:14 UTC
It was found here https://github.com/openSUSE/libsolv/issues/450 that upstream has a -W flag which allows you to cleanly parse debugdata generated by --debugsolver and see the dependency chain which pulls in a package.

# yum install httpd --debugsolver
# cd debugdata
# testsolv -W mod_http2 rpms/testcase.t
<I dont have this output handy but it shows that httpd requires mod_http2>


This would be very helpful in the RHEL space for debugging complicated transactions if we can implement it.

Comment 2 amatej 2023-03-07 06:30:57 UTC
The option is present since libsolv 0.7.23, most likely a rebase to that version is required.

Comment 3 Jaroslav Mracek 2023-03-21 13:04:40 UTC
There is related issue - https://github.com/openSUSE/libsolv/issues/450

Comment 10 Jaroslav Mracek 2023-08-09 12:48:39 UTC
*** Bug 1896489 has been marked as a duplicate of this bug. ***

Comment 12 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