[wayne@wayne ~]$ sudo yum install gcc
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink | 5.4 kB 00:00
Error: Cannot find a valid baseurl for repo: rpmfusion-free
用yum的以上结果就如上所示
昨晚整了一天,还是没解决
/etc/resolv.conf内容是这样的:
# Generated by NetworkManager
search chen
nameserver 202.114.0.242
nameserver 202.112.20.131
ping www.baidu.com结果是这样的:[wayne@wayne bin]$ ping www.baidu.com
PING www.a.shifen.com (119.75.217.56) 56(84) bytes of data.
64 bytes from 119.75.217.56: icmp_seq=1 ttl=51 time=19.7 ms
64 bytes from 119.75.217.56: icmp_seq=2 ttl=51 time=19.6 ms
64 bytes from 119.75.217.56: icmp_seq=3 ttl=51 time=19.5 ms
64 bytes from 119.75.217.56: icmp_seq=4 ttl=51 time=19.5 ms
^C
--- www.a.shifen.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3730ms
rtt min/avg/max/mdev = 19.529/19.612/19.725/0.160 ms
所以DNS应该没问题。
那就是/etc/yum.repos.d/CentOS-*.repo那些文件的问题,
哪位大神能把你的CentOS-Base.repo还有其他几个repo文件贴给我看下吗?
在此谢过~
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink | 5.4 kB 00:00
Error: Cannot find a valid baseurl for repo: rpmfusion-free
用yum的以上结果就如上所示
昨晚整了一天,还是没解决
/etc/resolv.conf内容是这样的:
# Generated by NetworkManager
search chen
nameserver 202.114.0.242
nameserver 202.112.20.131
ping www.baidu.com结果是这样的:[wayne@wayne bin]$ ping www.baidu.com
PING www.a.shifen.com (119.75.217.56) 56(84) bytes of data.
64 bytes from 119.75.217.56: icmp_seq=1 ttl=51 time=19.7 ms
64 bytes from 119.75.217.56: icmp_seq=2 ttl=51 time=19.6 ms
64 bytes from 119.75.217.56: icmp_seq=3 ttl=51 time=19.5 ms
64 bytes from 119.75.217.56: icmp_seq=4 ttl=51 time=19.5 ms
^C
--- www.a.shifen.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3730ms
rtt min/avg/max/mdev = 19.529/19.612/19.725/0.160 ms
所以DNS应该没问题。
那就是/etc/yum.repos.d/CentOS-*.repo那些文件的问题,
哪位大神能把你的CentOS-Base.repo还有其他几个repo文件贴给我看下吗?
在此谢过~
