-
Notifications
You must be signed in to change notification settings - Fork 445
Add private mirror for McGill University #1194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Looks like we messed up something. Our mirror doesn't even appear in the list: [root@alma9 ~]# curl ifconfig.co
132.216.188.149
[root@alma9 ~]# curl https://mirrors.almalinux.org/mirrorlist/9/baseos
http://mirror.mtl2.ca.leaseweb.net/almalinux/9.5/BaseOS/$basearch/os/
http://almalinux.linux.n0c.ca/almalinux/9.5/BaseOS/$basearch/os/
http://almalinux.savoirfairelinux.net/9.5/BaseOS/$basearch/os/
http://mirror.0xem.ma/almalinux/9.5/BaseOS/$basearch/os/
http://mirror.xenyth.net/almalinux/9.5/BaseOS/$basearch/os/
http://mirror.hep.gg/almalinux/9.5/BaseOS/$basearch/os/
http://almalinux.mirror.rafal.ca/9.5/BaseOS/$basearch/os/
http://mirror.csclub.uwaterloo.ca/almalinux/9.5/BaseOS/$basearch/os/
http://mirror.its.dal.ca/almalinux/9.5/BaseOS/$basearch/os/
http://muug.ca/mirror/almalinux/9.5/BaseOS/$basearch/os/
[root@alma9 ~]# dnf -v repolist enabled
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, kpatch, needs-restar
ting, notify-packagekit, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
DNF version: 4.14.0
cachedir: /var/cache/dnf
Last metadata expiration check: 0:37:40 ago on Tue 22 Apr 2025 02:02:12 PM.
Repo-id : appstream
Repo-name : AlmaLinux 9 - AppStream
Repo-revision : 1745317730
Repo-updated : Tue 22 Apr 2025 06:28:49 AM
Repo-pkgs : 7,672
Repo-available-pkgs: 7,174
Repo-size : 18 G
Repo-mirrors : https://mirrors.almalinux.org/mirrorlist/9/appstream
Repo-baseurl : http://mirror.0xem.ma/almalinux/9.5/AppStream/x86_64/os/ (9 more)
Repo-expire : 86,400 second(s) (last: Tue 22 Apr 2025 02:02:12 PM)
Repo-filename : /etc/yum.repos.d/almalinux-appstream.repo
Repo-id : baseos
Repo-name : AlmaLinux 9 - BaseOS
Repo-revision : 1745317786
Repo-updated : Tue 22 Apr 2025 06:29:46 AM
Repo-pkgs : 2,120
Repo-available-pkgs: 2,120
Repo-size : 8.8 G
Repo-mirrors : https://mirrors.almalinux.org/mirrorlist/9/baseos
Repo-baseurl : http://mirror.0xem.ma/almalinux/9.5/BaseOS/x86_64/os/ (9 more)
Repo-expire : 86,400 second(s) (last: Tue 22 Apr 2025 02:02:12 PM)
Repo-filename : /etc/yum.repos.d/almalinux-baseos.repo
Repo-id : extras
Repo-name : AlmaLinux 9 - Extras
Repo-revision : 1745317821
Repo-updated : Tue 22 Apr 2025 06:30:21 AM
Repo-pkgs : 46
Repo-available-pkgs: 46
Repo-size : 446 k
Repo-mirrors : https://mirrors.almalinux.org/mirrorlist/9/extras
Repo-baseurl : http://mirror.0xem.ma/almalinux/9.5/extras/x86_64/os/ (9 more)
Repo-expire : 86,400 second(s) (last: Tue 22 Apr 2025 02:02:12 PM)
Repo-filename : /etc/yum.repos.d/almalinux-extras.repo
Total packages: 9,838 We are willing to fix it in another PR, but what exactly, @jonathanspw? Thank you in advance |
The last error from the checker was this:
Which seems accurate.
The system expects public DNS for the mirror to exist for private mirrors - even if the actual record is inaccurate or a local IP. I'd say this is honestly a bug that we need to fix...but in the short term throwing up some public-facing DNS record would fix your problem. You can even point it to just 10.0.0.0 or something. |
I've created #1200 to track this in the meantime. |
Thank you, it is working now: [root@alma9 ~]# curl https://mirrors.almalinux.org/mirrorlist/9/baseos && echo
http://mirror.it.mcgill.ca/almalinux/9.5/BaseOS/$basearch/os/
[root@alma9 ~]# dnf -v repolist enabled
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, kpatch, needs-restar
ting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
DNF version: 4.14.0
cachedir: /var/cache/dnf
Last metadata expiration check: 0:00:19 ago on Wed 23 Apr 2025 08:51:49 AM.
Repo-id : appstream
Repo-name : AlmaLinux 9 - AppStream
Repo-revision : 1745317730
Repo-updated : Tue 22 Apr 2025 06:28:49 AM
Repo-pkgs : 7,672
Repo-available-pkgs: 7,174
Repo-size : 18 G
Repo-mirrors : https://mirrors.almalinux.org/mirrorlist/9/appstream
Repo-baseurl : http://mirror.it.mcgill.ca/almalinux/9.5/AppStream/x86_64/os/ (0 more)
Repo-expire : 86,400 second(s) (last: Wed 23 Apr 2025 08:51:39 AM)
Repo-filename : /etc/yum.repos.d/almalinux-appstream.repo
Repo-id : baseos
Repo-name : AlmaLinux 9 - BaseOS
Repo-revision : 1745317786
Repo-updated : Tue 22 Apr 2025 06:29:46 AM
Repo-pkgs : 2,120
Repo-available-pkgs: 2,120
Repo-size : 8.8 G
Repo-mirrors : https://mirrors.almalinux.org/mirrorlist/9/baseos
Repo-baseurl : http://mirror.it.mcgill.ca/almalinux/9.5/BaseOS/x86_64/os/ (0 more)
Repo-expire : 86,400 second(s) (last: Wed 23 Apr 2025 08:51:45 AM)
Repo-filename : /etc/yum.repos.d/almalinux-baseos.repo
Repo-id : extras
Repo-name : AlmaLinux 9 - Extras
Repo-revision : 1745317821
Repo-updated : Tue 22 Apr 2025 06:30:21 AM
Repo-pkgs : 46
Repo-available-pkgs: 46
Repo-size : 446 k
Repo-mirrors : https://mirrors.almalinux.org/mirrorlist/9/extras
Repo-baseurl : http://mirror.it.mcgill.ca/almalinux/9.5/extras/x86_64/os/ (0 more)
Repo-expire : 86,400 second(s) (last: Wed 23 Apr 2025 08:51:49 AM)
Repo-filename : /etc/yum.repos.d/almalinux-extras.repo
Total packages: 9,838 And we see incoming traffic from other hosts in our subnet. |
No description provided.