Page 1 of 1

yum update fails

Posted: 2020/12/08 08:15:27
by pradnya4422
While executing yum update getting below error
http://mirror.centos.org/centos/6.10/os ... repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

Re: yum update fails

Posted: 2020/12/08 08:52:51
by TrevorH

Re: yum update fails

Posted: 2020/12/08 08:58:42
by pradnya4422
That is what I am going to try that I need to upgrade centos6 to centos7. I have found some scripts for up-gradation from github https://github.com/godaddy/centos7-upgrade-scripts/
I am going to develop it in my production environment. But it is failing at first while yum update. Is there any another solution for this?

Re: yum update fails

Posted: 2020/12/08 09:43:38
by stevemowbray
You cannot update because there are no more updates.

There is no upgrade path from one major CentOS version to another. You need to install CentOS 7 (or 8) and migrate your data and settings.

Re: yum update fails

Posted: 2020/12/08 11:14:19
by TrevorH
Do not attempt an upgrade from 6 to 7. There may be websites out there telling you how to do so but their instructions are incomplete and usually result in broken systems that require a reinstall to fix. Better to plan a reinstall and do it right than to have to do one in a tearing hurry because $X is "down".