[BlueOnyx:27215] Re: 5209R upgrades

Michael Stauber mstauber at blueonyx.it
Thu Aug 22 19:49:47 -05 2024


Hi Ernie,

> Is there a mirror of the Centos 7 and relevant 5209R package repos I
> can point yum to in order to update to the last released versions?

Check with this command which repos you have enabled:

yum repolist enabled

Then run these commands:

sudo sed -i 's/^gpgcheck=1$/enabled=0\ngpgcheck=1/' 
/etc/yum.repos.d/CentOS-Base.repo

yum-config-manager --disable CentOS-Base.repo CentOS-Updates.repo 
CentOS-Extras.repo CentOS-CentOSPlus.repo CentOS-FastTrack.repo

yum-config-manager --enable C7.9.2009-base C7.9.2009-updates 
C7.9.2009-extras C7.9.2009-centosplus

The first one goes through /etc/yum.repos.d/CentOS-Base.repo and adds 
the missing "enabled" switch to the standard repos that don't have it.

The second command disables all standard CentOS repos.

The third command activates the vault.centos.org repos in 
/etc/yum.repos.d/CentOS-Vault.repo

When you then check with "yum repolist enabled" again, you should see a 
list of enabled repos similar to this:

repo id                               repo name 

BlueOnyx-5209R/7/x86_64               BlueOnyx-5209R - x86_64 

C7.9.2009-base/x86_64                 CentOS-7.9.2009 - Base 

C7.9.2009-centosplus/x86_64           CentOS-7.9.2009 - CentOSPlus 

C7.9.2009-extras/x86_64               CentOS-7.9.2009 - Extras 

C7.9.2009-updates/x86_64              CentOS-7.9.2009 - Updates 

Solarspeed-f2b/7/x86_64               Solarspeed.net-f2b-5209R - x86_64 

Solarspeed.net-AVSPAM-v72/7/x86_64    Solarspeed.net AVSPAM v7.2 on 
BlueOnyx - x86_64
repolist: 23,373

That should then allow you to yum update again. At least against the 
BlueOnyx repos as well as the repos from vault.centos.org

-- 
With best regards

Michael Stauber


More information about the Blueonyx mailing list