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
install and Configure SAMBA in Debian Squeeze March 4, 2020March 6, 2020 Samba is a free software re-implementation of SMB/CIFS networking protocol, originally developed by Australian Andrew Tridgell. As of version 3, Samba provides file and print services for various Microsoft Windows clients and can integrate with a Windows Server domain, either as a Primary Domain Controller (PDC) or as a domain… Read More
How to install Java SDK (1.6) and Apache Ant (1.7) on CentOS November 18, 2011November 18, 2011 I had enough with some package managers or alternative ways of installing Java on a server which is running CentOS (RHEL) 4.4 . I think the most straight forward way is the following. I promise by the end of this post you will have Java and Apache Ant running on… Read More
Allow ICMP Rule on Windows 7, Windows Vista, Windows Server 2008, or Windows Server 2008 R2 August 25, 2010 To allow inbound Internet Control Message Protocol (ICMP) network traffic, use the Windows Firewall with Advanced Security node in the Group Policy Management MMC snap-in to create firewall rules. This type of rule allows ICMP requests and responses to be sent and received by computers on the network. Related 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