LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-26-2006, 06:17 AM   #1
nbcohen
Member
 
Registered: Mar 2003
Location: Northern Virginia
Distribution: RH Enterprise, Fedora
Posts: 96

Rep: Reputation: 17
Yum problems with Fedora 5 and 6


I'm having some problems with yum - pointers to solutions would be most welcome...

1) I have been running FC5 for some time now. Did a yum update last week and among other things, got the latest kernel and (I think) an update to yum itself. Now the system runs fine, but yum complains that it no longer has valid base urls for any of the repositories. Is this a known problem? How do I work around it?

2) Last night I installed FC6 on an old (800Mhz) pentium machine I use for testing around the house. The install went fine (except that if I selected 'Fedora Extras' Anaconda crashed and I had to start over - anyone know if that is also a known problem??). Once the system was up, I installed yumex and tried to do an update. It downloaded a dozen programs and then exited, telling me the GPG keys were either invalid or non-existent. What do I need to do to work around this one? I don't want to install FC6 on any of my other machines until I can be sure I can get updates correctly.

Thanks very much,

nbc
 
Old 10-26-2006, 06:57 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
1. check /etc/yum.repos.d/xxx.repo for that.
2. The anaconda installer crashes, if you want to add an extra repository during setup (version X86_64).
You can add an extra repository via yum later (like rpm.livna.org or www.atrpms.org).
Before you can update from an extra repository via yum, you need to import the GPG key from this side.
 
Old 10-26-2006, 07:13 AM   #3
reeseslover531
Member
 
Registered: Nov 2005
Distribution: Fedora Core 5
Posts: 64

Rep: Reputation: 15
I opened up a command line today to update with yum and I get this message
Code:
  --noplugins           disable Yum plugins
[root@Server yum.repos.d]# yum check-update
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Setting up repositories
livna                                                                [1/4]
core                                                                 [2/4]
Cannot find a valid baseurl for repo: core
Error: Cannot find a valid baseurl for repo: core
[root@Server yum.repos.d]#
I didn't change anything at all. I think I am having the same problem as the guy who started this thread. I checked in my yum.repos.d, and everything seems to be there.
 
Old 10-26-2006, 07:26 AM   #4
nbcohen
Member
 
Registered: Mar 2003
Location: Northern Virginia
Distribution: RH Enterprise, Fedora
Posts: 96

Original Poster
Rep: Reputation: 17
The message you are seeing (FC5 - can't find base url) is exactly what I'm getting. It just started after the most recent yum update earlier this week.

As for FC6 - can you tell me where to import those GPG keys from (and how to do it)? I've not had to do that in previous versions - at least not that I remember. I did not select the Fedora extras explicitly - I could not get Anaconda to accept it, so I'm running with whatever the default yum setup would be...

thanks,

nbc
 
Old 10-26-2006, 07:40 AM   #5
coca25
LQ Newbie
 
Registered: Oct 2006
Distribution: Fedora Core 5
Posts: 4

Rep: Reputation: 0
those errors are caused by an overload on fedora website, you can change basurl on *.repo file according to fedoraproject.org/wiki/Mirrors to get yum working again
 
Old 10-26-2006, 03:11 PM   #6
The_Bear
LQ Newbie
 
Registered: Oct 2006
Location: Boston, MA
Distribution: Fedora
Posts: 7

Rep: Reputation: 0
All I did to fix that was to go into /etc/yum/ to the (core,updates,extras).repo files using gedit and took out the # in front of the urls. It seemed they were commented so were not available to be used. Was quite an easy fix, just took me almost a day to find the information. Hope this helps.
 
Old 10-26-2006, 05:41 PM   #7
hgist
LQ Newbie
 
Registered: Oct 2006
Location: ISRAEL
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
pls check yum repositories (core, extra, and updates)
for some reason after updating yum, the baseurl links were wiped out of it,
I think they should be:
download dot fedora dot redhat dot com /pub/fedora/linux/core/$releasever/$basearch/os/
download dot fedora dot redhat dot com /pub/fedora/linux/extras/$releasever/$basearch/
download dot fedora dot redhat dot com /pub/fedora/linux/updates/$releasever/$basearch/

(
- put http : / / before each link
- replace " dot " with "."
- w/o the spaces!
)
 
  


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
problems with yum install (fedora core 5) emu103 Linux - Desktop 5 08-16-2006 08:55 PM
Does yum update from Fedora 3 to Fedora 4? Feenix566 Linux - Newbie 1 12-02-2005 10:52 AM
Problems updating Fedora Core 4 with Yum Extender tron_thomas Linux - Software 1 11-06-2005 07:22 PM
Fedora Yum problems Thom_Redhat Linux - Distributions 9 10-17-2005 01:52 PM
problems with yum (fedora 1) sohmc Fedora 4 09-14-2004 10:13 PM

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

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