Bug 32053

Summary: Suggestion: add option --whatrecommends to urpmq
Product: Mageia Reporter: Morgan Leijström <fri>
Component: RPM PackagesAssignee: Mageia tools maintainers <mageiatools>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Normal CC: davidwhodgins
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: urpmi-8.131-2.mga9 CVE:
Status comment:

Description Morgan Leijström 2023-06-27 20:00:27 CEST
Analogous to --whatrequires

To help answering why a system have have package x 

Example
https://bugs.mageia.org/show_bug.cgi?id=31623#c44
Comment 1 Dave Hodgins 2023-06-28 00:42:17 CEST
Ideally all of the "what" options in rpm should be supported.
$ man rpm|grep what
        [--whatprovides CAPABILITY] [--whatrequires CAPABILITY]
        [--whatrecommends CAPABILITY] [--whatsuggests CAPABILITY]
        [--whatsupplements CAPABILITY] [--whatenhances CAPABILITY]
        [--whatobsoletes CAPABILITY] [--whatconflicts CAPABILITY]
       --whatobsoletes CAPABILITY
       --whatprovides CAPABILITY
       --whatrequires CAPABILITY
       --whatconflicts CAPABILITY
       --whatrecommends CAPABILITY
       --whatsuggests CAPABILITY
       --whatsupplements CAPABILITY
       --whatenhances CAPABILITY
       rpm --help - as rpm supports customizing the options via popt aliases it's impossible to guarantee that what's described in the manual matches what's available.
$ man urpmq|grep what
       -p, --whatprovides
       --whatrequires
           Reverse search to what requires the package given.
       --whatrequires-recursive
           Reverse search to what requires recursively the package given (looking through virtual packages).

CC: (none) => davidwhodgins