centOS环境下使用yum安装svn出现错误?

dongtao1010 2015-09-21 08:47:22
运行环境:VMware 10.0 ,CentOS6.5
最近突然想了解一下hadoop的运行机制,想用虚拟机搭建hadoop环境,在搭建过程中
安装好maven后,准备装一个svn,想采用yum来安装svn
具体的执行代码为[root@master hadoop]# yum install svn
但是会出现下面的错误,Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.mirror.iweb.ca
* extras: centos.mirror.iweb.ca
* updates: centos.mirror.iweb.ca
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package subversion.x86_64 0:1.6.11-15.el6_7 will be installed
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion-1.6.11-15.el6_7.x86_64
--> Running transaction check
---> Package perl-URI.noarch 0:1.40-2.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
subversion x86_64 1.6.11-15.el6_7 updates 2.3 M
Installing for dependencies:
perl-URI noarch 1.40-2.el6 base 117 k

Transaction Summary
================================================================================
Install 2 Package(s)

Total download size: 2.4 M
Installed size: 12 M
Is this ok [y/N]: y
Downloading Packages:
http://centos.mirror.iweb.ca/6/os/x86_64/Packages/perl-URI-1.40-2.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'centos.mirror.iweb.ca'"
Trying other mirror.
http://centos.ustc.edu.cn/centos/6/os/x86_64/Packages/perl-URI-1.40-2.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'centos.ustc.edu.cn'"
Trying other mirror.
http://ftp.sjtu.edu.cn/centos/6/os/x86_64/Packages/perl-URI-1.40-2.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'ftp.sjtu.edu.cn'"
Trying other mirror.
http://mirror.bit.edu.cn/centos/6/os/x86_64/Packages/perl-URI-1.40-2.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.bit.edu.cn'"
Trying other mirror.
http://mirror.neu.edu.cn/centos/6/os/x86_64/Packages/perl-URI-1.40-2.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.neu.edu.cn'"
Trying other mirror.
http://mirrors.neusoft.edu.cn/centos/6/os/x86_64/Packages/perl-URI-1.40-2.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.neusoft.edu.cn'"
Trying other mirror.
http://mirrors.opencas.cn/centos/6/os/x86_64/Packages/perl-URI-1.40-2.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.opencas.cn'"
Trying other mirror.
http://mirrors.zju.edu.cn/centos/6/os/x86_64/Packages/perl-URI-1.40-2.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.zju.edu.cn'"
Trying other mirror.
ftp://mirror.aarnet.edu.au/pub/centos/6/os/x86_64/Packages/perl-URI-1.40-2.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.aarnet.edu.au'"
Trying other mirror.
ftp://mirror.anl.gov/pub/centos/6/os/x86_64/Packages/perl-URI-1.40-2.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.anl.gov'"
Trying other mirror.
http://centos.mirror.iweb.ca/6/updates/x86_64/Packages/subversion-1.6.11-15.el6_7.x86_64.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'centos.mirror.iweb.ca'"
Trying other mirror.
http://centos.ustc.edu.cn/centos/6/updates/x86_64/Packages/subversion-1.6.11-15.el6_7.x86_64.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'centos.ustc.edu.cn'"
Trying other mirror.
http://ftp.sjtu.edu.cn/centos/6/updates/x86_64/Packages/subversion-1.6.11-15.el6_7.x86_64.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'ftp.sjtu.edu.cn'"
Trying other mirror.
http://mirror.bit.edu.cn/centos/6/updates/x86_64/Packages/subversion-1.6.11-15.el6_7.x86_64.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.bit.edu.cn'"
Trying other mirror.
http://mirror.neu.edu.cn/centos/6/updates/x86_64/Packages/subversion-1.6.11-15.el6_7.x86_64.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.neu.edu.cn'"
Trying other mirror.
http://mirrors.neusoft.edu.cn/centos/6/updates/x86_64/Packages/subversion-1.6.11-15.el6_7.x86_64.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.neusoft.edu.cn'"
Trying other mirror.
http://mirrors.opencas.cn/centos/6/updates/x86_64/Packages/subversion-1.6.11-15.el6_7.x86_64.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.opencas.cn'"
Trying other mirror.
http://mirrors.zju.edu.cn/centos/6/updates/x86_64/Packages/subversion-1.6.11-15.el6_7.x86_64.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.zju.edu.cn'"
Trying other mirror.
ftp://mirror.aarnet.edu.au/pub/centos/6/updates/x86_64/Packages/subversion-1.6.11-15.el6_7.x86_64.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.aarnet.edu.au'"
Trying other mirror.
ftp://mirror.anl.gov/pub/centos/6/updates/x86_64/Packages/subversion-1.6.11-15.el6_7.x86_64.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.anl.gov'"
Trying other mirror.

由于我是小白不清楚是哪儿出了问题,能有人给解答一下不。
...全文
588 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
文仔旺 2016-05-24
  • 打赏
  • 举报
回复
在/etc/hosts添加其域名即可
skyWalker_ONLY 2015-09-22
  • 打赏
  • 举报
回复
系统默认的yum源网络不通,可以在网上搜一下网易的yum源

20,808

社区成员

发帖
与我相关
我的任务
社区描述
Hadoop生态大数据交流社区,致力于有Hadoop,hive,Spark,Hbase,Flink,ClickHouse,Kafka,数据仓库,大数据集群运维技术分享和交流等。致力于收集优质的博客
社区管理员
  • 分布式计算/Hadoop社区
  • 涤生大数据
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