yum update giving errors

General support questions
Post Reply
fazulur.r
Posts: 3
Joined: 2017/07/06 10:46:42

yum update giving errors

Post by fazulur.r » 2017/07/06 10:52:10

Dear CentOS team,

I am getting errors while running yum update.

Here is the error:

"Error: Cannot retrieve repository metadata (repomd.xml) for repository: home_fengshuo_zeromq. Please verify its path and try again"

Could you please help me to resolve this.

Thanks & Regards
Fazulur Rehaman

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

Re: yum update giving errors

Post by TrevorH » 2017/07/06 11:38:50

home_fengshuo_zeromq is not a CentOS supplied repo. You need to contact whoever maintains that to find out its current status. In the meantime you can disable that repo by editing the file in /etc/yum.repos.d/ that defines it and setting 'enabled=0' or using yum --disablerepo=home_fengshuo_zeromq ...
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

fazulur.r
Posts: 3
Joined: 2017/07/06 10:46:42

Re: yum update giving errors

Post by fazulur.r » 2017/07/06 12:26:57

Dear Dr.TrevorH,

Thanks a lot for your quick response.

As I am new to this, I don't have any idea about this error.
We are using CentOS release 6.3 (Final). Somehow yum got disturbed today while installing R package.

I tried disabling "home_fengshuo_zeromq" repo using

command : yum update --disablerepo=home_fengshuo_zeromq

Now it's giving below error

"Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://apt.sw.be/redhat/el5/en/mirrors-rpmforge error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'apt.sw.be'"
* base: mirrors.advancedhosters.com
* epel: mirror.cogentco.com
* extras: repos-va.psychz.net
* updates: mirrors.umflint.edu
http://apt.sw.be/redhat/el5/en/x86_64/r ... repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'apt.sw.be'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. Please verify its path and try again"

Could you please help me to resolve this.

Thanks & Regards
Fazulur Rehaman

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

Re: yum update giving errors

Post by TrevorH » 2017/07/06 12:44:45

We are using CentOS release 6.3 (Final). Somehow yum got disturbed today while installing R package.
No, really, just no. Do not run 6.3. That came out almost exactly 5 years ago and is now riddled with high severity security vulnerabilities that are patched in later versions. You need to get current which is 6.9 plus another 6 months or so of patches. To do that you need to run yum update
Could not retrieve mirrorlist http://apt.sw.be/redhat/el5/en/mirrors-rpmforge error was
Do not use rpmforge. It has been abandoned for over 4 years and contains many packages with unfixed security problems that will never be fixed. Find alternative sources for any packages you have installed from rpmforge.

In addition, that says you're using the CentOS 5 version of rpmforge and you claim to be running 6.3 so not only do you have an abandoned and dangerous repo installed, you have the wrong version of it. Do not install CentOS 5 packages on CentOS 6.

Disable that repo too. Better yet, identify the packages you use from it (probably rpm -qa | grep ".rf" will list those or use the keychecker utility from EPEL to list packages by GPG signing key and identify them that way. Find a better repo for those packages then remove rpmforge altogether.
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

fazulur.r
Posts: 3
Joined: 2017/07/06 10:46:42

Re: yum update giving errors

Post by fazulur.r » 2017/07/07 12:16:37

Dear Dr.TrevorH,

Thanks for your suggestions. I will try to fix that and let you know the update.

Thanks & Regards
Fazulur Rehaman

Post Reply