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: ---   
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