Results 1 to 8 of 8

Thread: Find fastest update server through CLI

  1. #1
    Join Date
    Jan 2007
    Beans
    6,537
    Distro
    Ubuntu 13.04 Raring Ringtail

    Find fastest update server through CLI

    The graphical package management tools like Synaptic have a nice feature where you can scan for and connect to the fastest server. I'm writing a setup script for minimal installs and would like to offer the option to scan for a fast server, does anybody know how to achieve this through the command line?

  2. #2
    Join Date
    Jan 2007
    Beans
    6,537
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Find fastest update server through CLI

    Anyone?

  3. #3
    Join Date
    Jan 2007
    Beans
    6,537
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Find fastest update server through CLI

    One last bump, just in case...

  4. #4
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Find fastest update server through CLI

    I don't know if it's possible, or even how to do it. I just know that the "default" server maxes out my download bandwidth (granted I have horribly slow internet but still)
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  5. #5
    Join Date
    Oct 2009
    Beans
    Hidden!

    Re: Find fastest update server through CLI

    Quote Originally Posted by Paqman
    One last bump, just in case...
    I've used apt-spy in Debian for that purpose, since you are an advanced user and coder you might be able to download the source for that and modify for Ubuntu repositories or take a piece of it for your script. I have no idea of how big of a job that might be, chances are probably better for you to get a useful answer if you post your query in the programming sub forum.

  6. #6
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Find fastest update server through CLI

    Take a laptop from your server location and perform an update and determine which are the fastest servers, then manually edit your sources.list on your servers. I doubt the fastest servers would change much from your geographic location. If the servers are down, then you have bigger problems.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  7. #7
    Join Date
    Jan 2007
    Beans
    6,537
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Find fastest update server through CLI

    Quote Originally Posted by QLee View Post
    chances are probably better for you to get a useful answer if you post your query in the programming sub forum.
    I did consider that, but i'm just Bash scripting. Nothing clever at all.

  8. #8
    Join Date
    Jan 2007
    Beans
    6,537
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Find fastest update server through CLI

    Quote Originally Posted by tgalati4 View Post
    Take a laptop from your server location and perform an update and determine which are the fastest servers, then manually edit your sources.list on your servers.
    It's a script for users to automate the minimal install process. See below!

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
  •