Errno 256 no more mirrors to try

Errno 256 no more mirrors to try

I am trying to install metasploit on crentos 6.6 server

now when i tried to yum install or wget or even git any bundle i got errors

then after alot of search i found that it is a problem in the DNS so i tried to edit /etc/resolv.conf

and add as name server it worked fine but after server reboot or even eth0 restart it keeps returning without the modifications i made

Log in to Your Red Hat Account

Your Red Hat account gives you access to your profile, preferences, and services, depending on your status.

If you are a new customer, register now for access to product evaluations and purchasing capabilities.

Need access to an account?

If your company has an existing Red Hat account, your organization administrator can grant you access.

Red Hat Account

Customer Portal

For your security, if you’re on a public computer and have finished using your Red Hat services, please be sure to log out.

Select Your Language


  • Red Hat Enterprise Linux 5 and later
  • Red Hat Customer Portal
  • Red Hat Subscription Management (RHSM)
  • Red Hat Satellite


  • yum update fails with the error : [Errno 256] No more mirrors to try
  • yum update fails with :-
  • yum fails with :
  • yum fails with :


Check the network connectivity. If you are using IP addresses to configure firewall whitelist for access to the content delivery network (CDN), please ensure they’re updated based on this list: Public CIDR Lists for Red Hat (IP Addresses for

Check what files are present under /etc/yum.repos.d directory by:-

  • If the system is registered to RHN Classic, only rhel-source.repo should be present under /etc/yum.repos.d/ .
    If the system is registered with Red Hat Subscription Manager (RHSM) via subscription-manager, rhel-source.repo and ‘redhat.repo’ are present.
    If any local repositories, or any other media repositories are present, remove them by :-
  • Remove old yum cache from system by running following commands:
  • Check if you can list the valid repositories by :-
Читайте также:  Cooler master mastercase mc500

Root Cause

  • Possible reasons for this issue:
    1. Corrupted yum cache.
    2. Inaccessibility of a repository URL from the system due to network related issues.
    3. Presence of customized or other media repositories.
    4. Outdated whitelist when using IP-based Firewall configuration to access Red Hat’s Content Delivery Network (CDN).

    Diagnostic Steps

    • Check the accessibility of the repository URL in the system/network.
    • Check the repositories under /etc/yum.repos.d
    • Collect a sosreport of the affected system.
    • Product(s)
    • Red Hat Subscription Management
    • Red Hat Satellite
    • Red Hat Enterprise Linux
    • Red Hat Customer Portal
    • Component
    • yum
    • Category
    • Troubleshoot
    • Tags
    • customer_portal
    • rhel
    • rhn
    • rhn_classic
    • rhsm
    • satellite
    • subscription_management
    • yum

    This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

    I am having some problem installing 32-bit Fedora20 OS over the network. At the installation summary page, under the software installation source section, using the default closest mirror option, I keep getting the following fatal error during installation:

    As it appears that Fedora has some problem locating mirrors, I tried manually specifying a URL for the base repository, such as:

    I tried a few URLs, but all, except the URL closest to where I stay which causes the above fatal error, give me the following error:

    Error setting up base repository

    Ссылка на основную публикацию
    Adblock detector