yum update fails

General support questions
Post Reply
pradnya4422
Posts: 2
Joined: 2020/12/08 08:12:41

yum update fails

Post by pradnya4422 » 2020/12/08 08:15:27

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"

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum update fails

Post by TrevorH » 2020/12/08 08:52:51

The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

pradnya4422
Posts: 2
Joined: 2020/12/08 08:12:41

Re: yum update fails

Post by pradnya4422 » 2020/12/08 08:58:42

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?

stevemowbray
Posts: 519
Joined: 2012/06/26 14:20:47

Re: yum update fails

Post by stevemowbray » 2020/12/08 09:43:38

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.

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum update fails

Post by TrevorH » 2020/12/08 11:14:19

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".
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply