Error: Cannot find a valid baseurl for repo: base

Posted s-p-l

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error: Cannot find a valid baseurl for repo: base相关的知识,希望对你有一定的参考价值。

在搭建git服务器安装数据库的时候,执行命令

yum install Percona-Server-shared-55-5.5.45-rel37.4.el6.x86_64.rpm Percona-Server-client-55-5.5.45-rel37.4.el6.x86_64.rpm Percona-Server-server-55-5.5.45-rel37.4.el6.x86_64.rpm

结果报错:Error: Cannot find a valid baseurl for repo: base

解决办法:vim /etc/resolv.conf

在里边添加如下配置:

; generated by /sbin/dhclient-script
search lan
nameserver 192.168.249.1

yum命令可正常执行



以上是关于Error: Cannot find a valid baseurl for repo: base的主要内容,如果未能解决你的问题,请参考以下文章

configure: error: Cannot find ldap libraries in /usr/lib

Error: Cannot find a valid baseurl for repo 解决方法

Error: Cannot find module 'vue-loader/package.json'

yum出错Error: Cannot find a valid baseurl for repo: base

yum 报错 Error: Cannot find a valid baseurl for repo: base

Error: Cannot find a valid baseurl for repo: base