LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Issue using Yum to update / install (https://www.linuxquestions.org/questions/fedora-35/issue-using-yum-to-update-install-905124/)

smurff289 09-26-2011 04:19 PM

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.

kbp 09-26-2011 05:59 PM

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.

John VV 09-27-2011 01:46 AM

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


Glennzo 09-27-2011 05:32 AM

Where on Earth did you come up with that?
Quote:

fedora-core.repo.hide fedora-updates.repo.hide

smurff289 10-05-2011 12:15 PM

[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

smurff289 10-05-2011 12:24 PM

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


John VV 10-05-2011 02:46 PM

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 --

smurff289 10-05-2011 03:47 PM

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.

John VV 10-05-2011 04:51 PM

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 .


All times are GMT -5. The time now is 03:26 AM.