Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: how to limit apt-get download speed

  1. #1
    Join Date
    Mar 2005
    Beans
    23

    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. #2
    Join Date
    May 2005
    Location
    Karditsa , Greece
    Beans
    106
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: how to limit apt-get download speed

    Did you try
    Code:
    man apt-get
    ?
    salagata

  3. #3
    Join Date
    Mar 2005
    Beans
    23

    Re: how to limit apt-get download speed

    Quote Originally Posted by xristos
    Did you try
    Code:
    man apt-get
    ?
    yeah
    and what about you?

  4. #4
    Join Date
    May 2005
    Location
    Karditsa , Greece
    Beans
    106
    Distro
    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. #5
    Join Date
    Apr 2005
    Location
    IRC or Forums
    Beans
    543
    Distro
    Ubuntu

    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 01:05 PM.

  6. #6
    Join Date
    Mar 2005
    Beans
    23

    Re: how to limit apt-get download speed

    Quote Originally Posted by xristos
    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 .
    Big thanks
    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. #7
    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. #8
    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. #9
    Join Date
    Dec 2007
    Beans
    4

    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. #10
    Join Date
    Jan 2009
    Location
    Indonesia
    Beans
    11
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: how to limit apt-get download speed

    had the same question. sweet tip there alienbrain. thanks

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •