[CentOS] Running Centos 8 Stream: Do I need to remove any of the repos?

Mon Nov 29 16:20:47 UTC 2021
Jay Hart <jhart at kevla.org>



> On Sun, 28 Nov 2021, Jay Hart wrote:
>
>> Here is a list of the repos I have. As I am now running Centos 8 Stream, should I remove any of the repos below to avoid package
>> versioning issues?
>>
>> # ls -al /etc/yum.repos.d/
>> total 108
>> drwxr-xr-x.   2 root root  4096 Nov 15 16:18 .
>> drwxr-xr-x. 152 root root 12288 Nov 28 10:17 ..
>> -rw-r--r--.   1 root root   790 Jun  7  2020 CentOS-AppStream.repo.rpmsave
>> -rw-r--r--.   1 root root   771 Jun  7  2020 CentOS-Base.repo.rpmsave
>> -rw-r--r--.   1 root root   792 Jun  7  2020 CentOS-PowerTools.repo.rpmsave
>> -rw-r--r--.   1 root root   713 Sep 14 21:11 CentOS-Stream-AppStream.repo
>> -rw-r--r--.   1 root root   698 Sep 14 21:11 CentOS-Stream-BaseOS.repo
>> -rw-r--r--.   1 root root   316 Sep 14 21:11 CentOS-Stream-Debuginfo.repo
>> -rw-r--r--.   1 root root   698 Sep 14 21:11 CentOS-Stream-Extras.repo
>> -rw-r--r--.   1 root root   734 Sep 14 21:11 CentOS-Stream-HighAvailability.repo
>> -rw-r--r--.   1 root root   696 Sep 14 21:11 CentOS-Stream-Media.repo
>> -rw-r--r--.   1 root root   718 Sep 14 21:11 CentOS-Stream-PowerTools.repo
>> -rw-r--r--.   1 root root   690 Sep 14 21:11 CentOS-Stream-RealTime.repo
>> -rw-r--r--.   1 root root   748 Sep 14 21:11 CentOS-Stream-ResilientStorage.repo
>> -rw-r--r--.   1 root root  1568 Sep 14 21:11 CentOS-Stream-Sources.repo
>> -rw-r--r--.   1 root root  1485 Sep  4 13:28 epel-modular.repo
>> -rw-r--r--.   1 root root  1564 Sep  4 13:28 epel-playground.repo
>> -rw-r--r--.   1 root root  1422 Sep  4 13:28 epel.repo
>> -rw-r--r--.   1 root root  1584 Sep  4 13:28 epel-testing-modular.repo
>> -rw-r--r--.   1 root root  1521 Sep  4 13:28 epel-testing.repo
>> -rw-r--r--.   1 root root   358 Nov 15 16:18 redhat.repo
>> -rw-r--r--.   1 root root   935 Jul  5 10:00 remi-modular.repo
>> -rw-r--r--.   1 root root  1448 Jul  5 10:00 remi.repo
>> -rw-r--r--.   1 root root   810 Jul  5 10:00 remi-safe.repo
>
> The file listing doesn't show which repositories are enabled or
> disabled. On my Stream 8 machine, which does light duty as a mail and
> web server, dnf reports only six active repos:
>
> [root at omega ~]# dnf repolist
> repo id       repo name
> appstream     CentOS Stream 8 - AppStream
> baseos        CentOS Stream 8 - BaseOS
> epel          Extra Packages for Enterprise Linux 8 - x86_64
> epel-modular  Extra Packages for Enterprise Linux Modular 8 - x86_64
> epel-next     Extra Packages for Enterprise Linux 8 - Next - x86_64
> extras        CentOS Stream 8 - Extras
>
> I don't know anything about the remi* repositories, so I can't speak
> to them. I suspect the redhat.repo file is nothing but comments, but
> you'd need to verify its contents.
>
> Otherwise, your *.repo list looks pretty functional.
>
> --
> Paul Heinlein
> heinlein at madboa.com
> 45.38° N, 122.59° W
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>

Using the same command shows:
# dnf repolist

repo id                                                   repo name
appstream                                                 CentOS Stream 8 - AppStream
baseos                                                    CentOS Stream 8 - BaseOS
epel                                                      Extra Packages for Enterprise Linux 8 - x86_64
epel-modular                                              Extra Packages for Enterprise Linux Modular 8 - x86_64
extras                                                    CentOS Stream 8 - Extras
remi-modular                                              Remi's Modular repository for Enterprise Linux 8 - x86_64
remi-safe                                                 Safe Remi's RPM repository for Enterprise Linux 8 - x86_64