Bug 486072 - yum-presto counts newly-installed packages in comparison of with/without Presto download size
yum-presto counts newly-installed packages in comparison of with/without Pres...
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: yum-presto (Show other bugs)
10
All Linux
low Severity low
: ---
: ---
Assigned To: Jonathan Dieter
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-18 00:52 EST by Andre Robatino
Modified: 2009-06-19 14:03 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-06-19 14:03:17 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 Andre Robatino 2009-02-18 00:52:34 EST
Description of problem:
When updating, yum-presto counts newly installed (for dependencies) packages in its comparison of download size with vs. without Presto, even though Presto can't be expected to reduce download size for a newly installed package.  Only updated packages should be counted.

Version-Release number of selected component (if applicable):
yum-presto-0.4.5-1.fc9.noarch

How reproducible:
always

Additional info:

For example, in the following, the vast majority of the stated bandwidth (25 MB) consists of the newly installed kdeedu-marble package (18 MB).

[root@localhost ~]# yum update --disablerepo=livna
Loaded plugins: presto, refresh-packagekit, security
Setting up and reading Presto delta metadata
No Presto metadata available for skype
No Presto metadata available for fedora
No Presto metadata available for rpmfusion-free-updates
No Presto metadata available for rpmfusion-nonfree-updates
No Presto metadata available for rpmfusion-free
No Presto metadata available for rpmfusion-nonfree
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package digikam.x86_64 0:0.10.0-0.16.rc1.fc10 set to be updated
--> Processing Dependency: kdeedu-marble >= 4.2.0 for package: digikam
--> Processing Dependency: libmarblewidget.so.4()(64bit) for package: digikam
---> Package digikam-libs.x86_64 0:0.10.0-0.16.rc1.fc10 set to be updated
---> Package elfutils.x86_64 0:0.140-1.fc10 set to be updated
---> Package elfutils-libelf.x86_64 0:0.140-1.fc10 set to be updated
---> Package elfutils-libelf-devel.x86_64 0:0.140-1.fc10 set to be updated
---> Package elfutils-libs.x86_64 0:0.140-1.fc10 set to be updated
---> Package gegl.x86_64 0:0.0.22-2.fc10 set to be updated
--> Processing Dependency: libspiro.so.0()(64bit) for package: gegl
---> Package kdepimlibs.x86_64 0:4.2.0-2.fc10 set to be updated
---> Package kipi-plugins.x86_64 0:0.2.0-0.14.rc1.fc10 set to be updated
---> Package libgnome.x86_64 0:2.24.1-9.fc10 set to be updated
---> Package libgnome-devel.x86_64 0:2.24.1-9.fc10 set to be updated
---> Package net-snmp.x86_64 1:5.4.2.1-3.fc10 set to be updated
---> Package net-snmp-libs.x86_64 1:5.4.2.1-3.fc10 set to be updated
---> Package perl.x86_64 4:5.10.0-56.fc10 set to be updated
---> Package perl-Compress-Raw-Zlib.x86_64 0:2.008-56.fc10 set to be updated
---> Package perl-Compress-Zlib.x86_64 0:2.008-56.fc10 set to be updated
---> Package perl-ExtUtils-Embed.x86_64 0:1.28-56.fc10 set to be updated
---> Package perl-ExtUtils-MakeMaker.x86_64 0:6.36-56.fc10 set to be updated
---> Package perl-ExtUtils-ParseXS.x86_64 1:2.18-56.fc10 set to be updated
---> Package perl-IO-Compress-Base.x86_64 0:2.008-56.fc10 set to be updated
---> Package perl-IO-Compress-Zlib.x86_64 0:2.008-56.fc10 set to be updated
---> Package perl-Module-Pluggable.x86_64 1:3.60-56.fc10 set to be updated
---> Package perl-Pod-Escapes.x86_64 1:1.04-56.fc10 set to be updated
---> Package perl-Pod-Simple.x86_64 1:3.07-56.fc10 set to be updated
---> Package perl-Test-Harness.x86_64 0:3.12-56.fc10 set to be updated
---> Package perl-devel.x86_64 4:5.10.0-56.fc10 set to be updated
---> Package perl-libs.x86_64 4:5.10.0-56.fc10 set to be updated
---> Package perl-version.x86_64 3:0.74-56.fc10 set to be updated
---> Package procps.x86_64 0:3.2.7-23.fc10 set to be updated
--> Running transaction check
---> Package kdeedu-marble.x86_64 0:4.2.0-7.fc10 set to be updated
--> Processing Dependency: libgps.so.17()(64bit) for package: kdeedu-marble
---> Package libspiro.x86_64 0:20071029-1.fc10 set to be updated
--> Running transaction check
---> Package gpsd.x86_64 0:2.37-2.fc9 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                    Arch      Version                  Repository  Size
================================================================================
Updating:
 digikam                    x86_64    0.10.0-0.16.rc1.fc10     updates    9.5 M
 digikam-libs               x86_64    0.10.0-0.16.rc1.fc10     updates    1.4 M
 elfutils                   x86_64    0.140-1.fc10             updates    226 k
 elfutils-libelf            x86_64    0.140-1.fc10             updates     55 k
 elfutils-libelf-devel      x86_64    0.140-1.fc10             updates     25 k
 elfutils-libs              x86_64    0.140-1.fc10             updates    188 k
 gegl                       x86_64    0.0.22-2.fc10            updates    697 k
 kdepimlibs                 x86_64    4.2.0-2.fc10             updates    2.2 M
 kipi-plugins               x86_64    0.2.0-0.14.rc1.fc10      updates    4.0 M
 libgnome                   x86_64    2.24.1-9.fc10            updates    696 k
 libgnome-devel             x86_64    2.24.1-9.fc10            updates     83 k
 net-snmp                   x86_64    1:5.4.2.1-3.fc10         updates    303 k
 net-snmp-libs              x86_64    1:5.4.2.1-3.fc10         updates    1.5 M
 perl                       x86_64    4:5.10.0-56.fc10         updates     14 M
 perl-Compress-Raw-Zlib     x86_64    2.008-56.fc10            updates     77 k
 perl-Compress-Zlib         x86_64    2.008-56.fc10            updates     34 k
 perl-ExtUtils-Embed        x86_64    1.28-56.fc10             updates     19 k
 perl-ExtUtils-MakeMaker    x86_64    6.36-56.fc10             updates    287 k
 perl-ExtUtils-ParseXS      x86_64    1:2.18-56.fc10           updates     33 k
 perl-IO-Compress-Base      x86_64    2.008-56.fc10            updates     58 k
 perl-IO-Compress-Zlib      x86_64    2.008-56.fc10            updates    139 k
 perl-Module-Pluggable      x86_64    1:3.60-56.fc10           updates     27 k
 perl-Pod-Escapes           x86_64    1:1.04-56.fc10           updates     20 k
 perl-Pod-Simple            x86_64    1:3.07-56.fc10           updates    193 k
 perl-Test-Harness          x86_64    3.12-56.fc10             updates     30 k
 perl-devel                 x86_64    4:5.10.0-56.fc10         updates    430 k
 perl-libs                  x86_64    4:5.10.0-56.fc10         updates    743 k
 perl-version               x86_64    3:0.74-56.fc10           updates     30 k
 procps                     x86_64    3.2.7-23.fc10            updates    216 k
