Yum update doesn't work

To VirtualMin

I tried to yum update my server today. There is 13 new packages and 284 upgrades and 2 which has to be removed. When I accept the update itself it fails with the following errors

http://mirror.centos.org/centos/6/cr/x86_64/Packages/at-3.1.10-44.el6_6.... [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. http://mirror.centos.org/centos/6/cr/x86_64/Packages/java-1.6.0-openjdk-... [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. http://mirror.centos.org/centos/6/cr/x86_64/Packages/libcgroup-0.40.rc1-... [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

Shouldn't be 6.5 and not 6 in the url it tries to use when fetching the updates?

  • Tim


Howdy -- that looks like you're experiencing a problem with the CentOS mirror you're using.

You may just want to try it again later, it may be a temporary issue. However, if the issue doesn't clear up within a day or so, you may want to try using a different mirror.


Ok, I will try again tomorrow.

  • Tim


I still have the issues. The server will not update using YUM.? :( Is it the URL it tries to use, because it seems the URL doesn't work when trying to open it. I have found some articles related to the YUM not doing the 6.5 add to the URL fetch, could that be the case here?

PS. I am not able to attach files to this incident? It tells me the file is to large, but it is only 250kb and not 8mb as you mention is the maximum file size able to upload???

  • Tim

I did a little research on the exact URL that's being retrieved, and it appears that it's trying to access the "cr" repository.

Looking into the cr repository, it looks like there are no packages there anymore.

So I think what we'd need to do is disable the cr repository.

If you look in /etc/yum/repos.d, do you see where the "cr" repository is enabled?

CR is the continuous release repository. It was used widely when 6.0 came out because CentOS was behind Red Hat in releasing updates. It is supposed to give you newer packages and features without waiting for the latest point release eg 6.7, that is my understanding of it.

You should be able to remove it with yum remove centos-release-cr

After that do a yum clean all then a yum update

Hi all

After posting my latest update I tried to do the "update" through the Virtualmin Package Updates. I updated 10 Virtualmin packages and after that I could install the 280 missing updates. It must have run some kind of "yum cleanup" within the GUI which it didn't do through the command line, where you manually have to do it.

After the yum update it has now been updated to CentOS 6.6 and everything is fine again :)

  • Tim