FS#20650 - [pacman] -Qi should "redirect" on provides

Attached to Project: Pacman
Opened by PyroPeter (pyropeter) - Saturday, 28 August 2010, 11:50 GMT
Last edited by Allan McRae (Allan) - Thursday, 05 May 2016, 03:58 GMT
Task Type Feature Request
Category Output
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version 3.4.0
Due in Version 5.1.0
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

At the moment provides are handled inconsistent by -Qi:

The "Depends On" field lists dependencies on a Provide like any other dependency:
> $ pacman -Qi gmp
> ...
> Depends On : gcc-libs sh

But -Qi is unable to output information on the package behind that Provide:
> $ pacman -Qi sh
> error: package "sh" not found

Imo "pacman -Qi <name>" should output information on the package that Provides <name>.

This should be easy to implement, as -S is already able to lookup Provides.
This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 05 May 2016, 03:58 GMT
Reason for closing:  Implemented
Additional comments about closing:  git commit 7d1ea0b8
Comment by Xavier (shining) - Saturday, 28 August 2010, 12:27 GMT
pacman -Qi $(pacman -Qsq '^sh$')
Comment by Allan McRae (Allan) - Friday, 01 April 2016, 04:30 GMT
  • Field changed: Percent Complete (0% → 100%)

Loading...