LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CentOS - repository issue (https://www.linuxquestions.org/questions/linux-newbie-8/centos-repository-issue-4175453092/)

skudsk 03-07-2013 05:54 AM

CentOS - repository issue
 
I am running CentOS 6.2 and currently get the following error when trying to install anything (yum install xxx):

Could not retrieve mirrorlist http://ftparchive.gplhost.com/yum/ce...386/mirrorlist error was
14: PYCURL ERROR 22 - "The requested URL returned error: 404"
Error: Cannot find a valid baseurl for repo: gplhost-archspecific


The issue seems to have started yesterday after I executed the following commands to get some software installed:

580 wget -q ftp://ftparchive.gplhost.com/yum/gplhost.repo -O /etc/yum.repos.d/gplhost.repo
581 sudo wget -q ftp://ftparchive.gplhost.com/yum/gplhost.repo -O /etc/yum.repos.d/gplhost.repo
582 wget http://dag.wieers.com/rpm/packages/r...l5.rf.i386.rpm
583 rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
584 sudo rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm


Please help me to resolve this.

Thanks

acid_kewpie 03-07-2013 06:40 AM

it's a 404... that's their problem. did you try just loading the URL?

Oh actaully, looking at what you've done... you appear to have forced some el5 packages into an el6 system? Don't do that. That gplhost site only server el5 rpms.

skudsk 03-07-2013 08:53 AM

Thanks for your reply - how do I fix this? How do revert back to EL6 repository?

acid_kewpie 03-07-2013 10:03 AM

remove the new repository file - /etc/yum.repos.d/gplhost.repo

DavidMcCann 03-07-2013 11:28 AM

You probably know this, but just in case: have you set priorities for the different repositories? If you haven't you can get into a real muddle!
http://wiki.centos.org/PackageManagement/Yum/Priorities

DavidMcCann 03-07-2013 11:28 AM

You probably know this, but just in case: have you set priorities for the different repositories? If you haven't you can get into a real muddle!
http://wiki.centos.org/PackageManagement/Yum/Priorities

skudsk 03-08-2013 01:12 AM

Thanks for the help, the issue has been resolved now, after removing gplhost.repo. I will set the priorities for the repositories as well - Thanks


All times are GMT -5. The time now is 08:20 AM.