LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-16-2007, 10:53 AM   #1
tomerbd
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Rep: Reputation: 0
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...
 
Old 04-17-2007, 03:48 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What distro are you using?

What do your repo files look like?
 
Old 04-17-2007, 06:29 AM   #3
tomerbd
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Original Poster
Rep: Reputation: 0
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/
 
Old 04-17-2007, 03:11 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
So are you using redhat EL?

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

Last edited by billymayday; 04-17-2007 at 03:13 PM.
 
Old 04-18-2007, 03:34 AM   #5
tomerbd
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
Old 04-19-2007, 01:49 AM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Have a looke at

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum error: Cannot find a valid baseurl for repo: BogusTrumper Linux - Software 27 01-23-2013 04:06 PM
yum error: Cannot find a valid baseurl for repo: core WOP1337 Linux - Software 10 09-04-2010 08:06 PM
yum: baseurl not found aparna8419 Linux - Networking 0 04-11-2007 06:58 AM
Yum Fails Error Cannot find a valid baseurl for repo pete44904 Linux - General 2 10-24-2006 04:52 PM
yumex-"Cannot find a valid baseurl for repo: base" corelover Fedora 1 04-08-2005 03:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration