Yum failing on Centos 8

With the EOL of Centos8 seems like no matter what I try, I can’t get yum switched over to Centos 8 stream in order so install a handful of bits and pieces I need… the most important being some extensions for RGS.

Anyone who could shed some light… I’m sure 2023 is right around the corner and will “address this issue” but any guidance now would be appreciated.

My sysadmin just helped me with this, and I almost got it to work. I was trying to install Konsole so I could get MLTW installed with an ampere card. Here’s what you need to do:

  1. do a “repolist” to find out which repos your box is referencing:
    [root@ansible ~]# yum repolist
    repo id repo name
    AppStream CentOS-8 - AppStream
    BaseOS CentOS-8 - Base
    epel Extra Packages for Enterprise Linux 8 - x86_64
    epel-modular Extra Packages for Enterprise Linux Modular 8 - x86_64
    extras CentOS-8 - Extras

  2. cd into the yum repo directory:
    [root@ansible ~]# cd /etc/yum.repos.d/

  3. Then for those repos listed, you should edit those files and find the section (red); comment the existing baseurl and mirrorlist, and copy the baseurl (blue) below. The first part is just the filename (e.g.

CentOS-AppStream.repo: [AppStream]
CentOS-AppStream.repo: baseurl=http://vault.centos.org/$releasever/AppStream/$basearch/os/

CentOS-Base.repo: [BaseOS]
CentOS-Base.repo: baseurl=http://vault.centos.org/$releasever/BaseOS/$basearch/os/

CentOS-Extras.repo: [extras]
CentOS-Extras.repo: baseurl=http://vault.centos.org/$releasever/extras/$basearch/os/

epel.repo: [epel]
epel.repo: baseurl=https://mirror.genesisadaptive.com/epel/8/Everything/x86_64/

epel-modular.repo: [epel-modular]
epel-modular.repo: baseurl=https://mirror.arizona.edu/fedora-epel/8/Modular/x86_64/

  1. When you do the yum list or yum install, you will have to modify it to use the specific repo version:
    [root@ansible ~]# yum list --releasever=8.2.2004
    [root@ansible ~]# yum install --releasever=8.2.2004

I was able to connect to the vaults but there were still some dependencies that it couldn’t find. At least for Konsole.

Dopeness. This was the missing piece. I had already updated the repos but swapping out from linux to stream was failing. This was a clever fix to avoid all of that malarkey–thanks so much!

oh, and if you have issues with Konsole on that install for ML… just edit it away. I’m realizing with this new install I’ll be having to do the same shortly.

1 Like