LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-10-2013, 04:09 AM   #1
tverbeek
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Rep: Reputation: Disabled
Question Getting Error: Cannot find base url for repo: base (CentOS 6)


Hi there,

I'm a newbie and I'm working hard to get this error fixed, but it doesn't work. I looked at the other posts in this forum but nothing helps.

I got this error:
Code:
[root@server ~]# yum install screen
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
Can anyone help me to fix this?

Greets,
t.Verbeek
 
Old 09-10-2013, 05:48 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Looks like you are not connected to the Internet.
Please check with your "Network applet".

The link http://mirrorlist.centos.org/?releas...h=i386&repo=os
.. is OK here. I get the expected mirror list.
 
Old 09-10-2013, 06:03 AM   #3
tverbeek
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
I can't ping google.com so that means I'm not connected to the internet isn't it? How can i fix this? Or do i have to mail my hoster.

T verbeek.
 
Old 09-10-2013, 07:31 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Did you check the `Network applet' ?

On some installs of CentOS 6 you will have to activate your connection
by using the "Network Manager applet" at every start up.
 
1 members found this post helpful.
Old 09-10-2013, 07:54 AM   #5
tverbeek
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
How to do that? Searched on the web, found nothing. I can't install NetworkManager 'cause by every yum -y command I got the error.
 
Old 09-10-2013, 08:11 AM   #6
CodeFreaker
LQ Newbie
 
Registered: Feb 2010
Posts: 27

Rep: Reputation: 12
Smile

Quote:
Originally Posted by tverbeek View Post
How to do that? Searched on the web, found nothing. I can't install NetworkManager 'cause by every yum -y command I got the error.
Network Manager comes with Redhat ..It must already installed.

Check the service

"service NetworkManager status"

If the service not running them start using "service NetworkManager start"

If you can see the network icon in above panel then check the setting and make sure you are connected to internet.
 
1 members found this post helpful.
Old 09-11-2013, 05:22 AM   #7
jitendra.sharma
Member
 
Registered: Mar 2013
Location: ahmedabad
Distribution: CentOS, Ubuntu, Debian
Posts: 92
Blog Entries: 1

Rep: Reputation: Disabled
Setup your network connection proper via this tutorial

http://www.cyberciti.biz/faq/rhel-ce...configuration/
 
Old 10-04-2013, 08:41 AM   #8
Terminator3000
Member
 
Registered: Jun 2012
Distribution: Centos 6 & Fluxbox
Posts: 86

Rep: Reputation: Disabled
Here is a guide to setting up the NetworkManager Applet. It is fairly straightforward and you just need to fetch a couple of dependencies, although for wireless the procedure, it is the same for all.

Last edited by Terminator3000; 10-04-2013 at 12:17 PM.
 
Old 10-04-2013, 10:49 AM   #9
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,146

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
You should find the tool in your menu under System - Preferences - Network connections, or run nm-connection-editor in a terminal.
 
  


Reply



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
centos-base.repo error skny007 Linux - Newbie 2 07-29-2012 05:15 PM
Cannot find a valid baseurl for repo : base in centos 6 kalidoss Linux - Server 9 11-20-2011 11:12 PM
yum - cannot find a valid baseurl for repo: base. chris24300 Linux - Software 2 12-11-2009 11:13 AM
Cannot find a valid baseurl for repo: base --- CentOS 5 Ascendancy5 Linux - Newbie 7 01-12-2009 06:55 AM
yumex-"Cannot find a valid baseurl for repo: base" corelover Fedora 1 04-08-2005 03:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:18 PM.

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