问题一
问题
在做openstack,安装环境依赖包时,出现了这样的错误内容
[rootoc1 -]w yum -y install net-tools bash-completion vim gcc gacc-c+ make pcre pcre-devel expat-devel cke bzip2 irzSz
己加载插件:fastestnirrorDeternining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos .org/?release=7larch=x86_646repo=os6infra=stock error
14: curl#6 - "Could not resolve host: mirrorlist.centos .org;未知的错误”
was
One of the configured repositories failed(未知),
and yum doesn't have enough cached data to continue,At this point the onlysafe thing yum can do is fail. There are a few ways to work "fix" this :
1.Contact the upstream for the repository and get them to fix the problem.2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repos