Re: 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"

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



On Thu, Jun 19, 2008 at 07:31:37PM +0200, Rudi Ahlers wrote:
...
> [root@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@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@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

Attachment: pgpATrE8cNkcZ.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux