[Yum] yum list available weird output
Seth Vidal
skvidal at fedoraproject.org
Tue May 5 20:31:56 UTC 2009
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
More information about the Yum
mailing list