Installing for dependencies:
 gpsd                       x86_64    2.37-2.fc9               fedora     188 k
 kdeedu-marble              x86_64    4.2.0-7.fc10             updates     18 M
 libspiro                   x86_64    20071029-1.fc10          updates     20 k

Transaction Summary
================================================================================
Install      3 Package(s)         
Update      29 Package(s)         
Remove       0 Package(s)         

Total download size: 56 M
Is this ok [y/N]: y
Downloading Packages:
Downloading DeltaRPMs:
(1/24): perl-ExtUtils-ParseXS-2.18-53.fc10_2.18-56.fc10. |  11 kB     00:00     
(2/24): elfutils-libelf-0.139-1.fc10_0.140-1.fc10.x86_64 |  23 kB     00:00     
(3/24): perl-IO-Compress-Zlib-2.008-53.fc10_2.008-56.fc1 |  16 kB     00:00     
(4/24): perl-5.10.0-53.fc10_5.10.0-56.fc10.x86_64.drpm   | 884 kB     00:02     
(5/24): perl-libs-5.10.0-53.fc10_5.10.0-56.fc10.x86_64.d |  18 kB     00:00     
(6/24): perl-Compress-Zlib-2.008-53.fc10_2.008-56.fc10.x |  11 kB     00:00     
(7/24): perl-Pod-Escapes-1.04-53.fc10_1.04-56.fc10.x86_6 |  10 kB     00:00     
(8/24): perl-IO-Compress-Base-2.008-53.fc10_2.008-56.fc1 |  12 kB     00:00     
(9/24): net-snmp-libs-5.4.2.1-2.fc10_5.4.2.1-3.fc10.x86_ |  41 kB     00:00     
(10/24): perl-Module-Pluggable-3.60-53.fc10_3.60-56.fc10 |  11 kB     00:00     
(11/24): kipi-plugins-0.2.0-0.11.beta6.fc10_0.2.0-0.14.r | 887 kB     00:02     
(12/24): elfutils-libs-0.139-1.fc10_0.140-1.fc10.x86_64. |  34 kB     00:00     
(13/24): digikam-0.10.0-0.12.beta8.fc10_0.10.0-0.16.rc1. | 3.9 MB     00:11     
(14/24): libgnome-2.24.1-7.fc10_2.24.1-9.fc10.x86_64.drp |  39 kB     00:00     
(15/24): gegl-0.0.22-1.fc10_0.0.22-2.fc10.x86_64.drpm    | 110 kB     00:00     
(16/24): perl-version-0.74-53.fc10_0.74-56.fc10.x86_64.d |  10 kB     00:00     
(17/24): perl-Compress-Raw-Zlib-2.008-53.fc10_2.008-56.f |  11 kB     00:00     
(18/24): perl-ExtUtils-MakeMaker-6.36-53.fc10_6.36-56.fc |  55 kB     00:00     
(19/24): digikam-libs-0.10.0-0.12.beta8.fc10_0.10.0-0.16 | 283 kB     00:00     
(20/24): kdepimlibs-4.2.0-1.fc10_4.2.0-2.fc10.x86_64.drp |  33 kB     00:00     
(21/24): perl-Pod-Simple-3.07-53.fc10_3.07-56.fc10.x86_6 |  30 kB     00:00     
(22/24): libgnome-devel-2.24.1-7.fc10_2.24.1-9.fc10.x86_ |  23 kB     00:00     
(23/24): net-snmp-5.4.2.1-2.fc10_5.4.2.1-3.fc10.x86_64.d |  63 kB     00:00     
(24/24): perl-devel-5.10.0-53.fc10_5.10.0-56.fc10.x86_64 |  32 kB     00:00     
Rebuilding rpms from deltarpms
(1/8): perl-ExtUtils-Embed-1.28-56.fc10.x86_64.rpm       |  19 kB     00:00     
(2/8): libspiro-20071029-1.fc10.x86_64.rpm               |  20 kB     00:00     
(3/8): elfutils-libelf-devel-0.140-1.fc10.x86_64.rpm     |  25 kB     00:00     
(4/8): perl-Test-Harness-3.12-56.fc10.x86_64.rpm         |  30 kB     00:00     
(5/8): gpsd-2.37-2.fc9.x86_64.rpm                        | 188 kB     00:00     
(6/8): procps-3.2.7-23.fc10.x86_64.rpm                   | 216 kB     00:00     
(7/8): elfutils-0.140-1.fc10.x86_64.rpm                  | 226 kB     00:00     
(8/8): kdeedu-marble-4.2.0-7.fc10.x86_64.rpm             |  18 MB     00:53     
--------------------------------------------------------------------------------
Total                                           337 kB/s |  19 MB     00:56     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating       : elfutils-libelf                                         1/61 
  Updating       : elfutils-libs                                           2/61 
  Updating       : libgnome                                                3/61 
  Updating       : net-snmp-libs                                           4/61 
  Installing     : gpsd                                                    5/61 
  Installing     : kdeedu-marble                                           6/61 
  Updating       : procps                                                  7/61 
  Installing     : libspiro                                                8/61 
  Updating       : gegl                                                    9/61 
  Updating       : elfutils                                               10/61 
  Updating       : libgnome-devel                                         11/61 
  Updating       : elfutils-libelf-devel                                  12/61 
  Updating       : perl-version                                           13/61 
  Updating       : perl-Module-Pluggable                                  14/61 
  Updating       : perl-libs                                              15/61 
  Updating       : perl                                                   16/61 
  Updating       : kdepimlibs                                             17/61 
  Updating       : perl-Compress-Raw-Zlib                                 18/61 
  Updating       : kipi-plugins                                           19/61 
  Updating       : net-snmp                                               20/61 
  Updating       : perl-IO-Compress-Base                                  21/61 
  Updating       : perl-IO-Compress-Zlib                                  22/61 
  Updating       : perl-ExtUtils-ParseXS                                  23/61 
  Updating       : perl-Pod-Escapes                                       24/61 
  Updating       : perl-Pod-Simple                                        25/61 
  Updating       : perl-Compress-Zlib                                     26/61 
  Updating       : digikam-libs                                           27/61 
  Updating       : digikam                                                28/61 
  Updating       : perl-devel                                             29/61 
  Updating       : perl-ExtUtils-MakeMaker                                30/61 
  Updating       : perl-Test-Harness                                      31/61 
  Updating       : perl-ExtUtils-Embed                                    32/61 
  Cleanup        : perl-ExtUtils-ParseXS                                  33/61 
  Cleanup        : elfutils-libelf                                        34/61 
  Cleanup        : perl-IO-Compress-Zlib                                  35/61 
  Cleanup        : perl                                                   36/61 
  Cleanup        : perl-libs                                              37/61 
  Cleanup        : perl-Compress-Zlib                                     38/61 
  Cleanup        : perl-Pod-Escapes                                       39/61 
  Cleanup        : perl-ExtUtils-Embed                                    40/61 
  Cleanup        : perl-IO-Compress-Base                                  41/61 
  Cleanup        : net-snmp-libs                                          42/61 
  Cleanup        : perl-Module-Pluggable                                  43/61 
  Cleanup        : kipi-plugins                                           44/61 
  Cleanup        : elfutils-libs                                          45/61 
  Cleanup        : elfutils                                               46/61 
  Cleanup        : digikam                                                47/61 
  Cleanup        : libgnome                                               48/61 
  Cleanup        : gegl                                                   49/61 
  Cleanup        : perl-Test-Harness                                      50/61 
  Cleanup        : procps                                                 51/61 
  Cleanup        : perl-version                                           52/61 
  Cleanup        : perl-Compress-Raw-Zlib                                 53/61 
  Cleanup        : elfutils-libelf-devel                                  54/61 
  Cleanup        : perl-ExtUtils-MakeMaker                                55/61 
  Cleanup        : digikam-libs                                           56/61 
  Cleanup        : kdepimlibs                                             57/61 
  Cleanup        : perl-Pod-Simple                                        58/61 
  Cleanup        : libgnome-devel                                         59/61 
  Cleanup        : net-snmp                                               60/61 
  Cleanup        : perl-devel                                             61/61 
