Seems like a catch 22 here. Updating the server to a newer version is out of the question. I simply need to update Apache to a specific (older version).
The server is CentOS 6.3. The base repo is obsolete, and I have to update it to use the vault repo. But, it requires HTTPS, and any time I try to run yum
after updating the repo I get:
https://vault.centos.org/centos/6/os/i386/repodata/repomd.xml: [Errno 14] problem making ssl connection
Apparently, I need to update yum, openssl, etc... But, how do I do that when I can't download the packages to begin with through yum
? Is there a way to avoid manually building these packages?
Here is CentOS-Base.repo: (Note: Changing these to http doesn't seem to work)
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
baseurl=https://vault.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#released updates
[updates]
name=CentOS-$releasever - Updates
baseurl=https://vault.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=https://vault.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=https://vault.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
baseurl=https://vault.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
rpm
to update each package. Repeat for each dependency found. FYI, vault only goes back to 6.7.nss
. After updating that I was able to go back to the original repo. baseurl=linuxsoft.cern.ch/centos-vault/6.10/updates/$basearch ` baseurl=linuxsoft.cern.ch/centos-vault/6.10/extras/$basearch ` baseurl=linuxsoft.cern.ch/centos-vault/6.10/updates/$basearch