`
Appleses
  • 浏览: 343922 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

安装mysql-connector-java出现以下问题,解决

阅读更多
[root@master-hadoop hive]# yum install mysql-connector-java -y
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: mirrors.aliyun.com
* updates: centos.ustc.edu.cn
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql-connector-java.noarch 1:5.1.17-6.el6 will be installed
--> Processing Dependency: jta >= 1.0 for package: 1:mysql-connector-java-5.1.17-6.el6.noarch
--> Processing Dependency: slf4j for package: 1:mysql-connector-java-5.1.17-6.el6.noarch
--> Running transaction check
---> Package geronimo-specs-compat.noarch 0:1.0-3.5.M2.el6 will be installed
--> Processing Dependency: geronimo-specs = 1.0-3.5.M2.el6 for package: geronimo-specs-compat-1.0-3.5.M2.el6.noarch
---> Package slf4j.noarch 0:1.5.8-8.el6 will be installed
--> Running transaction check
---> Package geronimo-specs.noarch 0:1.0-3.5.M2.el6 will be installed
--> Processing Dependency: mx4j >= 2.0.1 for package: geronimo-specs-1.0-3.5.M2.el6.noarch
--> Processing Dependency: apache-tomcat-apis for package: geronimo-specs-1.0-3.5.M2.el6.noarch
--> Running transaction check
---> Package apache-tomcat-apis.noarch 0:0.1-1.el6 will be installed
---> Package mx4j.noarch 1:3.0.1-9.13.el6 will be installed
--> Processing Dependency: log4j >= 1.2.7 for package: 1:mx4j-3.0.1-9.13.el6.noarch
--> Processing Dependency: javamail >= 1.2-5jpp for package: 1:mx4j-3.0.1-9.13.el6.noarch
--> Processing Dependency: jakarta-commons-logging >= 1.0.1 for package: 1:mx4j-3.0.1-9.13.el6.noarch
--> Processing Dependency: bcel >= 5.0 for package: 1:mx4j-3.0.1-9.13.el6.noarch
--> Processing Dependency: axis >= 1.1 for package: 1:mx4j-3.0.1-9.13.el6.noarch
--> Processing Dependency: xml-commons-resolver for package: 1:mx4j-3.0.1-9.13.el6.noarch
--> Processing Dependency: xml-commons-apis for package: 1:mx4j-3.0.1-9.13.el6.noarch
--> Processing Dependency: xml-commons for package: 1:mx4j-3.0.1-9.13.el6.noarch
--> Processing Dependency: jaf for package: 1:mx4j-3.0.1-9.13.el6.noarch
--> Running transaction check
---> Package axis.noarch 0:1.2.1-7.3.el6_3 will be installed
--> Processing Dependency: wsdl4j for package: axis-1.2.1-7.3.el6_3.noarch
--> Processing Dependency: jaxp_parser_impl for package: axis-1.2.1-7.3.el6_3.noarch
base/filelists_db                                                                   | 5.9 MB     00:03    
extras/filelists_db                                                                 |  11 kB     00:00    
http://centos.ustc.edu.cn/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
http://mirrors.cug.edu.cn/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
http://mirror.bit.edu.cn/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.bit.edu.cn'"
Trying other mirror.
http://mirror.neu.edu.cn/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
http://mirrors.neusoft.edu.cn/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
http://mirrors.pubyun.com/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
http://mirrors.163.com/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
http://mirrors.hustunique.com/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
http://mirrors.btte.net/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
http://mirrors.grandcloud.cn/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error: failure: repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest



解决方法:
yum clean all
yum makecache

可参考:http://www.it345.net/post/92.html
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics