Yum [Errno] No more mirrors to try Workaround
You can resolve the issue by entering the following command:
- Yum Clean All
- Yum Makecache
Causes CentOS installation software Error:cannot Find a valid baseurl for repo:base
Workaround:
echo "NameServer 8.8.8.8" >>/etc/resolv.conf
Then ping outside the domain name, you can parse, and then use Yum installation software, also can, OK, problem solving.
The valid parameters and their meanings are as follows:
NameServer indicates the IP address of the DNS server. There can be many rows of nameserver, each with an I-P address. At query time, you press nameserver in the order of the file, and only if the first nameserver The following nameserver are only queried when there is no response.
Domain declares the name of the host computer. Many programs use it, such as the mail system; When a host without a domain name
Machine for DNS queries. If there is no domain name, the hostname will be used, removing all at the first point (.) The previous content.
Search its multiple parameters indicate the order of the domain name query. When you want to query a host that does not have a domain name, the host will look for it separately in the domain declared by search. Domain and search cannot coexist, and if present, subsequent occurrences will be used.
Sortlist allows a specific sort of domain results to be obtained. Its parameters are network/mask pairs. The default/etc/resolv.conf file is not available in Red Hat, and its content is created dynamically based on the options given at the time of installation.
yum
install
firefox
CentOS Yum Installation Issue