[CentOS] YumRepo Warning: not using ftp, http[s], or file for repos, skipping - 5 is not a valid release or hasnt been released yet

Rudi Ahlers

rudiahlers at gmail.com
Thu Aug 21 13:37:52 UTC 2008


Hi all

Does anyone know what causes this error?
I have setup a local CentOS repository, with mrepo, and can succesfully use
it for updates & installation of just about anything. Yet, this error comes
up.

Here's my /etc/yum.conf:

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

[base-local]
name=CentOS-$releasever - Base
#mirrorlist=
http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://192.168.10.10/repo/centos5/$basearch/os
gpgcheck=1
enabled=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

[updates-local]
name=CentOS-$releasever - Updates
#mirrorlist=
http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
baseurl=http://192.168.10.10/repo/centos5/$basearch/updates
gpgcheck=1
enabled=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

[addons-local]
name=CentOS-$releasever - Addons
#mirrorlist=
http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
baseurl=http://192.168.10.10/repo/centos5/$basearch/addons
gpgcheck=1
enabled=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

[extras-local]
name=CentOS-$releasever - Addons
#mirrorlist=
http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
baseurl=http://192.168.10.10/repo/centos5/$basearch/extras
gpgcheck=1
enabled=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5


And when I browse to http://192.168.10.10/repo/centos5 - it looks similar to
the online CentOS repositories, but only with the x86 folder.

-- 

Kind Regards
Rudi Ahlers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080821/d4fa7844/attachment.html>


More information about the CentOS mailing list