[colug-432] Yum search to show installation status/repo?

Eric Floehr eric at intellovations.com
Sun Jan 12 10:38:58 EST 2014


>
> I've found 'repoquery' to be quite handy in performing specific remote
>  queries. If you just wanted a list of the repos and the package name, you
> can
> use this example from the man-page:
>   repoquery -a --qf "%-20{repoid} %{name}"
>

Thanks Jon, digging into the source of this (it's Python :-) to get the
list of possible fields for qf, I don't see where I can show the installed
status.

Also, while yum info shows in the "Repo:" line as "installed" if the
package is installed, and "From repo:" as the repo its from, "repoid" seems
to show the "From repo:" equivalent. So I haven't been able to figure out
how to show that.

I did figure out from repoquery itself (the man pages seem out of date)
that you can use --search to search ala "yum search" which is great.

-Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.colug.net/pipermail/colug-432/attachments/20140112/91073443/attachment.html 


More information about the colug-432 mailing list