Re: yum list available weird output

Seth Vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>

On Wed, 6 May 2009, Gerry Reno wrote:

> James Antill wrote:
>> Gerry Reno <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.