LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 01-12-2006, 05:03 PM   #1
Zut50
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
Question Yum cant seem to connect to any repo


yum seems to have stopped working, and I cant seem to find any hints at a solution on the web. Im running FC4 with the 2.6.14 kernel if that makes a difference.

Whatever repo I try it either says it cant read the repomd.xml or that it has a bad baseurl. I've tried disabling one repo at a time, but I get one of two messages...

Code:
[root@fifi ~]# yum install libxml2
Setting up Install Process
Setting up repositories
<< very long pause >>
Cannot open/read repomd.xml file for repository: at-stable
failure: repodata/repomd.xml from at-stable: [Errno 256] No more mirrors to try.
..or...

Code:
[root@fifi ~]# yum --disablerepo=atrpms --disablerepo=at-stable --disablerepo=freshrpms --disablerepo=extras install libxml2
Setting up Install Process
Setting up repositories
<< very long pause >>
Cannot find a valid baseurl for repo: updates-released
(Im trying libxml2 as its in the list of dependencies for a tool I have to install from source. Being a bit of a noob I woudn't know if this was already in FC4... I'm just going through the list!)

When I tried to install a public key for freshrpms (I had done this before, but I tried it again just as a test) there was an even longer pause and then it segfaulted!

It was working perfectly a few days ago, and I cant think of anything I have changed that would make it stop working. The last time I used yum I was using a different modem router on the network, but I cant see how that would make a difference.

Its really infuriating when you're trying to deal with one massive headache and then something else just stops working suddenly like this!!

Does anyone know what might be wrong here?

Thanks
 
Old 01-12-2006, 05:07 PM   #2
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware
Posts: 386

Rep: Reputation: 41
This yum setup works well for me. Try it out

-A
 
Old 01-13-2006, 11:53 AM   #3
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
Is the internet otherwise working normally in Linux for you? Usually when I have problems of this sort, it's because the DNS settings aren't working properly. If you have just changed to a different router, this could be the cause.
 
Old 01-13-2006, 04:43 PM   #4
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
either any of the above, or... your yum.conf file is set to the wrong mirrors and with a too short waiting and retry time. Check out Stanton-Finley's explanation as per the above link and also have a look at www.fedorfaq.org which has a yum.conf file ready to download and some more suggestions to get it all to work properly.
 
Old 01-15-2006, 10:30 AM   #5
Zut50
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the replies guys.

I think its some kind of networking issue. If I try to ping atrpms.net the IP address is resolved, but no packets are received. Also firefox does not work at all.

I know my router and atrpms.net are both working though, as I can visit that site from other machines on the same network.
 
Old 02-25-2006, 11:22 AM   #6
garrik
LQ Newbie
 
Registered: Feb 2006
Location: Romano Canavese (Torino - Italy)
Distribution: Fedora 7
Posts: 16

Rep: Reputation: 0
Question

Hi all,
I think I have the same problem Zut50 has had.
I followed exactly all the steps suggested by Stanton Finley's explanation, however when I tried...

Code:
[root@Alba ~]# yum update
Setting up Update Process
Setting up repositories
Cannot open/read repomd.xml file for repository: core
failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
I've got a DSL-504T Linksys modem-router and I use NAT to connect to the Internet. I think there could be a networking related problem, but I don't know how yum works (has it to create a new connection to my pc? May this be the cause of the problem?).
Most of all I am a newbie!
Can someone help?
 
Old 02-25-2006, 03:01 PM   #7
tmick
Member
 
Registered: Jun 2005
Location: Riverdale, Utah
Distribution: Debian Jessie
Posts: 140

Rep: Reputation: 15
Hi Garrik and Zut50,
Try running yum clean all from the CLI(command Line Interface aka a terminal) and restarting network services. Then run yum and try using yum install yumex. that is the easiest way I have found around the problem. For some reason core for keeps losing the connection and network services needs to restarted, you can also use service network restart to restart your network connection.
 
Old 02-27-2006, 04:20 PM   #8
garrik
LQ Newbie
 
Registered: Feb 2006
Location: Romano Canavese (Torino - Italy)
Distribution: Fedora 7
Posts: 16

Rep: Reputation: 0
Thank you for help tmick, but it doesn't seem to work. Also doing this way I have the same error as before...

Last edited by garrik; 02-27-2006 at 04:26 PM.
 
Old 02-27-2006, 11:46 PM   #9
tmick
Member
 
Registered: Jun 2005
Location: Riverdale, Utah
Distribution: Debian Jessie
Posts: 140

Rep: Reputation: 15
Ok, what do have for drivers...meaning is it NVidia based? I had that problem and installing the driver from the OEM and installing the Kernel Module for Nvidia fixed it. BTW I goofed on the commands the proper order should have been:
1) yum clean all
2) yum update yum
3) install these repos
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*
rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
rpm --import http://freshrpms.net/RPM-GPG-KEY-freshrpms
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
rpm --import http://atrpms.net/RPM-GPG-KEY.atrpms
rpm --import http://newrpms.sunsite.dk/gpg-pubkey-newrpms.txt
rpm --import http://apt.sw.be/dries/RPM-GPG-KEY.dries.txt
rpm --import http://www.jpackage.org/jpackage.asc
rpm --import http://kde-redhat.sourceforge.net/gp...382fa-3e1ab2ca

4) Enable these repos with yum --enablerepo=<repo name>
5) run yum install yumex

If the drivers are not available through yum the Google either Fedora NameOfHardware or Linux NameOfHardware and follow those proceedures to install the correct drivers.
If all else fails pose the question to http://fedoraforum.org/ it's the core support web site. It sounds like to me your NIC card is losing connectivity. I think it could be because the proper drivers for it are not installed. You might try restarting Network services by either using the GUI or typing service network restart at the CLI as su -
 
Old 02-28-2006, 05:20 AM   #10
joesnow
LQ Newbie
 
Registered: Oct 2005
Location: CA, USA
Distribution: Fedora Core 4
Posts: 23

Rep: Reputation: 15
I've been having the same issue lately. Only lately o.O
 
Old 03-02-2006, 03:31 PM   #11
garrik
LQ Newbie
 
Registered: Feb 2006
Location: Romano Canavese (Torino - Italy)
Distribution: Fedora 7
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by tmick
Ok, what do have for drivers...meaning is it NVidia based?
I have a ATI radeon 9600, so I don't think there are NVidia drivers on my pc.

Also the new command sequence doesn't work.
I'm going to pose the question to the Fedora forum.
Thank you anyway.
 
Old 03-02-2006, 09:44 PM   #12
tmick
Member
 
Registered: Jun 2005
Location: Riverdale, Utah
Distribution: Debian Jessie
Posts: 140

Rep: Reputation: 15
http://www.fedorafaq.org/
Has how to install Radion Drivers might try that.
 
Old 03-30-2006, 02:44 PM   #13
garrik
LQ Newbie
 
Registered: Feb 2006
Location: Romano Canavese (Torino - Italy)
Distribution: Fedora 7
Posts: 16

Rep: Reputation: 0
Ok, I've found a solution: Fedora Core 5.
Now yum 2.6.0 works well.
Thank you.
byez
 
  


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 yum repo error shams Fedora 1 12-24-2005 11:28 PM
yum repo that has mythtv? santaliqueur Linux - Newbie 2 11-07-2005 02:56 PM
yum repo trouble twinkers Suse/Novell 2 10-26-2005 03:37 PM
Gnome 2.10 yum repo nsk078 Fedora 1 04-01-2005 10:11 PM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 03:49 PM


All times are GMT -5. The time now is 04:38 AM.

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