Size of all updates downloaded from Presto-enabled repositories: 25M
Size of updates that would have been downloaded if Presto wasn't enabled: 56M
This is a savings of 55 percent

Dependency Installed:
  gpsd.x86_64 0:2.37-2.fc9              kdeedu-marble.x86_64 0:4.2.0-7.fc10    
  libspiro.x86_64 0:20071029-1.fc10    

Updated:
  digikam.x86_64 0:0.10.0-0.16.rc1.fc10                                         
  digikam-libs.x86_64 0:0.10.0-0.16.rc1.fc10                                    
  elfutils.x86_64 0:0.140-1.fc10                                                
  elfutils-libelf.x86_64 0:0.140-1.fc10                                         
  elfutils-libelf-devel.x86_64 0:0.140-1.fc10                                   
  elfutils-libs.x86_64 0:0.140-1.fc10                                           
  gegl.x86_64 0:0.0.22-2.fc10                                                   
  kdepimlibs.x86_64 0:4.2.0-2.fc10                                              
  kipi-plugins.x86_64 0:0.2.0-0.14.rc1.fc10                                     
  libgnome.x86_64 0:2.24.1-9.fc10                                               
  libgnome-devel.x86_64 0:2.24.1-9.fc10                                         
  net-snmp.x86_64 1:5.4.2.1-3.fc10                                              
  net-snmp-libs.x86_64 1:5.4.2.1-3.fc10                                         
  perl.x86_64 4:5.10.0-56.fc10                                                  
  perl-Compress-Raw-Zlib.x86_64 0:2.008-56.fc10                                 
  perl-Compress-Zlib.x86_64 0:2.008-56.fc10                                     
  perl-ExtUtils-Embed.x86_64 0:1.28-56.fc10                                     
  perl-ExtUtils-MakeMaker.x86_64 0:6.36-56.fc10                                 
  perl-ExtUtils-ParseXS.x86_64 1:2.18-56.fc10                                   
  perl-IO-Compress-Base.x86_64 0:2.008-56.fc10                                  
  perl-IO-Compress-Zlib.x86_64 0:2.008-56.fc10                                  
  perl-Module-Pluggable.x86_64 1:3.60-56.fc10                                   
  perl-Pod-Escapes.x86_64 1:1.04-56.fc10                                        
  perl-Pod-Simple.x86_64 1:3.07-56.fc10                                         
  perl-Test-Harness.x86_64 0:3.12-56.fc10                                       
  perl-devel.x86_64 4:5.10.0-56.fc10                                            
  perl-libs.x86_64 4:5.10.0-56.fc10                                             
  perl-version.x86_64 3:0.74-56.fc10                                            
  procps.x86_64 0:3.2.7-23.fc10                                                 

Complete!
[root@localhost ~]#
Comment 1 Jonathan Dieter 2009-06-19 14:03:17 EDT
This is true.  It was actually a conscious decision on my part as we are interested in exactly how much yum-presto saves you when you run a simple "yum update" compared to running "yum update" without yum-presto enabled.

For an accurate number, you have to count the dependencies, even though we can't generate deltas for them.

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