LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-26-2011, 04:19 PM   #1
smurff289
LQ Newbie
 
Registered: Sep 2011
Posts: 4

Rep: Reputation: Disabled
Issue using Yum to update / install


When I run yum update I get...

Quote:
Could not retrieve mirrorlist http://s2plmirror01.prod.sdl2.secure...fedora-core-14 error was
14: PYCURL ERROR 6 - ""
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
This is what I have in /etc/yum.repos.d/

Quote:
fedora-core.repo.hide fedora-updates.repo.hide
fedora-updates-testing.repo fedora.repo
I was having issues with this error, which is why I put hide after the others.
Quote:
Repository base is listed more than once in the configuration
Lastly I have tried running yum clean all and I still have these issues.
 
Old 09-26-2011, 05:59 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
You should have 3 repo files by default:

fedora.repo
fedora-updates.repo
fedora-updates-testing.repo

It might be worth removing all the repo files and reinstalling the fedora-release package from the installation media.
 
Old 09-27-2011, 01:46 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
I was having issues with this error, which is why I put hide after the others.
that is not how you turn on or off a repo

open it in gedit and change the "enabled=1" to a "enabled=0 "

and you DO NOT want to turn off "fedora-updates" THAT IS A REQUIRED system file -- you NEED IT !!!

also just posting the constants of that folder is of almost no useable information
you really should use this command
Code:
su -
yum repolist all
 
Old 09-27-2011, 05:32 AM   #4
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 394

Rep: Reputation: 52
Where on Earth did you come up with that?
Quote:
fedora-core.repo.hide fedora-updates.repo.hide
 
Old 10-05-2011, 12:15 PM   #5
smurff289
LQ Newbie
 
Registered: Sep 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
[SEVERNAME yum.repos.d]# yum repolist all
Repository base is listed more than once in the configuration
Could not retrieve mirrorlist http://s2plmirror01.prod.sdl2.secure...fedora-core-14 error was
14: PYCURL ERROR 6 - ""
repo id repo name status
base Fedora Core 14 - i386 - Base enabled: 0
updates-released Fedora Core 14 - i386 - Base enabled: 0
updates-testing Fedora 14 - i386 - Test Updates disabled
updates-testing-debuginfo Fedora 14 - i386 - Test Updates Debug disabled
updates-testing-source Fedora 14 - Test Updates Source disabled
repolist: 0
 
Old 10-05-2011, 12:24 PM   #6
smurff289
LQ Newbie
 
Registered: Sep 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
I removed one of the Base repo's. Same Error.

Quote:
[root@ip-97-74-193-203 yum.repos.d]# yum repolist all
Repository base is listed more than once in the configuration
Could not retrieve mirrorlist http://s2plmirror01.prod.sdl2.secure...-released-fc14 error was
14: PYCURL ERROR 6 - ""
repo id repo name status
base Fedora Core 14 - i386 - Base disabled
updates-released Fedora Core 14 - i386 - Base enabled: 0
updates-testing Fedora 14 - i386 - Test Updates disabled
updates-testing-debuginfo Fedora 14 - i386 - Test Updates Debug disabled
updates-testing-source Fedora 14 - Test Updates Source disabled
repolist: 0
 
Old 10-05-2011, 02:46 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
do not turn of a BASE repo
it is REQUIRED !!!
" base Fedora Core 14 - i386 - Base disabled"
very big mistake .
Turn it ON

for a DEFAULT fedora install .One that you did not install the recomended extra repos
rpmfusion,rpmfusion-non-free,
these need to be on

base Fedora Core 14
updates-released Fedora Core 14

a python error can mean one of a few things
First yum REQUIRES 100% REQUIRES the EXACT VERSION that is in the fedora base and fedora update repo

if you change it you get a yum python error

did you install some random version of python from some random website ?
did you install some version of python from the fedora "rawhide" ( rawhide currently fedora 16 beta )
Did you install a version of python from a known incompatible repo ( like rpmforge )


and lastly
did you reboot during a everyday "update"

and did you manually edit the mirror lists in the repo files
I do not have the very soon to be DEAD fedora 14 ,in about 30 to 45 days 14 will hit it's END OF LIFE
-- it is time to upgrade to 15 or in a month 16 --
 
Old 10-05-2011, 03:47 PM   #8
smurff289
LQ Newbie
 
Registered: Sep 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
I turned on the other base repo. The error sounded like only 1 base repo was allowed to run.

Where can I find these? rpmfusion,rpmfusion-non-free

This is a virtual dedicated server from Godaddy.

I haven't downloaded anything relating to python. and No, I haven't manually edited the mirrors.
 
Old 10-05-2011, 04:51 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
This is a virtual dedicated server from Godaddy.
you will have to ask them .As far as i am concerned GoDady has a VERY VERY VERY BAD reputation for support ( like none and on unsupported versions of fedora )

I would NEVER recommend them to anyone ( not even an enemy )

If you do have Root access then install the current fedora 15
but on a server i would NEVER use fedora, it was NEVER meant for that use.

I would use RHEL6 ( or the free CentOS 6 )

but for 14 and IF you do ( a very big if ) have root access
then have a look at
http://www.mjmwired.net/resources/mjm-fedora-f14.html

but until you fix yum
you are NOT DOING anything .

The fastest would be to reformat and reinstall , but i do not think you can do that with GoDady

ask them .

Last edited by John VV; 10-05-2011 at 04:52 PM.
 
  


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
yum update issue johns1 Linux - Software 2 07-22-2009 01:21 AM
yum update issue crazy8 Fedora 11 11-23-2006 08:44 PM
yum update issue metallica1973 Linux - Software 2 11-14-2006 02:35 PM
Yum update issue feffer777 Linux - Software 1 01-24-2006 06:18 PM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:26 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