Notice: it's not about mirrors of archive.raspbian.org but archive.raspberrypi.org. Earlier one has so many mirrors all over the world.


I'm building a customized Raspbian image with RPi-Distro/pi-gen and every time I build the image it fetches fundamental packages from archive.raspberrypi.org like raspberrypi-kernel.

The bandwidth of archive.raspberrypi.org is super narrow and takes so long time to download such kernels and other stuff. It's not convenient especially when I experiment with it and doing try-and-errors.

About making my own mirrors

It's better to have publicly available mirrors instead of making a private mirror of archive.raspberrypi.org while it's a clever choice.

  • 2
    "It's better to have publicly available mirrors..." -> Pretty sure you could just download the whole shebang, attach a webserver, and it use it locally. No bandwidth issues there and much simpler.
    – goldilocks
    Apr 29, 2020 at 16:59
  • 1
    Yes, yes I know that. Needless to say, "download the whole shebang" from a repository consumes a big amount of storage. It's the last resort. Furthermore, I'm sure you ever used some APT mirrors and was happy with it. Having multiple mirrors is a big benefit for people in terms of availability and bandwidth.
    – puhitaku
    Apr 30, 2020 at 5:19
  • Now I'm thinking of writing thin and simple transparent proxy to reduce the pain without downloading/mirroring a whole repository. I'll post here when existing solution is found or I write some codes.
    – puhitaku
    Apr 30, 2020 at 16:14
  • Why don't you use a couple HTTP proxies as mirrors?
    – user96931
    Apr 30, 2020 at 22:40
  • 1
    @user96931 That's a handy choice and will solve this problem personally and temporarily. I really wonder if there are any public mirrors, and why they don't exist for now.
    – puhitaku
    May 1, 2020 at 6:47

1 Answer 1


Upon a Google search, I have found two mirrors available both at rpi.rutgers.edu and mirrors.ustc.edu.cn. I have not tested the bandwidth or integrity of either of these sites, but since they are .edu I believe they should be credible. I wasn't able to find any more than these two, but they may exist. Alternatively, if you would like to host your own copy of archive.raspberrypi.org, I have found a helpful script on GitHub to do just that.

  • Thanks for your answer to this half-year-old question. Temporarily I'm a bit away from RPi development so I'd accept it later.
    – puhitaku
    Nov 10, 2020 at 14:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.