![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Repositories & Backports Need help with apt-get and updating Ubuntu? Post here.. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Mar 2005
Beans: 22
|
how to limit apt-get download speed
Is there any option like --limit-rate=2K to limit download speed when I get new packages with apt-get?
here I found one solution, but it doesn't work (guess file /etc/apt/apt-file.conf is not in use anymore) Any other solutions for this problem? |
|
|
|
|
|
#2 |
|
A Carafe of Ubuntu
![]() Join Date: May 2005
Location: Karditsa , Greece
Beans: 111
Ubuntu 8.04 Hardy Heron
|
Re: how to limit apt-get download speed
Did you try
Code:
man apt-get
__________________
salagata |
|
|
|
|
|
#3 | |
|
5 Cups of Ubuntu
![]() Join Date: Mar 2005
Beans: 22
|
Re: how to limit apt-get download speed
Quote:
and what about you? |
|
|
|
|
|
|
#4 |
|
A Carafe of Ubuntu
![]() Join Date: May 2005
Location: Karditsa , Greece
Beans: 111
Ubuntu 8.04 Hardy Heron
|
Re: how to limit apt-get download speed
Hey man it was just a question . I didn't imply anything.
So it appears that apt-get doesn't support bandwidth limiting. You could try this ---> http://ubuntuforums.org/showthread.php?t=20342 instead .
__________________
salagata |
|
|
|
|
|
#5 |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() Join Date: Apr 2005
Location: IRC or Forums
Beans: 934
Ubuntu 9.10 Karmic Koala
|
Re: how to limit apt-get download speed
I don't think he was aiming at you xristos, but the link that xristos have you bepcyc will help. Also when you make a thread, if you could start it with a "how do I" instead of "how to", so that the users are not confused with our Tips and Tricks forums.
Last edited by XDevHald; June 3rd, 2005 at 08:05 AM.. |
|
|
|
|
|
#6 | |
|
5 Cups of Ubuntu
![]() Join Date: Mar 2005
Beans: 22
|
Re: how to limit apt-get download speed
Quote:
That's what I looked for 2xristos: Sorry for my aggression, I just had a bad day 2BB: sorry, I'll note this next time |
|
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2006
Beans: 2
|
Re: how to limit apt-get download speed
I found a better sollution.
create file /etc/apt/apt.conf.d/76download with content: Acquire { Queue-mode "access"; http { Dl-Limit "25"; }; }; That limits apt-get to 25KB/s |
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: Aug 2008
Beans: 3
|
Re: how to limit apt-get download speed
Hey michallo thanks for that - great solution! wondershaper wasnt really working for me
|
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2007
Beans: 3
|
Re: how to limit apt-get download speed
Sweet, nice tip. Since I only sometimes need to apply the limit, I use the -o command line option. Here is how I use it:
Code:
sudo apt-get -o Acquire::http::Dl-Limit=25 upgrade |
|
|
|
|
|
#10 |
|
First Cup of Ubuntu
![]() Join Date: Jan 2009
Location: Indonesia
Beans: 11
Ubuntu 9.04 Jaunty Jackalope
|
Re: how to limit apt-get download speed
had the same question. sweet tip there alienbrain. thanks
__________________
common sense... |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|