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.
That exists // do you have some kind of proxy server on your network?
Do you have a static definition of vault.CentOS.org somewhere?
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/
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
Yes,
and archived version of CentOS 6 lives here:
https://vault.CentOS.org/6.10/
so for an updates dir, use this path in your base url:
https://vault.CentOS.org/6.10/updates/x86_64/
(or i386 if you used that)
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.
https://vault.CentOS.org/6.10/os/x86_64/
That exists // do you have some kind of proxy server on your network?
Do you have a static definition of vault.CentOS.org somewhere?
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