LinuxQuestions.org
Review your favorite Linux distribution.
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-24-2006, 04:47 PM   #1
maestro52
Member
 
Registered: Aug 2003
Location: Texas
Distribution: Fedora 9
Posts: 177

Rep: Reputation: 30
Problem with yum repos?


[root@localhost ~]# yum update
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Loading "fedorakmod" plugin
Setting up Update Process
Setting up repositories
livna [1/5]
livna 100% |=========================| 951 B 00:00
updates [2/5]
Cannot find a valid baseurl for repo: updates
Error: Cannot find a valid baseurl for repo: updates
[root@localhost ~]#
:::::::::::::::::::::::::::::::::::::::::::::::::::::

I have not done anything to change my yum setup and it worked jsut fine yesterday. However, as shown above, yum is now telling me that something is wrong with the repo: updates. Can someone tell me what is wrong here. Just in case, the following is a copy of my yum.repos.d for fedora-updates.

:::::::::::::::::::::::::::::::::::::::::::::::::::::
[updates]
name=Fedora Core $releasever - $basearch - Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[updates-debuginfo]
name=Fedora Core $releasever - $basearch - Updates - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/debug/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[updates-source]
name=Fedora Core $releasever - Updates Source
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

::::::::::::::::::::::::::::::::::::::::::::::::::::::

I sure hope someone can help me.
 
Old 10-24-2006, 06:46 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Fedora Core 6 was released today, can you say overloaded!!!!!!!!!!!

Give it a few days and things should be back to normal, you if your really really desperate locate a mirror close to you and secify this loaction as a baseurl.
 
Old 10-24-2006, 07:50 PM   #3
maestro52
Member
 
Registered: Aug 2003
Location: Texas
Distribution: Fedora 9
Posts: 177

Original Poster
Rep: Reputation: 30
Thank you Lenard. Of course, I hav eno idea how to find mirrors without going to the Fedora Distro pages. One person listed 2 sites for FC6, although one does not work anymore. Another person has downloaded the FC6 cd's, is working on the dvd and is offering them all for distro purposes. I just prefer to wait for the second distro before I get it since there are usually things missing in the first one.

I am, however, trying to research how to upgrade from 5 to 6 entirely using YUM or YUMEX. While searching something else I found something related to that, but I did not bookmark the page, DUHHHH! So if you have any knowledge of that procedure it would be terrific if you could pass that on to me.

IN any case, FC6 must be expected to be super. I do not remember any time in the past that caused ALLLLLL of the Fedora pages AND YUM to practically not exist!
 
Old 10-24-2006, 08:47 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Has happened for both the FC4 and FC5 releases.

Updating from FC5 to FC6 via yum is not hard, you will need the new fedora-release noarch rpm file;

Code:
wget ftp://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/fedora-release-6-4.noarch.rpm
Install it; rpm -Uvh fedora-release-6-4.noarch.rpm

Then do something like; yum upgrade

Additional help/info here; http://www.brandonhutchinson.com/Upg..._with_yum.html

Yea, FC6 is kinda special and important it is what RHEL5 will be based on.
 
Old 10-24-2006, 11:36 PM   #5
maestro52
Member
 
Registered: Aug 2003
Location: Texas
Distribution: Fedora 9
Posts: 177

Original Poster
Rep: Reputation: 30
Thanks again Lenard!

However, after reading that help info I think I will be safe for now and do the typical install or update procedure with the dvd. I seem to be related to MURPHY so I always have problems when I try something new that has even the slightest possibility of an error. Maybe next time. :-)
 
Old 10-25-2006, 06:14 AM   #6
Ryptyde
Member
 
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 18 Fedora 17
Posts: 242

Rep: Reputation: 37
Here's a fix for the problem at this site.

FC5 Yum mirror list update
 
Old 10-25-2006, 08:57 AM   #7
galen
Member
 
Registered: Sep 2003
Location: Halifax, Nova Scotia, Canada
Distribution: LinuxMint, PartedMagic, Puppy, xubuntu. BOYCOTTING: Vector, Beatrix, BLAG, Slackware
Posts: 63
Blog Entries: 1

Rep: Reputation: Disabled
the repos mirror lists have solved my problems:

Cannot find a valid baseurl for repo: extras
Cannot find a valid baseurl for repo: core



Thank you
 
Old 10-29-2006, 02:04 AM   #8
smaudlin
Member
 
Registered: Dec 2004
Location: Benicia, CA
Distribution: Fedora 6,5,4 Mandrake 10.1
Posts: 46

Rep: Reputation: 15
also notice the line in your repo that has the #. It's ignoring that line because of the # and making it use the mirrors. I removed the #.
 
Old 11-03-2006, 01:14 PM   #9
chad_work
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Rep: Reputation: 0
Yes, for some reason in FC5, they commented out the repos. It's right in your example:

[updates]
name=Fedora Core $releasever - $basearch - Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

Just take off the # before "baseurl=" and then it will work.
 
  


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
problem using yum after editing repos vegetassj2 Linux - Software 5 05-21-2006 12:28 PM
YUM repos in fc5 mbrown Linux - Software 1 04-07-2006 10:45 PM
Need yum repos with php 4.3.11 ericcarlson Fedora 1 05-30-2005 08:48 AM
Which yum repos for Redhat 9? yonatan1 Red Hat 1 03-26-2005 08:26 AM
using yum.repos from yumex linmix Fedora 1 02-03-2005 09:27 AM


All times are GMT -5. The time now is 04:47 PM.

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