LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   yum 2.0.7 and Cannot find baseurl or name for server 'base'. Skipping (https://www.linuxquestions.org/questions/linux-software-2/yum-2-0-7-and-cannot-find-baseurl-or-name-for-server-base-skipping-546495/)

tomerbd 04-16-2007 10:53 AM

yum 2.0.7 and Cannot find baseurl or name for server 'base'. Skipping
 
Hi

I have installed yum under redhat using:

Code:

wget http://linux.duke.edu/projects/yum/download/2.0/yum-2.0.7.tar.gz
    tar -xvzf yum-2.0.7.tar.gz
    cd yum-2.0.7
    ./configure
    make
    make install

(this is the only method by which I could install it successfully)

it looks like its basically working (i can run yum) but I cant see a list of softwares or install softwares here is what i receive for example when trying to install lynx:

Code:

[root@xxxxx~]# yum install lynx
Error: Cannot find baseurl or name for server 'updates'. Skipping
Error: Cannot find baseurl or name for server 'base'. Skipping
Gathering header information file(s) from server(s)
Finding updated packages
Downloading needed headers
No Packages Available for Update or Install
No actions to take

it looks like the servers that are defined in /etc/yum.conf are incorrect, I have spent hours upon hours on trying to find correct servers, in forums, in the internet with no success, every server that i tried did not work for me.. :(

Can someone guide me of what I should do? (and if someone has servers that are working can he share them with me assuming that is my problem...)

Thanks...

billymayday 04-17-2007 03:48 AM

What distro are you using?

What do your repo files look like?

tomerbd 04-17-2007 06:29 AM

I think I only have this file

Code:

[root@xxxxx ~]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1

[base]
name=Red Hat Linux $releasever - $basearch - Base
baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/$releasever/$basearch/

[updates]
name=Red Hat Linux $releasever - Updates
baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/$releasever/


billymayday 04-17-2007 03:11 PM

So are you using redhat EL?

ps what's in /etc/yum.repos.d

tomerbd 04-18-2007 03:34 AM

Code:

[root@xxxxx ~]# cat /etc/yum.repos.d
cat: /etc/yum.repos.d: No such file or directory

Code:

[root@xxxxx ~]# cat /etc/issue
Red Hat Enterprise Linux ES release 4 (Nahant)
Kernel \r on an \m

Code:

[root@xxxxx ~]# uname -a
Linux xxxxx 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386 GNU/Linux

And by the way what those ES and EL mean?

Thanks

billymayday 04-19-2007 01:49 AM

Have a looke at

http://www.linuxquestions.org/questi...d.php?t=540495


All times are GMT -5. The time now is 05:38 PM.