CentOS 6 Invalid release/repo/arch combination

When i run yum update on a CentOS 6 server, i get error “Invalid release/repo/arch combination/”.

CentOS 6 invalid release

This error is due to CentOS reaching its End Of Life and no longer supported.

What you need to do is upgrade your server to latest supported CentOS versions like CentOS 7 or CentOS 8.

If you just need to fix the error, you need to go throgugh each .repo file in folder

Comment out lines like

Then uncomment lines like

But this not a solution as you are not going to get any further security update on CentOS 6 as it is a dead OS now. What you need to do is get a new web server with latest OS and migrate your web sites to it.

Leave a Reply

Your email address will not be published. Required fields are marked *