Description of problem: Since the calculating does not include size of file updates/prestodelta, results too optimistic. On small updates gain can be negative actually. Actual results: updates/prestodelta | 316 kB 00:49 Processing delta metadata Download delta size: 216 k (1/4): rpm-4.7.0-1.fc11_4.7.0-2.fc11.x86_64.drpm | 41 kB 00:07 (2/4): rpm-build-4.7.0-1.fc11_4.7.0-2.fc11.x86_64.drpm | 34 kB 00:05 (3/4): rpm-libs-4.7.0-1.fc11_4.7.0-2.fc11.x86_64.drpm | 120 kB 00:44 (4/4): rpm-python-4.7.0-1.fc11_4.7.0-2.fc11.x86_64.drpm | 21 kB 00:05 Finishing rebuild of rpms, from deltarpms <delta rebuild> | 1.5 MB 00:01 Presto reduced the updates to 216 k from 1.5 M which is a 87% savings. Expected results: Presto reduced the updates to 532 k from 1.5 M which is a 65% savings.
Wrong presto guys! "presto" is a tilemap engine, yum-presto is what you're looking for. Bug reassigned.
That's true, but fixing this is somewhat problematic though for instance: 1. yum makecache (downloads presto delta info.) 2. yum update blah (repo. hasn't updated since #1, so metadata is still good). ...and: 1. yum update foo (downloads presto metadata + drpm for foo) 2. yum update bar (downloads drpm for bar)
As James pointed out, the real problem is that there are certain situations where the savings will not be exact. Unless you have a *very* minimal install, yum-presto will give you an overall savings (normally a large overall savings). Having said that, I would welcome a patch that would add prestodelta.xml.gz's size to the actual_download_size whenever we actively download it.
A nice little example of negative savings! (This isn't intrinsically bad, of course: it's saved me several GB of download overall. But it would make the stats more believable if the delta size was included when it was downloaded.) Total download size: 149 k Is this ok [y/N]: y Downloading Packages: Setting up and reading Presto delta metadata updates-testing/prestodelta | 135 kB 00:00 Processing delta metadata Download delta size: 21 k liveusb-creator-3.8.6-1.fc12_3.8.7-1.fc12.noarch.drpm | 21 kB 00:00 Finishing rebuild of rpms, from deltarpms <delta rebuild> | 149 kB 00:01 Presto reduced the update size by 87% (from 149 k to 21 k).
This message is a reminder that Fedora 11 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 11. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '11'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 11's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 11 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.