Bug 32053 - Suggestion: add option --whatrecommends to urpmq
Summary: Suggestion: add option --whatrecommends to urpmq
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-27 20:00 CEST by Morgan Leijström
Modified: 2023-06-28 00:42 CEST (History)
1 user (show)

See Also:
Source RPM: urpmi-8.131-2.mga9
CVE:
Status comment:


Attachments

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


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