FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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...
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
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.
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!
)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.