Red Hat Bugzilla – Bug 495365
yum sorts packages to download by size
Last modified: 2014-01-21 18:08:48 EST
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).
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.
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.
Is here any plugin to make yum sort packages by size :) i really love this feature?