[pacman-dev] [PATCH] Handle provides with -Q

Allan McRae allan at archlinux.org
Fri Apr 1 12:37:39 UTC 2016

On 01/04/16 22:26, Andrew Gregory wrote:
> On 04/01/16 at 02:23pm, Allan McRae wrote:
>> It is useful to be able to use "pacman -Qi" on any dependency, even if that
>> dependency is a provide.  For example, on Arch Linux systems, "sh" is provided
>> by the "bash" package, and many packages depend on "sh". Querying the what
>> package the "sh" dependency, currently first requires searching for "sh".
> s/Querying the what package/Querying the package that provides/?
>> This patch allows the use of "pacman -Qi" on a provide.
>> Fixes FS#20650.
>> Signed-off-by: Allan McRae <allan at archlinux.org>
>> ---
>>  src/pacman/query.c | 30 ++++++++++++++++++++++++++++++
>>  1 file changed, 30 insertions(+)


> Any reason not to just use alpm_find_satisfier here?

No...   That would make this patch much more simple!


More information about the pacman-dev mailing list