[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Yum-presto (deltarpms) ready for testing.



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

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]