Bug 2174869 - [RFE] requesting the -W flag for testsolv which can be seen in upstream testsolv
Summary: [RFE] requesting the -W flag for testsolv which can be seen in upstream testsolv
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: libsolv
Version: 9.1
Hardware: All
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Packaging Maintenance Team
QA Contact: Tomáš Bajer
URL:
Whiteboard:
: 1896489 (view as bug list)
Depends On: 2184658
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-02 14:24 UTC by jcastran
Modified: 2023-08-09 12:48 UTC (History)
6 users (show)

Fixed In Version: libsolv-0.7.24-1.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-150458 0 None None None 2023-03-02 14:26:11 UTC

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. ***


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