[CentOS] can't install software, "not using ftp, http[s], or file for repos, skipping - 5 is not a valid release or hasnt been released yet"

Tru Huynh tru at centos.org
Thu Jun 19 20:16:06 UTC 2008


On Thu, Jun 19, 2008 at 07:31:37PM +0200, Rudi Ahlers wrote:
...
> [root at cacti ~]# rpm --verify centos-release
> S.5....T c /etc/yum.repos.d/CentOS-Base.repo
Not the orignal version. That is the cause of your problem, see below.

>
> [root at cacti ~]# ls -l /etc/yum.repos.d/
> total 32
> -rw-r--r-- 1 root root 2044 Jun 19 08:57 CentOS-Base.repo
> -rw-r--r-- 1 root root  622 Nov 23  2007 CentOS-Media.repo
> -rw-r--r-- 1 root root  684 Mar  8  2007 mirrors-rpmforge
> -rw-r--r-- 1 root root  428 Mar  8  2007 rpmforge.repo
>
rpmforge has been added but that should not be an issue.
> [root at cacti ~]# more /etc/yum.repos.d/*
> ::::::::::::::
> /etc/yum.repos.d/CentOS-Base.repo
> ::::::::::::::
...
> # If the mirrorlist= does not work for you, as a fall back you can try the
> # remarked out baseurl= line instead.
you should READ the comment ;)
you can't have BOTH lines uncommented
...
>
> [base]
> name=CentOS-$releasever - Base
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
> baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
BOOM!  comment either lines mirrorlist or baseurl
for all the repositories listed in this file.

and follow Akemi's advice :D

cheers,

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20080619/ad184bbe/attachment.bin


More information about the CentOS mailing list