{"repo":"vegardit/fast-apt-mirror.sh","free":true,"listed":false,"github":"https://github.com/vegardit/fast-apt-mirror.sh","clone":"git clone https://github.com/vegardit/fast-apt-mirror.sh.git","description":"fast-apt-mirror.sh is a self-contained Bash script that helps you to easily and quickly determine and configure a fast APT repository mirror on Debian, Ubuntu and Pop!_OS systems.","language":"Shell","stars":70,"topics":["apt-get","bash","command-line-tool","debian","ubuntu","bash-script","apt-source","apt","mirrors","apt-repo-action"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"fast-apt-mirror.sh Feedback and high-quality pull requests are highly welcome! 1. What is it? 1. Usage as GitHub Action 1. Usage on the command line 1. Installation 1. current command 1. find command 1. set command 1. Alternatives 1. License What is it? fast-apt-mirror.sh is a self-contained Bash script that helps you to easily and quickly determine and configure a fast APT repository mirror on Debian, Ubuntu, Pop! OS, Kali systems. It was born out of the ongoing stability issues with the azure.archive.ubuntu.com Ubuntu mirror pre-configured in GitHub Actions runners. Usage as GitHub Action The Action defaults ( speedtests: 10 , sample-size: 1024 ) are more aggressive than the CLI defaults ( 5 , 200 ) because runner mirror selection benefits from a wider, longer probe. With configure-mirror: auto , mirror configuration is skipped for local Act runs, but still runs on Forgejo and Gitea Actions runners even when ACT=true is set. The action output will look like this: Usage on the command line Installation Requires Bash 4+ (uses associative-array and string-manipulation features unavailable in older shells). All supported distros (Debian, Ubuntu, Pop! OS, Kali) ship Bash 4 or newer in their base images. For example: The current sub command Determines the currently effective APT mirror. Capture the current mirror URL in a variable: The find sub command Determines and prints the URL of a fast APT mirror and optionally activates it. The find command prefers curl , but it can fall b","default_branch":null,"files":null,"tree":[],"storefront":"/r/vegardit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vegardit/fast-apt-mirror.sh/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}