New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How to update Centos 5?
asterisk14
Member
I get the following when trying to update Centos 5.8 on a VPS from a provider on LET
[root@VM ~]# yum -y update Loaded plugins: fastestmirror Determining fastest mirrors YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/ removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt Error: Cannot find a valid baseurl for repo: base [root@VM ~]# ver -bash: ver: command not found [root@VM ~]# cat /etc/*release CentOS release 5.8 (Final) [root@VM ~]#
Can I fix this myself or does the provider need to do this?
Comments
You're getting the error because all of the mirrors have removed Centos 5 from their repos. You need to stop using Centos 5 because it's end of life.
5.8 itself is also severely out of date; that was released nearly five years ago and is before several high-profile exploits were discovered.
You can incrementally update through the individual levels to 5.11 from Centos Vault, but that would be a 100% waste of time considering Centos 5 is end of life and won't receive security updates. You'd be best spending the time building on a modern release instead of trying to cobble an ancient version along.
The original links are gone. You can change all your links to this.
http://vault.centos.org/5.11/
Or change that to http://vault.centos.org/5.8/
If you need to stay on 5.8
install centos 6+
I also submitted this tutorial to Digital Ocean and waiting for my $7. @jarland
I known you really like centos 5 and would hate to give it up. but.......give up,guy.....
backup all your data and install the new centos 7 ...............
There are still things that run on CE5 and not 6 or 7. So sometimes you don't have a choice. Of course everyone knows that it's better to be running a newer maintained OS. I don't think that needs to be repeated over and over.
The best way move to Debian 8
This is the first time I experience you being right somehow.
Its time to remove red badge..or reduce to just started