Re: Suggestion: Add option to use GNU mirrorlist for downloading sources
"Rainer Fiebig" ([email protected] via lfs-support Mailing List) <[email protected]> Wed, 19 Nov 2025 11:01:12 +0100
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <[email protected]> |
Am 18.11.25 um 22:58 schrieb Bruce Dubbs ([email protected] via lfs-support Mailing List): > On 11/18/25 3:25 PM, "Glitch (and Gummi)" ([email protected] via > lfs-support Mailing List) wrote: >> Hi there, >> I recently had an exchange with a sysadmin from the FSF after I was >> having trouble connecting to the GNU FTP server to download the >> required packages for LFS. Apparently they were having problems with >> DDoSes on their server, so they implemented a block on IP addresses >> that made several requests in a short time. Unfortunately, as I was >> downloading a large amount of packages from their server at the time >> (as you do for LFS), I got caught in this ban and was no longer able >> to connect. >> >> I eventually resolved this by `sed`ing the wget-list to point to a >> mirror of the GNU FTP instead. As mentioned in the beginning, I >> additionally emailed GNU directly about this and got in touch with one >> of their sysadmins, who suggested I point to `ftpmirror.gnu.org` to >> automatically get redirected to the fastest mirror. I have done this >> when downloading subsequent source packages and it seems to work well. >> >> Interestingly, the sysadmin mentioned that he wanted to send a >> suggestion to LFS, that they add a note advising users to point to >> `ftpmirror.gnu.org` if they are having trouble connecting to the main >> GNU FTP server. I agree that this would be useful advice, so I took >> the liberty of writing out this suggestion myself. I don't know how >> many people are experiencing connection issues with downloading >> sources, but I could imagine adding a little note in the download >> instructions could save some users a lot of hassle. > > See the 'Important' note at > https://rivendell.linuxfromscratch.org/lfs/view/development/chapter03/introduction.html There are 34 entries with "gnu.org" in the wget-list. Changing them manually would be a rather unreasonable task and not every beginner will know how to do it with a sed. So I suggest that the note lends a helping hand in this respect. I derived this from one of my scripts and it may serve as an _example_: gnu_impaired="https://ftp.gnu.org/gnu/" gnu_mirror="https://ftp.halifax.rwth-aachen.de/gnu/" sed -i.orig "s#$gnu_impaired#$gnu_mirror#" wget-list Rainer -- http://lists.linuxfromscratch.org/sympa/info/lfs-support Unsubscribe: See the above information page