Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Bash command to find out which ubuntu repo mirrors support https
# From https://pastebin.com/QY2TQ1dq
# More details about the mirrors: https://launchpad.net/ubuntu/+archivemirrors
# Run this in bash
for mirror in $(wget -O - https://launchpad.net/ubuntu/+archivemirrors | grep '>http</a>' | cut -d '"' -f 2); do https_mirror=https${mirror#http}; wget --timeout 2 --tries=1 "$https_mirror" && echo "$https_mirror" >> https_mirrors; done
# Checkout the created file https_mirrors
https://mirror.aarnet.edu.au/pub/ubuntu/archive/
https://mirror.tcc.wa.edu.au/ubuntu/
https://mirror.reismil.ch/ubuntu/
https://mirror.datacenter.by/ubuntu/
https://mirror.unix-solutions.be/ubuntu/
https://mirror.globo.com/ubuntu/archive/
https://mirrors.neterra.net/ubuntu/
https://mirrors.layeronline.com/ubuntu/
https://mirror.csclub.uwaterloo.ca/ubuntu/
https://muug.ca/mirror/ubuntu/
https://ubuntu.ca-west.mirror.fullhost.io/ubuntu/
https://mirror.its.sfu.ca/mirror/ubuntu/
https://gpl.savoirfairelinux.net/pub/mirrors/ubuntu/
https://mirror.its.dal.ca/ubuntu/
https://mirrors.huaweicloud.com/repository/ubuntu/
https://mirrors.shu.edu.cn/ubuntu/
https://mirrors.tuna.tsinghua.edu.cn/ubuntu/
https://mirrors.ustc.edu.cn/ubuntu/
https://mirror.lzu.edu.cn/ubuntu/
https://mirrors.cqu.edu.cn/ubuntu/
https://mirrors.njupt.edu.cn/ubuntu/
https://mirrors.nwafu.edu.cn/ubuntu/
https://ubuntu.ucr.ac.cr/ubuntu/
https://mirror.dkm.cz/ubuntu/
https://ftp.sh.cvut.cz/ubuntu/
https://mirror.one.com/ubuntu/
https://mirrors.dotsrc.org/ubuntu/
https://mirror.netsite.dk/ubuntu/archive/
https://mirror.cedia.org.ec/ubuntu/
https://bouyguestelecom.ubuntu.lafibre.info/ubuntu/
https://mirror.plusserver.com/ubuntu/ubuntu/
https://mirrors.ircam.fr/pub/ubuntu/archive/
https://www-ftp.lip6.fr/pub/linux/distributions/Ubuntu/archive/
https://ubuntu.grena.ge/ubuntu/
https://ftp.halifax.rwth-aachen.de/ubuntu/
https://debian.charite.de/ubuntu/
https://mirror.de.leaseweb.net/ubuntu/
https://mirror.wtnet.de/ubuntu/
https://ftp.fau.de/ubuntu/
https://ftp-stud.hs-esslingen.de/ubuntu/
https://mirror.netcologne.de/ubuntu/
https://artfiles.org/ubuntu.com/
https://ftp.uni-mainz.de/ubuntu/
https://ftp5.gwdg.de/pub/linux/debian/ubuntu/
https://mirror.ratiokontakt.de/mirror/ubuntu/
https://packages.oth-regensburg.de/ubuntu/
https://suse.uni-leipzig.de/pub/releases.ubuntu.com/ubuntu/
https://mirror.xtom.com.hk/ubuntu/
https://speglar.simnet.is/ubuntu/
https://ubuntu.hysing.is/ubuntu/
https://buaya.klas.or.id/ubuntu/
https://mirror.unej.ac.id/ubuntu/
https://mirror.rasanegar.com/ubuntu/archive/
https://linuxmirrors.ir/pub/ubuntu/
https://mirror.faraso.org/ubuntu/
https://ftp.heanet.ie/pub/ubuntu/
https://mirror.isoc.org.il/pub/ubuntu/
https://it-mirrors.evowise.com/ubuntu/
https://ubuntu.mirror.garr.it/ubuntu/
https://linux.yz.yamagata-u.ac.jp/ubuntu/
https://ftp.jaist.ac.jp/pub/Linux/ubuntu/
https://ftp.riken.jp/Linux/ubuntu/
https://mirror.ps.kz/ubuntu/
https://ubuntu.koyanet.lv/ubuntu/
https://ubuntu-archive.mirror.serveriai.lt/
https://ftp.litnet.lt/ubuntu/
https://mirror.t-home.mk/ubuntu/
https://archive.tunnelbiz.com/ubuntu/
https://ubuntu.tuxuri.com/ubuntu/
https://mirrors.mivocloud.com/ubuntu/
https://ftp.nluug.nl/os/Linux/distr/ubuntu/
https://mirror.i3d.net/pub/ubuntu/
https://mirror.nforce.com/pub/linux/ubuntu/
https://mirror.vpgrp.io/ubuntu/
https://mirror.nl.leaseweb.net/ubuntu/
https://mirror.transip.net/ubuntu/ubuntu/
https://mirror.ng/ubuntu-archive/
https://ubuntu.uib.no/archive/
https://ftp.icm.edu.pl/pub/Linux/ubuntu/
https://ubuntu.man.lodz.pl/ubuntu/
https://mirrors.up.pt/ubuntu/
https://glua.ua.pt/pub/ubuntu/
https://mirrors.nav.ro/ubuntu/
https://mirrors.nxthost.com/ubuntu/
https://ro-mirrors.evowise.com/ubuntu/
https://mirrors.pidginhost.com/ubuntu/
https://mirror.corbina.net/ubuntu/
https://mirror.yandex.ru/ubuntu/
https://mirror.0x.sg/ubuntu/
https://download.nus.edu.sg/mirror/ubuntu/
https://mirror.vnet.sk/ubuntu/
https://ftp.arnes.si/pub/mirrors/ubuntu/
https://ftp.leg.uct.ac.za/ubuntu/
https://es-mirrors.evowise.com/ubuntu/
https://ubuntu.cica.es/ubuntu/
https://ftp.caliu.cat/pub/distribucions/ubuntu/archive/
https://ftp.acc.umu.se/ubuntu/
https://ftp.lysator.liu.se/ubuntu/
https://mirror.zetup.net/ubuntu/
https://ubuntu.ethz.ch/ubuntu/
https://pkg.adfinis-sygroup.ch/ubuntu/
https://ftp.nsysu.edu.tw/Ubuntu/ubuntu/
https://ftp.yzu.edu.tw/ubuntu/
https://ftp.ntou.edu.tw/ubuntu/
https://mirror.aptus.co.tz/pub/ubuntuarchive/
https://mirrors.bangmod.cloud/ubuntu/
https://mirror.kku.ac.th/ubuntu/
https://ubuntu.volia.net/ubuntu-archive/
https://ubuntu.ip-connect.vn.ua/
https://mirror.vorboss.net/ubuntu-archive/
https://www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu/
https://uk-mirrors.evowise.com/ubuntu/
https://mirror.bytemark.co.uk/ubuntu/
https://mirror.freethought-internet.co.uk/ubuntu/
https://mirror.mythic-beasts.com/ubuntu/
https://repo.bigstepcloud.com/ubuntu/
https://mirror.math.princeton.edu/pub/ubuntu/
https://la-mirrors.evowise.com/ubuntu/
https://mirror.nodesdirect.com/ubuntu/
https://mirror.pnl.gov/ubuntu/
https://mirror.us.leaseweb.net/ubuntu/
https://mirrors.bloomu.edu/ubuntu/
https://mirrors.rit.edu/ubuntu/
https://mirrors.syringanetworks.net/ubuntu-archive/
https://ny-mirrors.evowise.com/ubuntu/
https://mirrors.wikimedia.org/ubuntu/
https://mirror.lstn.net/ubuntu/
https://ubuntu.osuosl.org/ubuntu/
https://mirror.clarkson.edu/ubuntu/
https://mirror.cs.jmu.edu/pub/ubuntu/
https://mirror.mrjester.net/ubuntu/archive/
https://mirror.sjc02.svwh.net/ubuntu/
https://mirror.steadfast.net/ubuntu/
https://mirror.umd.edu/ubuntu/
https://mirror.us-midwest-1.nexcess.net/ubuntu/
https://mirrors.cat.pdx.edu/ubuntu/
https://mirrors.lug.mtu.edu/ubuntu/
https://mirrors.ocf.berkeley.edu/ubuntu/
https://mirrors.sonic.net/ubuntu/
https://mirrors.sorengard.com/ubuntu/
https://mirrors.tripadvisor.com/ubuntu/
https://mirrors.xmission.com/ubuntu/
https://mirror.stjschools.org/public/ubuntu-archive/
https://www.club.cc.cmu.edu/pub/ubuntu/
https://archive.linux.duke.edu/ubuntu/
https://mirror.hmc.edu/ubuntu/
https://ftp.ussg.iu.edu/linux/ubuntu/
https://repo.cure.edu.uy/ubuntu/archivos/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment