Find the answer to your Linux question:
Results 1 to 2 of 2
hi all, i tried to install gcc in cent os but it is giving me error messge like this.... Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...h=i386&repo=os error was [Errno 4] IOError: <urlopen ...
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    6

    Question want to know about installation of gcc in cent os

    hi all,
    i tried to install gcc in cent os but it is giving me error messge
    like this.... Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...h=i386&repo=os error was
    [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
    Error: Cannot find a valid baseurl for repo: base
    please help me in this installation i am complete newbie.

  2. #2
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,392
    This could be caused by a temporary outage. I take it you're trying to do:

    Code:
    yum install gcc
    All I can suggest is that you give it a couple of hours and try again. The alternative is to download the rpm directly from a known mirror and use the 'rpm' command to install it - but doing that means you'll have to meet any dependencies on other packages yourself.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...