LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Yum Woes (https://www.linuxquestions.org/questions/fedora-35/yum-woes-469870/)

llbbl 08-01-2006 05:33 PM

Yum Woes
 
I have two machines. One is static IP (#1) running FC3 and another machine that is using DHCP (#2) running FC5. Machine #1 can't update via Yum, but machine #2 can. Here is the error.

Quote:

Cannot find a valid baseurl for repo: updates-released
Error: Cannot find a valid baseurl for repo: updates-released
I found some things online.

This guy thinks it might be be my /etc/resolv.conf. However $ host fedora.redhat.com gives the same thing on both machines.

Quote:

# host fedora.redhat.com
fedora.redhat.com has address 209.132.177.50
fedora.redhat.com mail is handled by 10 mx1.redhat.com.
fedora.redhat.com mail is handled by 20 mx2.redhat.com.
fedora.redhat.com mail is handled by 30 mx3.redhat.com.
http://linux.derkeiler.com/Mailing-L...5-06/3290.html

So I started searching your forums for past threads. I thought upgrading Yum might fix the problem.

Code:

# rpm -qa | grep yum
  yum-2.4.1-1.fc4
# wget http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/yum-2.6.1-0.fc5.noarch.rpm
# rpm -e yum
# rpm -i yum-2.6.1-0.fc5.noarch.rpm

Everything installed fine. It is showing the most current version is installed. I restarted networking after this just to be sure.

Quote:

# service network restart
http://www.linuxquestions.org/questi...d.php?t=429397
http://www.linuxquestions.org/questi...d.php?t=402629

After all that, it is still not working. I get the same error. I don't want to install FC5 unless I have too and it is looking like I am going to have to. =(. Advice?

Also my 2nd question is if enabling other repositories, like from RPMforge is a good thing? Will it cause problems?
http://stanton-finley.net/fedora_cor...notes.html#Yum

Thanks! :cool:

llbbl 08-01-2006 06:17 PM

hmmmmmm lol

Quote:

$ yum -y update
now its working. silly yum. /boggle

I guess it secrectly was asking me if it should work or not and the -y told it, yes dammit!


All times are GMT -5. The time now is 02:13 AM.