Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
2023-09-14 09:01:14 时间
[root@localhost ~]# yum update Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" Error: Cannot find a valid baseurl for repo: base
解决办法:
1、配置本地YUM源
2、修改/etc/resolv.conf文件
Last login: Thu Jul 14 22:01:02 2016 from 192.168.1.105 [root@haishengtech ~]# more /etc/resolv.conf nameserver 8.8.8.8 [root@haishengtech ~]#
相关文章
- 专家称Mac OS X、iOS融合 2-3年内还难看到
- Golang (Go语言) Mac OS X下环境搭建 环境变量配置 开发工具配置 Sublime Text 2 【转】
- LifseaOS 悄然来袭,一款为云原生而生的 OS
- 在elementary os上安装brave 浏览器
- Linux 通过os进程pid找到端口号
- AndroidShell (Mac Os Commands)
- The specified executable is not a validapplication for this OS platform.
- mac os安装selenium python2.7
- [Sqlite] --> Sqlite于Windows、Linux 和 Mac OS X 在安装过程
- python os操作
- Harmony OS — TextField输入框
- Harmony OS — RadioButton & RadioContainer单选按钮&单选按钮组
- 将python3中os.popen()的默认编码由ascii修改为utf-8
- iMac2021 在重新安装mac os时,出现“没有待授权的用户”