Update CentOS 6 One Last Time?

Home » CentOS » Update CentOS 6 One Last Time?
CentOS 6 Comments

Hello, is it possible to install the final updates for CentOS 6?
I ran a yum update and I received this message “Error: Cannot find a valid baseurl for repo: base”
I assume it’s due to the EOL of CentOS 6?

Thank you,

Paul

6 thoughts on - Update CentOS 6 One Last Time?

  • —– You can add 6.10 section to /etc/yum.repos.d/CentOS-Vault.repo and after that install all last updates for CentOS 6

  • Thank you for the response. I added (copied, edited, pasted from the C6.9
    section) the following to the /etc/yum.repos.d/CentOS-Vault.repo file but I still get the same error message. I’m thinking the paths are incorrect in my file because when I try to go to directly to the URL (http://vault.CentOS.org/6.10/os/$basearch/) I get a
    “404 Not Found”

    [C6.10-base]
    name

  • When you tried the url directly did you make the necessary substitutions for “$basearch”? It needs an architecture and then some additional pathing to get to packages.

    After adding the C6.10 entries to the Vault repo did you turn off the entries (e.g., set “enabled=” to “0”) in the non-vault repos? If you don’t yum will still try them. The CentOS-Base.repo is on by default so you’ll either need to add the “enabled=” line to each of the entries or otherwise disable the repos.

  • We resolved the issue by modifying the CentOS-Base.repo by adding the appropriate URL’s to the various sections, for example: baseurl=http://vault.CentOS.org/6.10/os/$basearch/

    Thank you, Paul