A quick solution is to append $releasever with -stream for every repo, that fails to get mirrorlist, e.g.:

mirrorlist.centos.org/?release=$releasever-stream ...

Like so,

[BaseOS]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever-stream&arch=$basearch&repo=BaseOS&infra=$infra
#baseurl=http://mirror.centos.org/$contentdir/$stream/BaseOS/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Answer from BBQ on Stack Exchange
🌐
Centos
vault.centos.org
CentOS Vault
This is _NOT_ an updated tree for installing CentOS Linux : It is a snapshot of the older trees that have been removed from the main CentOS servers as new point releases are released. This is provided for reference and to provide access to older archived versions, and we do not put security ...
🌐
Serverspace
serverspace.io › support › help › configure-repositories-on-centos-8
How to Configure and Manage Repositories on CentOS 8
May 30, 2025 - Remi is another popular additional repository for CentOS 8. To use it, Epel must be installed on the system. Please note that packages from this repository have the same names as in the official ones, so this may lead to unwanted updates.
🌐
Veeble
veeble.com › home › linux › centos repo list: working urls
CentOS Repo List: Working URLs - Veeble Hosting
April 8, 2025 - This knowledge base serves as an ... CentOS 8. It uses repository lists from the CentOS vault mirror, ensuring that these repositories remain accessible even after the OS has reached its end of life. Ideal for system administrators, developers, and CentOS enthusiasts, this guide guarantees effortless access to repository URLs for BaseOS, AppStream, Extras, CentOSPlus, and more, ensuring your CentOS machines are properly configured. Before modifying the repository files, ensure you ...
🌐
ServerSpace
serverspace.us › support › help › configure-repositories-on-centos-8
How to Configure Repositories on CentOS 8 - Serverspace
June 7, 2023 - rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-8.rpm · Let's consider installing an individual repository using Mysql as an example. This method allows you to get the latest updates much earlier than they appear in other package repositories, such as BaseOS or EPEL.
🌐
Veeble
veeble.com › home › linux › centos stream repo list: working urls
CentOS Stream Repo List: Working URLs - Veeble Hosting
April 8, 2025 - To modify the repository sources, open the respective repository configuration file (/etc/yum.repos.d/CentOS-Base.repo) using your preferred text editor: ... Depending on the version of CentOS Stream you are running, replace the contents of the file with the configurations listed below. As CentOS Stream 8 evolves, the familiar mirrorlist.centos.org is no longer in service.
Find elsewhere
🌐
GitHub
github.com › umeshgaire › CentOS-8-Original-System-Repo
GitHub - umeshgaire/CentOS-8-Original-System-Repo
Contribute to umeshgaire/CentOS-8-Original-System-Repo development by creating an account on GitHub.
Author   umeshgaire
🌐
Red Hat
access.redhat.com › discussions › 4759701
Red Hat Customer Portal - Access to 24x7 support and knowledge
January 24, 2020 - Hi , I was trying to install CRC in my Centos 8 , and by mistake i have deleted /etc/yum.repolist.d/ repositories. I have tried many options and not able to find anything.
🌐
CentOS
wiki.centos.org › AdditionalResources(2f)Repositories.html
AdditionalResources/Repositories
Harbottle - (See https://gitlab.com/harbottle/harbottle-main) A yum repo of RPM files containing various packages not available in the standard repos. The packages are suitable for CentOS 7 and CentOS 8 (and RHEL, Oracle Linux, etc.).
🌐
Linuxcnf
linuxcnf.com › 2022 › 11 › how-to-configure-local-yum-repository.html
The Linux Guide: How to Configure Local YUM repository on CentOS 8 using Installation ISO Image
This article describes How to Configure Local YUM repository on CentOS 8 using Installation ISO Image. Step 1. Mount ISO Image on a Local Directory: Run the following commands to create a directory and to mount the CentOS8 ISO Image: Step 2. Copy Repository Config File: First move all existing repository configuration to the other location and now copy the media.repo file from the ISO image files to /etc/yum.repos.d/ directory with the following permission:
🌐
Centos
mirror.centos.org › centos › 8-stream
CentOS Mirror
June 3, 2024 - This directory tree doesn't contain any supported/maintained release ! For CentOS Stream 9 and beyond (including src.rpm and debuginfo packages), see CentOS Stream mirror. For archived content from EOL releases, see Vault mirror and Debuginfo mirror
🌐
Bluvalt
kb.bluvalt.com › howto › centos8tocentosstream
Changing Centos 8 repo to Centos Stream8 - STC Solutions KB
sudo rpm -ivh https://vault.centos.org/centos/8/extras/x86_64/os/Packages/centos-release-stream-8.1-1.1911.0.7.el8.x86_64.rpm · sudo sed -i 's|enabled=1|enabled=0|g' /etc/yum.repos.d/CentOS-Linux-*