设为首页 收藏本站
查看: 1697|回复: 0

[经验分享] Fix error: yum primary.sqlite.bz2: [Errno

[复制链接]

尚未签到

发表于 2015-3-22 17:13:01 | 显示全部楼层 |阅读模式
  One error make me craze that the yum does not work for me in fedora8 for  some days. Research it for a long time to fix it.  Now share it.
  The error below:
  when you use yum to update or install , it will output below message "Errno -3] Error performing checksum
Trying other mirror." Details in below :
  # yum update python
b1d2a15ae36ee1cbf8009d2b0 100% |=========================| 12 MB 00:07
http://mirrors.163.com/fedora/development/x86_64/os/repodata/b1d2a15ae36ee1cbf8009d2b0101cbe686239648e24f166dfc571d35ee698cbe-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
b1d2a15ae36ee1cbf8009d2b0 100% |=========================| 12 MB 00:08
http://ubuntu.cn99.com/fedora/development/x86_64/os/repodata/b1d2a15ae36ee1cbf8009d2b0101cbe686239648e24f166dfc571d35ee698cbe-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
b1d2a15ae36ee1cbf8009d2b0 100% |=========================| 12 MB 01:20
http://mirror1.ku.ac.th/fedora/development/x86_64/os/repodata/b1d2a15ae36ee1cbf8009d2b0101cbe686239648e24f166dfc571d35ee698cbe-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
b1d2a15ae36ee1cbf8009d2b0 100% |=========================| 6.0 MB 01:58
b1d2a15ae36ee1cbf8009d2b0 100% |=========================| 12 MB 01:21
http://ftp.jaist.ac.jp/pub/Linux/Fedora/development/x86_64/os/repodata/b1d2a15ae36ee1cbf8009d2b0101cbe686239648e24f166dfc571d35ee698cbe-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
http://ftp.linux.org.tr/fedora/development/x86_64/os/repodata/b1d2a15ae36ee1cbf8009d2b0101cbe686239648e24f166dfc571d35ee698cbe-primary.sqlite.bz2: [Errno 14] HTTP Error 403: Forbidden
Trying other mirror.
b1d2a15ae36ee1cbf8009d2b0 100% |=========================| 12 MB 02:43
ftp://ftp.sfc.wide.ad.jp/pub/Linux/Fedora/development/x86_64/os/repodata/b1d2a15ae36ee1cbf8009d2b0101cbe686239648e24f166dfc571d35ee698cbe-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
b1d2a15ae36ee1cbf8009d2b0 100% |=========================| 12 MB 01:58
http://ftp.kddilabs.jp/Linux/packages/fedora/development/x86_64/os/repodata/b1d2a15ae36ee1cbf8009d2b0101cbe686239648e24f166dfc571d35ee698cbe-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
b1d2a15ae36ee1cbf8009d2b0 100% |=========================| 2.3 MB 00:23
  Error: failure: repodata/b1d2a15ae36ee1cbf8009d2b0101cbe686239648e24f166dfc571d35ee698cbe-primary.sqlite.bz2 from development: [Errno 256] No more mirrors to try.
  --------------
  The reason is that one resp. is broken.
  To fix it, simple to disable the source.   In my above case ,it broke the development source, so disable it.
  open the configure file:
  vi /etc/yum.repos.d/fedora-development.repo
  1 # These packages are untested and still under development. This
2 # repository is used for updates to test releases, and for
3 # development of new releases.
4 #
5 # This repository can see significant daily turnover and major
6 # functionality changes which cause unexpected problems with other
7 # development packages. Please use these packages if you want to work
8 # with the Fedora developers by testing these new development packages.
9 #
10 # fedora-test-list@redhat.com is available as a discussion forum for
11 # testing and troubleshooting for development packages in conjunction
12 # with new test releases.
13 #
14 # More information is available at http://fedoraproject.org/wiki/Testing
15 #
16 # Reproducible and reportable issues should be filed at
17 # http://bugzilla.redhat.com/.
18 #
19 # Product: Fedora
20 # Version: devel
21 [development]
22 name=Fedora - Development
23 failovermethod=priority
24 #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/x86_64/os/
25 mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=x86_64
  26 enabled =1
27 gpgcheck=0
28 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
29 [development-debuginfo]
30 name=Fedora - Development - Debug
31 failovermethod=priority
32 #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/x86_64/debug/
33 mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-debug&arch=x86_64
34 enabled=0
35 gpgcheck=0
36 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
37 [development-source]
38 name=Fedora - Development - Source
39 failovermethod=priority
40 #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/source/SRPMS/
41 mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=x86_64
42 enabled=0
43 gpgcheck=0
44 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
  Change the line26 ,  enabled=1 to  enabled=0.
  Then try yum again. It is really work! perfact
  yum install scons
Existing lock /var/run/yum.pid: another copy is running as pid 28490.
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...

Exiting on user cancel.
[iyunv@localhost yum.repos.d]# yum install scons
epel 100% |=========================| 3.4 kB 00:00
f0f92614b5fb873dadd850673 100% |=========================| 1.1 MB 00:05
fedora 100% |=========================| 2.1 kB 00:00
primary.sqlite.bz2 100% |=========================| 5.8 MB 01:49
rpmforge 100% |=========================| 1.1 kB 00:00
primary.xml.gz 100% |=========================| 3.4 MB 00:57
rpmforge : ################################################## 9539/9539
updates 100% |=========================| 2.6 kB 00:00
primary.sqlite.bz2 100% |=========================| 2.2 kB 00:00
adobe-linux-i386 100% |=========================| 951 B 00:00
primary.xml.gz 100% |=========================| 12 kB 00:00
adobe-linu: ################################################## 17/17
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package scons.noarch 0:1.2.0-1.el5.rf set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
scons noarch 1.2.0-1.el5.rf rpmforge 1.2 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): scons-1.2.0-1.el5. 100% |=========================| 1.2 MB 00:22
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: scons ######################### [1/1]
Installed: scons.noarch 0:1.2.0-1.el5.rf
Complete!

  

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-49455-1-1.html 上篇帖子: sqlite3 命令行操作 下篇帖子: 交叉编译Python至嵌入式arm(支持import sqlite3,datetime等)-----Cross Compiling Python for Emb
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表