On Tue, Jun 21, 2016 at 10:43:07PM +0200, Patrik Lundin wrote:
> However, "pkg_info -e" does not understand it:
> ===
> # pkg_info -e python%2.7
> Invalid spec: python%2.7
> ===
> 
> I use pkg_info -e to check if a requested package is installed or
> not prior to attempting to install/remove it.
> 
> The reason for doing this is that it is much faster than just blindly
> trying to install a package, and does not hammer mirrors needlessly.
> 
> Are there any plans to teach pkg_info -e about "%"? Is it even possible?

Doesn't fit within the model, but you can already do that thing in a
different way, by choosing the right repository, namely inst.

e.g.,
pkg_info inst:python2.7
ought to give you the right result.

I need to make sure you get a sensible rc code though, which isn't okay right
now.

Reply via email to