Re: Yum and partial downloads.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 22 Apr 2015 23:38:35 -0600
Robin Laing <MeSat@xxxxxxxxxxxxxxx> wrote:

> In one case, the file was at 99% complete when it stopped.  Restarted
> on a different mirror at 0%
> 
> Due to firewall rules there is bandwidth management and it allows 
> downloads to start at a high speed only to slow down at 25MB.

You could game the bandwidth management with wget or curl, using their
continuation capability.  When the throttling starts, stop the program,
wait a few seconds, and then restart with the continuation option.
That way, you download the large file in several 25 MB chunks at high
speed. Only useful for occasional large files, not in general, though
you could script it.  Put the downloaded file in the local yum
repository (under /var/yum somewhere) where yum will find it when it
tries to update, or install it directly using the -C option.

> The Question.
> 
> The network admin asked if Fedora was like Ubuntu that will continue 
> downloading where it left off?  I stated I doubted it as the display 
> kept going back to zero

This has been my experience as well.  Internally, I think yum uses
python-urlgrabber to fetch the packages, and it seems to have no
memory of past attempts.

There is probably a reason this behavior was adopted, but I don't know
it.

You might be able to use the throttle and bandwidth options to adjust
for your bandwidth management.  See man yum.conf.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux