LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-07-2013, 06:54 AM   #1
skudsk
LQ Newbie
 
Registered: Mar 2013
Posts: 3

Rep: Reputation: Disabled
Unhappy 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
 
Old 03-07-2013, 07:40 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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.
 
1 members found this post helpful.
Old 03-07-2013, 09:53 AM   #3
skudsk
LQ Newbie
 
Registered: Mar 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for your reply - how do I fix this? How do revert back to EL6 repository?
 
Old 03-07-2013, 11:03 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
remove the new repository file - /etc/yum.repos.d/gplhost.repo
 
Old 03-07-2013, 12:28 PM   #5
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,229

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
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
 
Old 03-07-2013, 12:28 PM   #6
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,229

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
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
 
Old 03-08-2013, 02:12 AM   #7
skudsk
LQ Newbie
 
Registered: Mar 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Local repository on centos 5.4 callmanager Linux - Server 11 09-11-2012 06:46 AM
Linux (centos) server yum repository issue fear_matrix Linux - Server 19 11-11-2011 04:43 AM
[SOLVED] How can i get php repository in centos 5.5 arun5002 Linux - Server 1 08-16-2011 04:40 AM
repository for Centos? skoinga Red Hat 3 12-23-2010 11:36 PM
synchronizing a centos repository nayabingi Linux - Software 2 03-20-2008 01:44 PM


All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration