monogon-dev / monogon

The Monogon Monorepo. May contain traces of peanuts and a ✨pure Go Linux userland✨. Work in progress!
https://monogon.tech
Apache License 2.0
378 stars 9 forks source link

sandboxroot: our mirrors are not tried first #243

Open leoluk opened 1 year ago

leoluk commented 1 year ago

Lots of unnecessary 404 hits when populating the sandboxroot:

WARNING: Download from https://ftp.fau.de/fedora/linux/updates/37/Everything/x86_64/Packages/n/ndctl-libs-76.1-1.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.halifax.rwth-aachen.de/fedora/linux/updates/37/Everything/x86_64/Packages/n/ndctl-libs-76.1-1.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://mirror.23m.com/fedora/linux/updates/37/Everything/x86_64/Packages/n/ndctl-libs-76.1-1.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.plusline.net/fedora/linux/updates/37/Everything/x86_64/Packages/n/ndctl-libs-76.1-1.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.fau.de/fedora/linux/updates/37/Everything/x86_64/Packages/p/perl-Module-CoreList-5.20230320-1.fc37.noarch.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.halifax.rwth-aachen.de/fedora/linux/updates/37/Everything/x86_64/Packages/p/perl-Module-CoreList-5.20230320-1.fc37.noarch.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://mirror.23m.com/fedora/linux/updates/37/Everything/x86_64/Packages/p/perl-Module-CoreList-5.20230320-1.fc37.noarch.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.plusline.net/fedora/linux/updates/37/Everything/x86_64/Packages/p/perl-Module-CoreList-5.20230320-1.fc37.noarch.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.fau.de/fedora/linux/updates/37/Everything/x86_64/Packages/l/libxml2-2.10.3-2.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.halifax.rwth-aachen.de/fedora/linux/updates/37/Everything/x86_64/Packages/l/libxml2-2.10.3-2.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://mirror.23m.com/fedora/linux/updates/37/Everything/x86_64/Packages/l/libxml2-2.10.3-2.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.plusline.net/fedora/linux/updates/37/Everything/x86_64/Packages/l/libxml2-2.10.3-2.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.fau.de/fedora/linux/updates/37/Everything/x86_64/Packages/l/libcurl-minimal-7.85.0-8.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.halifax.rwth-aachen.de/fedora/linux/updates/37/Everything/x86_64/Packages/l/libcurl-minimal-7.85.0-8.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://mirror.23m.com/fedora/linux/updates/37/Everything/x86_64/Packages/l/libcurl-minimal-7.85.0-8.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.plusline.net/fedora/linux/updates/37/Everything/x86_64/Packages/l/libcurl-minimal-7.85.0-8.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.fau.de/fedora/linux/updates/37/Everything/x86_64/Packages/e/elfutils-libelf-devel-0.189-1.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.halifax.rwth-aachen.de/fedora/linux/updates/37/Everything/x86_64/Packages/e/elfutils-libelf-devel-0.189-1.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://mirror.23m.com/fedora/linux/updates/37/Everything/x86_64/Packages/e/elfutils-libelf-devel-0.189-1.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.plusline.net/fedora/linux/updates/37/Everything/x86_64/Packages/e/elfutils-libelf-devel-0.189-1.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.fau.de/fedora/linux/updates/37/Everything/x86_64/Packages/d/dbus-1.14.6-1.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.halifax.rwth-aachen.de/fedora/linux/updates/37/Everything/x86_64/Packages/d/dbus-1.14.6-1.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://mirror.23m.com/fedora/linux/updates/37/Everything/x86_64/Packages/d/dbus-1.14.6-1.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.plusline.net/fedora/linux/updates/37/Everything/x86_64/Packages/d/dbus-1.14.6-1.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.fau.de/fedora/linux/updates/37/Everything/x86_64/Packages/g/glib2-2.74.6-1.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.halifax.rwth-aachen.de/fedora/linux/updates/37/Everything/x86_64/Packages/g/glib2-2.74.6-1.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://mirror.23m.com/fedora/linux/updates/37/Everything/x86_64/Packages/g/glib2-2.74.6-1.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://ftp.plusline.net/fedora/linux/updates/37/Everything/x86_64/Packages/g/glib2-2.74.6-1.fc37.x86_64.rpm failed: class java.io.FileNotFoundException GET returned 404 Not Found

We might want to remove the outdated mirrors and rely on ours only?

leoluk commented 1 year ago

We will solve this by implementing a generic solution for caching (https://github.com/monogon-dev/monogon/issues/178), then leave only our GCS dependency.

josephglanville commented 8 months ago

A secondary problem is if you are not located in Germany (or even Europe in my case) the mirror configuration is incredibly slow which hurts getting started: 2024-03-29_21-03-1711723324