LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 05: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, 06:40 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 08: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, 10:03 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
remove the new repository file - /etc/yum.repos.d/gplhost.repo
 
Old 03-07-2013, 11:28 AM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,149

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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, 11:28 AM   #6
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,149

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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, 01: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



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 05:46 AM
Linux (centos) server yum repository issue fear_matrix Linux - Server 19 11-11-2011 03:43 AM
[SOLVED] How can i get php repository in centos 5.5 jsaravana87 Linux - Server 1 08-16-2011 03:40 AM
repository for Centos? skoinga Red Hat 3 12-23-2010 10:36 PM
synchronizing a centos repository nayabingi Linux - Software 2 03-20-2008 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:20 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
Open Source Consulting | Domain Registration