Project

General

Profile

I am getting yum update error after fresh installation

Added by abu zafar about 6 years ago

I just installed goautodial community version 3.0 and trying to run yum update but i am getting the following error, can any one please help me..
YumRepo Error: All mirror urls are not using ftp, http[s] or file.... ....... error: cannot find a valid baseurl for repo: base.


Replies (3)

RE: I am getting yum update error after fresh installation - Added by elmo reno about 6 years ago

Hi,

I'm facing the same problem. Any hint?

RE: I am getting yum update error after fresh installation - Added by Peter Rabbit about 6 years ago

I had the same trouble.
For the version that I use (downloaded a couple of months ago)
I altered the repositories in /etc/yum.repos.d/CentOS-Base.repo

[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://vault.centos.org/5.10/os/x86_64/
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
baseurl=http://vault.centos.org/5.10/updates/x86_64/
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
baseurl=http://vault.centos.org/5.10/extras/x86_64/
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

    (1-3/3)
    Go to top