PDA

View Full Version : yum-presto - fast updates for Fedora 7 - make it ROCK SOLID



Valent
4th April 2007, 02:24 PM
Please go to:
http://hosted.fedoraproject.org/projects/presto
and help beta test yum-presto.

Q: What is yum-presto?
A: If you used updated on SUSE or Mandriva then you already know of this
feature. It is an update which doesn't download the whole RPM package
but only the difference between old and new RPM packages.

Q: Why use yum-presto?
A: I run a few machines with Fedora, some which I update regularly, and
some not so much. When I come to the machine which I haven't updated in
a few weeks there are usually around 100-200MB of updates! Even though I
have a broadband connection, it still takes a LOT of time to download
all of the updated packages. Yum-presto uses deltarpms which give you
only the difference between the old package which you already have and
the new one you want. So downloads are significantly smaller and a lot
quicker.

Please help support this project so it goes through beta testing and
gets full support in Fedora 7. This project needs you!

Valent.

--
http://kernelreloaded.blog385.com/
linux, blog, anime, spirituality, windsurf, wireless
registered as user #367004 with the Linux Counter, http://counter.li.org.
ICQ: 2125241
Skype: valent.turkovic

bob
4th April 2007, 02:50 PM
Has this been submitted to Fedora for inclusion?

RahulSundaram
4th April 2007, 07:34 PM
Has this been submitted to Fedora for inclusion?

Yes. It is under review.

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=234488

Hint: <package> fedora package review in google is a quick and easy way to find the review request.

blue13130
5th April 2007, 01:55 AM
just installed it and it works as promised. Here is a snip of the output showing the savings:

Size of all updates downloaded from Presto-enabled repositories: 3170141 bytes
Size of updates that would have been downloaded if Presto wasn't enabled: 8622791 bytes
This is a savings of 64 percent

Updated: cups.i386 1:1.2.10-3.fc6 cups-libs.i386 1:1.2.10-3.fc6 gpm.i386 0:1.20.1-82.fc6 krb5-devel.i386 0:1.5-21 krb5-libs.i386 0:1.5-21 krb5-workstation.i386 0:1.5-21 openssh.i386 0:4.3p2-19.fc6 openssh-askpass.i386 0:4.3p2-19.fc6 openssh-clients.i386 0:4.3p2-19.fc6 openssh-server.i386 0:4.3p2-19.fc6 parted.i386 0:1.8.2-2.fc6 procps.i386 0:3.2.7-8.3.fc6 psmisc.i386 0:22.2-5.1
Complete!

robatino
7th April 2007, 09:02 AM
Yum-presto got into Extras yesterday. Deltarpm was already there. But the default config file /etc/yum/pluginconf.d/presto.conf has the test repo commented out:

---------------------------------------------------------------------------------------------

# Please go to http://hosted.fedoraproject.org/projects/presto for a list of
# presto-enabled repositories

[main]
enabled=1
neverkeepdeltas=1

# Setup for test server, enable if you are testing
# [updates]
# deltaurl=http://www.lesbg.com/jdieter/updates/fc6/i386
#
# [extras]
# deltaurl=http://www.lesbg.com/jdieter/extras/fc6/i386

---------------------------------------------------------------------------------------

I uncommented them since this appears to be the only server so far. Are the updates and extras repos themselves going to be presto-enabled soon, so the deltarpms will be available at the same time as the regular ones?

Janl
9th April 2007, 12:13 PM
Is anybody using this on Fedora 7 Test 3? I've tried installing it but then get YUM errors.
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 82, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 142, in getOptionsConfig
errorlevel=opts.errorlevel)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 145, in _getConfig
startupconf.pluginconfpath)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 271, in doPluginSetup
plugin_types, confpath)
File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 138, in __init__
self._importplugins(types)
File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 179, in _importplugins
self._loadplugin(modulefile, types)
File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 196, in _loadplugin
module = imp.load_module(modname, fp, pathname, description)
File "/usr/lib/yum-plugins/presto.py", line 31, in <module>
from prestomdparser import PrestoMDParser
File "/usr/share/presto/prestomdparser.py", line 22, in <module>
from cElementTree import iterparse
ImportError: No module named cElementTree
I have to use rpm to then uninstall it to get YUM working again. I've tried installing it both from his "Presto" repository as well as directly downloading the RPM from the site (since it appeared to be a slightly newer version than what was showing up in the repo. It doesn't appear to be in the "extras-development" repositories yet, as someone said it is now included in "extras" for FC 6.

robatino
9th April 2007, 12:25 PM
Browsing the repo at http://www.lesbg.com/jdieter/ and the page at https://hosted.fedoraproject.org/projects/presto shows that he currently only supports FC6. So there's no point in your installing it until that changes.

Edit: I just noticed that the title of this thread mentions FC7 which is misleading. It shouldn't do that. In fact, the last I heard it isn't even expected to be enabled by default in a FC7 install, since it came along after the feature freeze.

Edit: As of today (April 15) there is a Rawhide version of yum-presto and a development repo.