[Rpm-metadata] installed size broken ?

seth vidal skvidal at fedoraproject.org
Fri Oct 24 18:01:07 UTC 2008


On Tue, 2008-09-23 at 10:20 -0400, seth vidal wrote:
> On Tue, 2008-09-23 at 11:12 +0200, Anders F Björklund wrote:
> > The generated <size installed> in primary.xml
> > seems broken, it's always the same as package...
> > 
> > [tests/createrepo.py] <-- added a Smart test case
> > FAIL: test_size (tests.createrepo.CreateRepoTest)
> > 
> > AssertionError: {'installed': '0', 'archive': '248', 'package':  
> > '2160'} != {'installed': '2160', 'archive': '248', 'package': '2160'}
> > 
> > It works OK if I install createrepo-0.4.11-2.fc8,
> > but is wrong when using createrepo-0.9.5-2.fc9.
> > 
> > 
> > All the generated repodata for Fedora 9 seems
> > to have the same problem as well, afaict...
> > 
> > The repodata for Fedora 8 seems not affected,
> > probably it was using the previous createrepo.
> > 
> 
> This looks like a bug. :)
> 
> I'll take a look and see what I broke.
> 

nothing really broken but a property needed to be lambda'd inside
YumHeaderPackage

it's patched in upstream yum and yum 3.2.20 will have the fix.

thanks,
-sv




More information about the Rpm-metadata mailing list