On Wed, 6 May 2009, Gerry Reno wrote:
James Antill wrote:
Gerry Reno <greno@xxxxxxxxxxx> writes:
Ok, here's another question:
I do this:
repoquery -qa --pkgnarrow=installed --archlist=i386
<returns not just i386 but others such as 'noarch' as well>
The --archlist isn't restricting the list. Is this a bug?
Not really, --archlist doesn't work on the rpmdb data.
Also --archlist isn't really meant as a generic filter, it's meant as
a way to make querying a ppc repo. work on an i386 box ... the fact
you can use it as a repo. filter is mostly a side effect.
It's a good option. And it would be a great option if it could be made to
work as a filter for all queries including the rpmdb.
In general repoquery shouldn't be acting on the local rpmdb and in a
slightly later version of yum-utils repoquery will never list any output
of a pkg from the rpmdb.
it ONLY acts on the repos.
-sv
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum