yum makecache 时出现[Errno -3] Error performing checksum 错误的解决方法

现象:

[[email protected] yum.repos.d]# yum clean all

Cleaning up Everything

[[email protected] yum.repos.d]# yum makecache

base                      100% |=========================| 3.7 kB    00:00

9a3a8909e656c27cd85c75a2d 100% |=========================| 4.6 MB    00:02

http://mirrors.aliyun.com/centos/6/os/x86_64/repodata/9a3a8909e656c27cd85c75a2d53b491040effa3f170b0369172433843e1829d7-primary.sqlite.bz2: [Errno -3] Error performing checksum

Trying other mirror.

http://mirrors.aliyuncs.com/centos/6/os/x86_64/repodata/9a3a8909e656c27cd85c75a2d53b491040effa3f170b0369172433843e1829d7-primary.sqlite.bz2: [Errno 4] IOError: <urlopen error (-3, ‘\xd3\xf2\xc3\xfb\xbd\xe2\xce\xf6\xd4\xdd\xca\xb1\xca\xa7\xb0\xdc‘)>

Trying other mirror.

Error: failure: repodata/9a3a8909e656c27cd85c75a2d53b491040effa3f170b0369172433843e1829d7-primary.sqlite.bz2 from base: [Errno 256] No more mirrors to try.

[[email protected] yum.repos.d]#

解决方法:

1、尝试了网络上enable=0和hash加密的解决方法,还是未解决

2、主要是因为repos的版本与系统不一样,因为我的系统核心是Linux .6.26.8.4. 而我下载的是centos 6的repo文件,正确的应该是下载Centos 5的相应文件

时间: 2024-08-28 05:54:10

yum makecache 时出现[Errno -3] Error performing checksum 错误的解决方法的相关文章

Hive: TApplicationException: Internal error processing get_partition_names 错误的解决方法

有时候,某些非常规的操作会导致将要建立数据库/表与保存在metastore里的数据库/表的信息发生冲突,导致无法建立相应的数据库/表.举个例子:如果没有使用常规的drop database/table去删除一个数据库或是表,而是直接在hdfs上删除了相应的文件夹或文件,比如:/user/hive/warehouse/xxxxx.db,然后当你重新试图使用建库脚本建库时,有可能会报出: FAILED: Execution Error, return code 1 from org.apache.h

VC6的工程转到VC2010或更高版本出现fatal error C1189编译错误的解决方法

以前也遇到过,当时解决了没写下来,这次正好又遇到了,就顺手写一下吧,别下次又忘记了. 当VC6的工程转到VC2010或更高版本时编译出现如下错误: c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxver_.h(81): fatal error C1189: #error :  Please use the /MD switch for _AFXDLL builds 很多解决方法是把工程属性中的“常规”-“MFC

安装lxml时gcc: internal compiler error: Killed (program cc1)的解决方法

在安装lxml时出现如下错误 gcc: internal compiler error: Killed (program cc1) 通过查看dmesg发现下述错误信息[2517343.500178] Out of memory: Kill process 5051 (cc1) score 632 or sacrifice child[2517343.501833] Killed process 5051 (cc1) total-vm:471664kB, anon-rss:326648kB, fi

使用AFNetworking框架时,出现不可接受内容类型错误的解决方法

在使用AFNetworking 3.0时出现了这个问题: Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: text/plain" 以下为代码展示 1 Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request fa

关于vs2010新建MFC项目时弹出当前页面的脚本发生错误的解决方法

最近装了vs2010但是在新建项目的时候老是弹出当前页面的脚本发生错误,问了好多人网上也查了,结果还是不行,后来就自己尝试着解决,没想到竟然成功了,纪念一下,帮助需要解决此问题的人解决这样的问题. 正文: 首先看看问题,插入图片 我们就根据它提示错误的地方,找到它所提示的位置,比如第一张提示提示Program Files (x86)\Microsoft Visual Studio 10.0\VC\VCWizards\AppWiz\MFC\Application\html\2052\default

yum安装软件包时出现Transaction Check Error:错误的解决方法

[[email protected] ~]# yum install ipa-server Transaction Check Error:  file /usr/share/man/man3/XML::SAX::Base.3pm.gz conflicts between attempted installs of perl-XML-SAX-0.96-7.el6.noarch and perl-XML-SAX-Base-1.04-1.el6.rf.noarch  file /usr/share/

MyEclipse+Tomcat 启动时出现A configuration error occured during startup错误的解决方法

MyEclipse+Tomcat 启动时出现A configuration error occured during startup错误的解决方法 分类: javaweb2013-06-03 14:43 3706人阅读 评论(0) 收藏 举报 当单击MyEclipse中的Debug server 启动服务器的时候,出现了这么个提示: Eclipse菜单,Window->Preference…,打开Preference对话框,找到菜单树中MyEclipse-> Application Serve

yum install 时遇到 HTTP 404 page not found错误

前天在编译软件时,需要 libtool 包,运行 sudo yum install libtool 总是提示HTTP 404 page not found,开始以为是网络出问题了,因为最近几个月网络抽风似乎是正常现象 . 后来查了一下资料,才知道是本地缓存出了问题,解决方法如下: 1.sudo yum clean all 2.rpm rebuilddb yum install 时遇到 HTTP 404 page not found错误

ElasticSearch 安装时一些错误以及解决方法

第1章 ElasticSearch 安装时一些错误以及解决方法 1.1 JDK版本问题 1.1.1 问题: [2020-01-16T09:26:22,296][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [node-1] uncaught exception in thread [main] org.elasticsearch.bootstrap.StartupException: org.elasticsearch.common.in