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

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

 



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

----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
- Political Correctness: The insane doctrine that postulates that it -
-     is entirely possible to pick up a turd by the clean end.       -
----------------------------------------------------------------------
--
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