Re: yum list available weird output

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

On Tue, 5 May 2009, Gerry Reno wrote:

> Ok, I am looking at repoquery but some of the totals do not seem to add up. 
> For example:
> repoquery -q --pkgnarrow=updates -a | wc -l
> 498
>
> Now I would expect that when I do this:
> for arch in i386 i586 i686 x86_64; do
> repoquery -q --pkgnarrow=updates --archlist=$arch | wc -l
> done
>
> that the totals for all the arches would equal the 'all' total. But they 
> don't. The arches totalled separately add up to more than 100 packages more 
> than the 'all' total. How can that be?
>

1. why are you doing each arch separately?
2. what ver of yum-utils is this?
3. what is your overall goal for this script?

-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.