Yum-presto (deltarpms) ready for testing.

Jonathan Dieter jdieter at gmail.com
Wed Mar 28 05:20:55 UTC 2007


On Wed, 2007-03-28 at 06:48 +0200, Leszek Matok wrote:
> This time I try to run "yum install openoffice.org-core" or "yum update
> openoffice.org-core" and it says:
> 
> --> Running transaction check
> Running "postresolve" handler for "presto" plugin
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 29, in ?
>     yummain.main(sys.argv[1:])
>   File "/usr/share/yum-cli/yummain.py", line 135, in main
>     (result, resultmsgs) = base.buildTransaction() 
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 449, in buildTransaction
>     self.plugins.run('postresolve', rescode=rescode, restring=restring)
>   File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 153, in run
>     func(conduitcls(self, self.base, conf, **kwargs))
>   File "/usr/lib/yum-plugins/presto.py", line 91, in postresolve_hook
>     rpm_size += int(newpkg.po.simple['packagesize'])
> KeyError: 'packagesize'
> 
> "yum update" with no arguments doesn't break (but openoffice.org-core,
> the 88 MiB beast, doesn't have a drpm - why?).
> 
> Lam
Not sure why you're hitting this bug...I'll try to fix it.

As for not having a drpm doing a plain yum update, there was a bug in
the server code that didn't allow drpms to be made for packages over
70MB in size (because that was the limit on my local server and I didn't
like it running out of memory).  I've fixed it, and the drpm should now
be available.

Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070328/cbc3d8c3/attachment.sig>


More information about the fedora-devel-list mailing list