Bug 495365 - yum sorts packages to download by size
Summary: yum sorts packages to download by size
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-12 11:38 UTC by JanS
Modified: 2014-01-21 23:08 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-13 17:00:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description JanS 2009-04-12 11:38:14 UTC
Why yum sorts packages?

It would be more useful to sort from smallest independent dependency tree. To be able to install whole clump completely even after downloading is interrupted.

Or to not sort in any way to have constant rate of progress bars. 

Or if not sorting wont have such effect, to introduce sorting that way, to ensure constant rate.

I cannot find any justification for current behaviour (to sort from smallest to largest).

Comment 1 Andre Robatino 2009-04-12 15:49:34 UTC
I remember reading somewhere that the justification was that if the download was interrupted, one would have the largest possible number of downloaded packages.  I'm not sure if I buy that as a good enough reason.  Interestingly, the most recent rawhide version of yum has reverted to downloading packages alphabetically rather than in order of increasing size.  Don't know yet whether that's deliberate or a regression.

Comment 2 James Antill 2009-04-13 17:00:01 UTC
 We don't currently know the "smallest independent dependency tree", so we can't currently sort that way. When we can get that info., we might change it ... feel free to open an RFE at that time (although plugins make this somewhat painful).

> Interestingly, the most recent rawhide version of yum has reverted to
> downloading packages alphabetically

 This was changed explicitly to reduce the number of BZs like this.

Comment 3 Alexey Kuznetsov 2009-05-10 07:58:32 UTC
Is here any plugin to make yum sort packages by size :) i really love this feature?


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