LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-09-2006, 07:37 PM   #1
reitsma
LQ Newbie
 
Registered: Dec 2002
Location: Corvallis, OR
Distribution: F7
Posts: 21

Rep: Reputation: 15
Unhappy FC5 yum repo problem


Dear All,

I just got round to upgrading my FC4 installation to FC5. All seems well, except that yum will not run. The error:

>yum list
Loading "installonlyn" plugin
Setting up repositories
core [1/3]
Cannot find a valid baseurl for repo: core
Error: Cannot find a valid baseurl for repo: core

I have now spent about a whole day googling this thing and still do not have things working.

So, some things for you to know:

1. My Internet connectivity is fine.

2. I did a fresh install of FC5 on another machine and yum runs fine there. The /etc/yum.conf and /etc/yum.repos.d files are identical on both machines.

3. Firewall settings using 'lokkit' are identical on both machines.

3a. I did a
>yum clean all ...no effect.

4. In the file /etc/yum.repos.d/fedora-core.repo, the line

#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/

is (obviously) commented out. Uncommenting it results in:

>yum list
Loading "installonlyn" plugin
Setting up repositories
core [1/3]
http://download.fedora.redhat.com/pu...ta/repomd.xml: [Errno 4] IOError: <urlopen error (11, 'Resource temporarily unavailable')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: core
failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.

I tried HTTPing the various URLs listed in /etc/yum.repos.d/fedora-core.repo and my browser shows them just fine.

I'm at the very end of my rope. I tried uninstalling yum using RPM, but here's what I get

>rpm -e yum
yumerror: Failed dependencies:
yum >= 2.5.3 is needed by (installed) pirut-1.0.1-1.noarch
yum is needed by (installed) system-config-kickstart-2.6.6-2.noarch
yum >= 2.4.0 is needed by (installed) anaconda-runtime-11.0.5-1.i386
yum >= 2.5.1-3 is needed by (installed) anaconda-11.0.5-1.i386

One last thing. On my FC4 box (the one I upgraded to FC 5), I had a (working) yum 2.5 installation that I installed with rpm some time ago. I suspect that this rpm 2.5 installation and the new 2.6.0 installation that came from the FC5 install are biting each other (that would perhaps(?) explain why yum runs fine on the fresh FC5 install).

Can you help?

RR

Last edited by reitsma; 10-09-2006 at 07:59 PM.
 
Old 10-09-2006, 09:27 PM   #2
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
Are you behind proxy by any chance?
if yes add following line to /etc/yum.conf
proxy=http://myproxy:myport

Last edited by sn68; 10-09-2006 at 09:29 PM.
 
Old 10-10-2006, 04:57 PM   #3
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Debian Squeeze. Various live CD's Win7
Posts: 359

Rep: Reputation: 32
Wink fedora core 5 repo problem

I agree. I had a similar problem and eventually realised that I needed to specify ort for proxy when I setup the network settings.
Once I had entered this - bingo! However this was a fresh intall also.
 
Old 10-10-2006, 04:58 PM   #4
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Debian Squeeze. Various live CD's Win7
Posts: 359

Rep: Reputation: 32
Wink fedora yum repo problem

Sorry that should read proxy:PORT

Cheers
 
Old 10-10-2006, 07:18 PM   #5
reitsma
LQ Newbie
 
Registered: Dec 2002
Location: Corvallis, OR
Distribution: F7
Posts: 21

Original Poster
Rep: Reputation: 15
Smile

Yup,

You were all correct! It was the proxy server! Took me forever to figure out. The reason that the "other" box yummed along just fine is because it used the wireless network (go figure!). Once I deactivated eth1 on that box, yum would not work anymore either.

What finally tipped me off was that 'wget' would not work on either of the two boxes.

So yeah, setting the

proxy=http://<proxy_server_url>:<port> in /etc/yum.conf did it!

Thanks for your help!!

RR
 
  


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
Yum cant seem to connect to any repo Zut50 Fedora 12 03-30-2006 02:44 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 12:06 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