Thanks mugo,
The problem might not be in the .repo files
Try cleaning up your yum cache and then update your repositories before attempting any installations in this fashion;
yum clean all
yum makecache
Also, check out the man page for yum and include options that could help
Regards,
Mugo.On Mon, Aug 30, 2010 at 1:11 PM, joe mwirigi <joemwirigi@gmail.com> wrote:
Not been a yum user [:( ] and am having trouble configuring the .repo
files for the right yum repositories. I've installed the priorities
plugin for extra flexibility but keep on getting this
not using ftp, http[s], or file for repos, skipping - Test mode - must
specify ip/cc, arch and repo as parameters
wherever i do a yum install (save for a yumex install which went
well, below is a copy of my .repos, i wonder what im doing wron or not
doing right
Help or pointing in the right direction is highly appreciated!
Thanks b4 HaNd
yum.conf
[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
# PUT YOUR REPOS HERE OR IN separate files named file.repo
http://www.ftp.saix.net/linux/distributions/centos/5.5/os/i386/
ftp://ftp.is.co.za/mirror/centos/5.5/os/i386/
http://mirror.isoc.org.il/pub/centos/5.5/os/i386/
http://centos.syn.co.il/5.5/os/i386/
http://mirror.vit.com.tr/mirror/CentOS/5.5/os/i386/
http://ftp.dgn.net.tr/linux/centos/5.5/os/i386/
http://ftp.linux.org.tr/centos/5.5/os/i386/
http://ftp.cica.es/CentOS/5.5/os/i386/
http://ftp.gui.uva.es/sites/centos.org/5.5/os/i386/
http://sunsite.rediris.es/mirror/CentOS/5.5/os/i386/
#in /etc/yum.repos.d
#in /etc/yum.repos.d/CentOS-Base.repo
#in /etc/yum.repos.d/CentOS-Media.repo
#in /etc/yum.repos.d/rpmforge.repo
CentOS-Base.repo
[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/
gpgcheck=1
priority=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://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
priority=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
priority=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://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
priority=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
priority=2
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
priority=2
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
rpmforge.repo
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
#baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
priority = 50
--
#! /usr/bin/hope -w
#$file: angel.mine script
use strict;
#Keep Going
# become s good child
my $pid = fork();
print $pid,"\n";
while(1) {
sleep(never);_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1fbjAwOUE&hl=en
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1fbjAwOUE&hl=en
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke