Fix Error: Yum primary.sqlite.bz2: [errno-3] error checking Ming checksum trying other mirror.

Source: Internet
Author: User

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 checking Ming checksum
Trying other mirror. "details in below:

# Yum update Python

B1d2a15ae36ee1cbf8009d2b0 100% | =====================| 12 Mb
Errors [errno-3] error checking Ming checksum
Trying other mirror.
B1d2a15ae36ee1cbf8009d2b0 100% | =======================| 12 Mb
Errors [errno-3] error checking Ming checksum
Trying other mirror.
B1d2a15ae36ee1cbf8009d2b0 100% | =====================| 12 Mb
Errors [errno-3] error checking Ming checksum
Trying other mirror.
B1d2a15ae36ee1cbf8009d2b0 100% | =====================| 6.0 MB
B1d2a15ae36ee1cbf8009d2b0 100% | =====================| 12 Mb
Errors [errno-3] error checking Ming checksum
Trying other mirror.
Pipeline [errno 14] HTTP Error 403: forbidden
Trying other mirror.
B1d2a15ae36ee1cbf8009d2b0 100% | =====================| 12 Mb
Errors [errno-3] error checking Ming checksum
Trying other mirror.
B1d2a15ae36ee1cbf8009d2b0 100% | =====================| 12 Mb
Errors [errno-3] error checking Ming checksum
Trying other mirror.
B1d2a15ae36ee1cbf8009d2b0 100% | =======================| 2.3 MB

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 abve 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 shoshould 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 rows list = http://mirrors.fedoraproject.org/mirrorlist? Repo = rawhide & arch = x86_64
26 enabled = 1
27 gpgcheck = 0
28 gpgkey = file: // etc/pki/rpm-GPG-key-fedora-test file: /// etc/pki/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 rows list = http://mirrors.fedoraproject.org/mirrorlist? Repo = Rawhide-debug & arch = x86_64
34 enabled = 0
35 gpgcheck = 0
36 gpgkey = file: // etc/pki/rpm-GPG-key-fedora-test file: /// etc/pki/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 rows list = http://mirrors.fedoraproject.org/mirrorlist? Repo = Rawhide-Source & arch = x86_64
42 enabled = 0
43 gpgcheck = 0
44 gpgkey = file: // etc/pki/rpm-GPG-key-fedora-test file: /// etc/pki/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 runing 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.
[Root @ localhost yum. Repos. d] # Yum install scons
Epel 100% | =============================| 3.4 kb
F0f92614b5fb873dadd850673 100% | =======================| 1.1 MB
Fedora 100% | =============================| 2.1 kb
Primary.sqlite.bz2 100% | =======================| 5.8 MB 0
Rpmforge 100% | ===========================| 1.1 kb
Primary.xml.gz 100% | =======================| 3.4 MB
Rpmforge: ######################################## ######## 9539/9539
Updates 100% | =============================| 2.6 KB
Primary.sqlite.bz2 100% | =========================| 2.2 kb
Adobe-linux-i386 100% | =================================| 951 B
Primary.xml.gz 100% | =======================| 12 KB
Adobe-linu: ######################################## ######## 17/17
Setting up install process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package scons. noarch. 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
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!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.