Find the answer to your Linux question:
Results 1 to 7 of 7
Like Tree1Likes
  • 1 Post By Xman
Hi i m new to Linux. I tried using 'yum' command to update "yum update" but it gave following error:. Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...ra-7&arch=i386 error was [Errno 4] IOError: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    17

    Unhappy yum gives error : 'Temporary failure in name resolution


    Hi i m new to Linux.
    I tried using 'yum' command to update

    "yum update"

    but it gave following error:.

    Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...ra-7&arch=i386 error was
    [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
    Error: Cannot open/read repomd.xml file for repository: fedora

    what should i do?

    Thanks in advance.

  2. #2
    Linux User glennzo's Avatar
    Join Date
    Sep 2004
    Location
    Salem, Mass
    Posts
    463
    Try yum clean all and then try yum again. If it still fails, wait 5-10 minutes and try again. Fedora yum is fast when the repos aren't slammed for requests, but when they're being hit hard, they really slow down.
    Glenn
    Powered by Fedora

  3. #3
    Just Joined!
    Join Date
    Dec 2007
    Posts
    17

    But still it give same error.

    Hello.
    Following steps I performed.

    [root@localhost ~]# yum clean all
    Loading "installonlyn" plugin
    Cleaning up Everything

    [root@localhost ~]# yum update
    Loading "installonlyn" plugin
    Setting up Update Process
    Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...ra-7&arch=i386 error was
    [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
    Error: Cannot open/read repomd.xml file for repository: fedora

    I m under proxy 192.168.5.252. does this goin to affect?
    Plz reply.

    Thanks..

  4. #4
    Linux User glennzo's Avatar
    Join Date
    Sep 2004
    Location
    Salem, Mass
    Posts
    463
    Here's a link to the Fedora project wiki w/regards to yum through a proxy.

    Docs/Drafts/SoftwareManagementGuide/YumProxy - Fedora Project Wiki
    Glenn
    Powered by Fedora

  5. #5
    Just Joined!
    Join Date
    Dec 2007
    Location
    Great mighty Czech Republic, in the heart of Europe :-)
    Posts
    11
    Quote Originally Posted by Empires View Post
    Temporary failure in name resolution
    means that DNS server is unable to translate address mirrors.fedoraproject.org
    you can simply verify that when you do "host mirrors.fedoraproject.org" it will return error.

    Type this into your /etc/hosts file:

    66.35.62.162 mirrors.fedoraproject.org

    It should help yum with name translation.
    However, you should examine your DNS confiuration, check settings in /etc/resolv.conf and in your local bind (if you have one), because this behavior is not normal.
    Nilar likes this.

  6. #6
    Just Joined!
    Join Date
    Dec 2007
    Posts
    17

    Thumbs up Hey. your suggetion worked :-)

    Thanx a lot. Now yum is working fine.

  7. #7
    Just Joined!
    Join Date
    Jun 2008
    Posts
    1

    yum problem

    Quote Originally Posted by Empires View Post
    Hi i m new to Linux.
    I tried using 'yum' command to update

    "yum update"

    but it gave following error:.

    Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...ra-7&arch=i386 error was
    [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
    Error: Cannot open/read repomd.xml file for repository: fedora

    what should i do?

    Thanks in advance.

    pls check ur name server setting

    edit /etc/resolv.conf

    and ur nameserver details
    eg:.

    nameserver 192.168.0.5

Posting Permissions

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