Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


How to update Centos 5?
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.

How to update Centos 5?

asterisk14asterisk14 Member
edited May 2017 in General

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

  • DamianDamian Member
    edited May 2017

    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.

  • moonmartinmoonmartin Member
    edited May 2017

    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

  • m3gfm3gf Member

    install centos 6+

  • YuraYura Member
    1. Use hostnamectl in your command line to check if you actually run CentOS5
    2. Create a backup of all files you may need with a tool like rsync
    3. Don't be lazy and check if your backups restore without errors
    4. Sign in your VM's control panel
    5. Find and install debian from the drop-drown menu.

    I also submitted this tutorial to Digital Ocean and waiting for my $7. @jarland

    Thanked by 1jgillich
  • gongyigongyi Member

    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 ...............

  • moonmartinmoonmartin Member
    edited May 2017

    @gongyi said:
    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.

  • jenkkijenkki Member
    edited May 2017

    The best way move to Debian 8 :)

  • AmitzAmitz Member
    edited May 2017

    jenkki said: The best way move to Debian 8 :)

    This is the first time I experience you being right somehow.

  • jenkkijenkki Member
    edited May 2017

    Amitz said: This is the first time I experience you being right somehow.

    Its time to remove red badge..or reduce to just started :)

Sign In or Register to comment.