CentOS 5 Repository fix using vault.centos.org Rumi, January 15, 2018March 24, 2019 It’s a bit silly process, googled hours but found not solid way to update my old 32bit centos 5 linux box. So came up with a solution of my own. It might work for you, but no guarantee! Step-1 Remove all .repo inside /etc/yum.conf.d/ directory Step-2 Create a new repo file inside /etc/yum.conf.d/ nano /etc/yum.conf.d/CentOS-Vault.repo Update with the following section: [base] name=CentOS-$releasever - Base #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ baseurl=http://vault.centos.org/5.11/os/i386/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 #released updates [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ baseurl=http://vault.centos.org/5.11/extras/i386/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 Step-3 Now execute- yum update Step-4 Add Epel-Repository Download epel rpm- wget http://vault.centos.org/5.11/extras/i386/RPMS/epel-release-5-4.noarch.rpm rpm -Uvh epel-release-5-4.noarch.rpm yum update And you’re done. Related Administrations Configurations (Linux) CentOSCentOS 5CentOS RepoCentOS5
Remove Node from Proxmox Cluster September 9, 2020 Step 1 : Migrate all VMs to another active node Migrate all VMs to another active node. You can use the live migration feature if you have a shared storage or offline migration if you only have local storage. Step 2 : Display all active nodes Display all active nodes in… Read More
How to set up a home DNS server March 28, 2011 Domain Name System The Domain Name System (DNS) is the crucial glue that keeps computer networks in harmony by converting human-friendly hostnames to the numerical IP addresses computers require to communicate with each other. DNS is one of the largest and most important distributed databases the world depends on… Read More
How to Install and Configure GitLab on Ubuntu 16.04 October 23, 2019 GitLab is an open source GIT repository manager based on Rails and developed by GitLab Inc. It is a web-based GIT repository manager that allows your team to work on code, track bugs and feature requests and to test and deploy applications. GitLab provides features like a wiki, issue tracking, code… Read More
hello, i run CentOS 5.11 and get this message: my .repo look like yours and added 5.11 baseurl=http://vault.centos.org/5.11/os/$basearch/ I get error temorary failure in name resolution trying other mirror i can connect to http://vault.centos.org/5.11/os/x86_64/repodata/repomd.xml and see the .xml file what is wrong? Reply
Hi Hasan: Just came across your method to upgrade a legacy CentOS 5.0 system to …to something else… This is just what I was looking for, to upgrade my CentoOS 5 system to more recent components, sendmail, postfix, dns, ipop3, clamav…and a few others, but not necessarily ALL the OS (as it is working perfectly fine and runs a legacy software that requires CentOS 5 precisely). So, question is… you upgraded with this procedure …up to what version of CentOS ? How did it worked finally? Guess you made a couple of reboots due to kernel upgrades… I have to do it really carefully as to nor interrupt the operation of the server, except fo the components I mentioned above which is the ones I am interested in updating. Thanks and cheers from Mexico City. Felipe Reply
this one is for 32 bit centos 5.xx version. The updated /etc/yum.conf.d/CentOS-Vault.repo is now available Reply
Its worked for me.. THANK YOU…. MY OS is CentOS 5.5. but there is a correction in the file path…. Remove all .repo or change all .repo in-to .rep.old inside the path /etc/yum.repos.d – And create a new file called CentOS-Vault.repo inside the same path (as [root@localhost /]# vi /etc/yum.repos.d/CentOS-Vault.repo) Thats it…. After than Update ….. Reply