Bug 501879 - yum total download size wrong with yum-presto enabled
yum total download size wrong with yum-presto enabled
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-21 04:27 EDT by stefan
Modified: 2014-01-21 18:09 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-05-21 10:16:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description stefan 2009-05-21 04:27:35 EDT
Description of problem: with yum-presto enabled running a yum update announces the total download size to be the amount of mb's that would would be fetched without delta-rpm's and thus giving a wrong impression of how much data is actually going to be downloaded from the update servers


Version-Release number of selected component (if applicable): F11 (rawhide)


How reproducible: su -c 'yum update'


Steps to Reproduce:
1. run konsole
2. su - 
3. yum update
  
Actual results:

Transaction Summary
==============================================================================
Install      0 Package(s)                                                                
Update      46 Package(s)                                                                
Remove       0 Package(s)                                                                

Total download size: 142 M
Is this ok [y/N]: y       
........
........
Size of all updates downloaded from Presto-enabled repositories: 29M                     
Size of updates that would have been downloaded if Presto wasn't enabled: 142M           
This is a savings of 80 percent         

Expected results:

Transaction Summary
=========================================================================================
Install      0 Package(s)                                                                
Update      46 Package(s)                                                                
Remove       0 Package(s)                                                                

Total download size: 29 M
Is this ok [y/N]: y       
.....
.....

Additional info: none
Comment 1 James Antill 2009-05-21 09:47:49 EDT
yum-presto does this "behind the back of yum", so it doesn't know about it.
However you appear to be using an old version of yum-presto, if you update the UI has a few improvements which will probably solve your problem.
Comment 2 stefan 2009-05-21 10:00:06 EDT
thanks for the update!

i am running a fully updated F11 rawhide install, so how could it be updated? And yum-presto is an "official" yum plugin, so i would expect them to operate together. 

When it is done downloading and installing it gives me the message where the original download size has been mentioned, the size in deltarpms and the savings, i am sure that this could be communicated beforehand to yum as well so yum will tell me *before* starting the download how many mb's it is going to fetch.

i would like to know *beforehand* what the expected downloadsize is going to be so i an make the decision myself if it is worth the wait/bandwith.

besides, imho when the downloader states it is going to fetch 142mb when in fact it is just getting 29mb of drpms is in fact a bug/incomplete feature.

cheers,
stefan
Comment 3 James Antill 2009-05-21 10:16:27 EDT
 There are currently two pending updates, one for updates-testing in Fedora-11 the other for Fedora-12 rawhide (current mashed rawhide is still Fedora 11's, AIUI).
 You can get either from:

http://kojipkgs.fedoraproject.org/packages/yum-presto/0.5.0/

> i am sure that this could be communicated beforehand to yum

This _might_ happen if/when yum-presto is merged into core yum, it's not going to happen when presto is a plugin.

Note You need to log in before you can comment on or make changes to this bug.