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.:Pengy: |
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. |
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! |
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 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. |
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. :-) |
|
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 |
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 #.
|
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. |
All times are GMT -5. The time now is 07:24 AM. |