Re: Cannot find a valid baseurl for repo: updates



Hugh Janus wrote:

Mark wrote:

Hugh

First, test your DNS is working with the hostname for the fedora-updates
host in particular:

host download.fedora.redhat.com

You should see:

download.fedora.redhat.com has address 209.132.176.20
download.fedora.redhat.com has address 209.132.176.220
download.fedora.redhat.com has address 209.132.176.221
download.fedora.redhat.com has address 66.187.224.20

Check your /etc/yum.repos.d/fedora-updates.repo to verify that
the "baseurl" entry is ok (not commented out with a "#", the
URL is valid --> test by pasting the baseurl into firefox and
visiting it, you should see a page listing a bunch of rpm files).

the baseurl in my fedora-updates.repo file is:
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/6/i386/

Mark

All the above works OK. As I said, Firefox works sometimes but other
times not. I even added all the mirrors to the local hosts file but
this still did not make YUM work. I found a thread on google
mentioning that it might be a problem with how Python resolves DNS
names, however I don't see how this would affect Firefox (unless it is
written in Python).
When I had FC1 on the laptop I had no problems, but FC6 refuses to go.
This is driving me nuts as it is the only thing not working! I am
tempted to reinstall FC6 in case something got messed up during install
but i'd prefer to fix it rather than just wipe and hope it solves
itself.

Any ideas?

The python thing would only explain yum's issues since yum is written
in python. What happens if you try one of the other browsers in FC6 like
Epiphany? Did you confirm your DNS is ok, like make sure the
/etc/resolv.conf has a valid "nameserver" entry in it?

It's possible Firefox is a bit more progressive in trying to use IPV6
than konqueror is, ie. it's trying IPv6 DNS calls, and you don't have
that setup so it timesout. Konqueror may only be trying IPv4 DNS which
works quickly. You can turn off ipv6 in firefox:

put about:config in the location bar to get to the config page, then
find this setting (a quick way is to put ipv6 in the Filter)

network.dns.disableIPv6 user set boolean false

right mouse button select that and use 'Toggle' to set that to 'true'

now retry your pages that failed and see if they work.
If you really like not having ipv6 support, you can totally turn it off via
doing this as root:

add these two lines to /etc/modprobe.conf
alias ipv6 off
alias net-pf-10 off

put this line (or change to no if it's there)
in /etc/sysconfig/network:
NETWORKING_IPV6=no

then run
/etc/init.d/ip6tables stop
/sbin/chkconfig ip6tables off
/etc/init.d/network restart

This is kind of a guess because usually the ipv6 timeout issue in
fedora usually has just made browsing really slow, it doesn't
usually cause a total failure in the page to load. What it usually
does it timeout on the IPv6 dns, then it falls back to use IPv4
DNS services.

Mark
.


Quantcast