[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Issue with yum updating



On Mon, 03 Nov 2008 09:30:36 -0800, Patrick Topping wrote:

> >> [root turtle init.d]#  yum update
> >> Loaded plugins: fastestmirror
> >> Loading mirror speeds from cached hostfile
> >> YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
> >>  Eg. /
> >> removing mirrorlist with no valid mirrors: 
> >> //var/cache/yum/fedora/mirrorlist.txt
> >> Error: Cannot find a valid baseurl for repo: fedora

> The fedora.repo config file contains the following:
> 
> [fedora]
> name=Fedora $releasever - $basearch
> failovermethod=priority
> #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
> mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch

^^^^^
This is the URL where the mirrorlist is downloaded.

You would substitute the variables appropriately:
http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-9&arch=i386

If you can load that URL without problems, your problem with Yum is
elsewhere. Try disabling the fastestmirror plugin. Try interrupting
Yum to take a look at the downloaded and cached mirrorlist.txt file
before it is removed:

> removing mirrorlist with no valid mirrors: 
> //var/cache/yum/fedora/mirrorlist.txt

Do you have enough free space below /var?
What happens if you "yum --disablerepo=fedora update"?
Same problem with the remaining repositories?

> # yum clean metadata
> Loaded plugins: fastestmirror
> 0 metadata files removed
> 0 sqlite files removed
> 0 metadata files removed

Empty metadata cache prior to running this command? that's strange. Perhaps
you've run this more than once.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]