CSN - Fixing the CentOS 6 yum repository

CentOS 6 expired on November 30, 2020, so the repository references on your CSN must be updated to point to the vault. The file is located here:

  • /etc/yum.repos.d/CentOS-Base.repo

  • /etc/yum.repos.d/epel.repo

Use one of these methods:

  • Download the latest Support tools (swarm-support-tools.tgz), which includes the corrected CentOS-Base-6.repo file, and put it in your CSN’s /etc/yum.repos.d folder.

  • Download the epel.repo

    • curl https://www.getpagespeed.com/files/centos6-epel-eol.repo --output /etc/yum.repos.d/epel.repo

OR

  • Edit your CentOS-Base.repo and replace its content with the following:

[base] name=CentOS-$releasever - Base baseurl=https://vault.centos.org/6.10/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 sslverify=0 #released updates [updates] name=CentOS-$releasever - Updates baseurl=https://vault.centos.org/6.10/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 sslverify=0 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras baseurl=https://vault.centos.org/6.10/extras/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 sslverify=0
  • Edit your epel.repo and place the content with the following:

[epel] name=Extra Packages for Enterprise Linux 6 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch baseurl=https://archives.fedoraproject.org/pub/archive/epel/6/x86_64 #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 [epel-debuginfo] name=Extra Packages for Enterprise Linux 6 - $basearch - Debug #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch failovermethod=priority enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 gpgcheck=1 [epel-source] name=Extra Packages for Enterprise Linux 6 - $basearch - Source #baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS baseurl=https://archives.fedoraproject.org/pub/archive/epel/6/SRPMS #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch failovermethod=priority enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 gpgcheck=1

© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.