Re: yum configure to only download one package at a time

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

 



On 2015-12-17 17:45, Rick Stevens wrote:
On 12/17/2015 04:05 PM, Robin Laing wrote:
Hello,

I am trying to upgrade my system and through our corporate
firewall/network filters/etc, the bandwidth is limited.  Today while
doing an upgrade, yum was downloading five packages at a time.

Due to the limits, I was running into a under X bytes for 60 seconds
restart.

The limit is such that when there are large packages (eclipse) it gets
stuck restarting each package over and over until it has run out of
mirrors.

I read through the yum.conf man and I cannot find a way to tell yum to
only download a single package.

This is on a f20 system and I am trying to get to F23 but I cannot get
fedup on f20 to work through our corporate firewall and dnf won't play.

I am working on the problem I asked about earlier as this is the first
time I had a few days to work on this.

fedora-upgrade is the command that I am using.

It's extremely unwise to jump 3 releases (F20 to F23) via upgrades.
For maximum success, do F20->F21, F21->F22, then F22->F23. In fact,
you'd best be served by backing up all your stuff and doing a fresh
install of F23 (there's been a LOT of changes since F20).

Note also that the upgrade sequence will probably have problems since
F20 and F21 are both end-of-lifed and some of the repo mirrors won't
have the content any longer. In fact, the Fedora project itself moves
the content to

     http://archives.fedoraproject.org/pub/archive/fedora/linux/releases

for end-of-life releases.

Now, as far as your slow downloads, you might try doing this as the root
user:

     echo "0" >/proc/sys/net/ipv4/tcp_sack

and see if that improves things (depends on how your firewall behaves).
If it does, you can make it permanent by adding the following line to
either your /etc/sysctl.conf file or create a new
/etc/sysctl.d/10-openuptcp.conf file (depends on how old your setup is)
and put it in there:

     net.ipv4.tcp_sack = 0

Thank you.

I am going one level at a time. F20 to 21 to 22 to 23 (hopefully before Xmas)

I am going to limit the bandwidth in the yum.conf and see if that helps with the number of packages being downloaded. I am also going to lower the 500B to 250B (for 60 sec) for timeout.

One of the system admins updated his Ubuntu machine today and his total bandwidth is close to my total bandwidth. My problem is multiple packages being downloaded at once. Apt-update only downloaded one package at a time.

We have a limited bandwidth and there are major issues for lots of things for various reasons. I am using the fastest mirrors plugin with no success.

I will try setting teh tcp_sack. Looking at what it does, it may be very helpful.

I would still like to tell yum to only download one package at a time.

If F21 allows me to get fedup to work through the firewall, I will try that.

Being an old system, I may have to remove packages before I can get a full upgrade from F20 to F21. I can live with that.

I cannot live with the few days to get everything working on our network from a clean install. I want to be mainly done, hopefully at least to F22 by December 22. Nice matching numbers. :)

Robin


--
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