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
Setting up a PPPoE server on Linux CentOS 7 July 8, 2023 Method-1 Build PPPoE, success, I think the TM super simple, in CentOS is about 5 steps can be done 1, install PPPoE, after the installation is complete, there will be pppoe-server command Yum Install Rp-pppoe 2, after the installation is completed, will be in the/ETC/PPP directory generated pppoe-server-options files, the… Read More
A well formatted configs on Procmail, Postfix & Spamassassin November 28, 2008December 7, 2008 In this article I’ve placed the all tiring process to configure procmail, postfix and spamassasin in a single place. Read my other article too for chmod and other things which are not included in this section. Enjoy! Related Read More
Configuring command line network inteface in Debian May 1, 2011February 13, 2012 Configure the Network Manually You can use ip or ifconfig command to configure IP address and other information. Task: Display the Current Network Configuration Type the following command: $ ip address show Output: 1: lo: mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128… 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