Apoorv Purohit
Apoorv Purohit

Reputation: 1

CentOS 6 - YUM doesn't work - primary.sqlite.bz2 [Error -1] Metadata file does not match checksum

This error doesn't go away until I remove percona-release-0.1-6.noarch.rpm from my repository.

*percona-release-noarch/primary_db | 972 B 00:00

http://repo.percona.com/release/6/RPMS/noarch/repodata/11d28cdbe574f40a909a59ebad292167baabb433e0366950389952475ddf1184-primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum Trying other mirror. Error: failure: repodata/11d28cdbe574f40a909a59ebad292167baabb433e0366950389952475ddf1184-primary.sqlite.bz2 from percona-release-noarch: [Errno 256] No more mirrors to try.*

P.S. I have tried

yum clean all yum clean metadata rm -rf /var/cache/yum/* rm -rf /var/tmp/yum*

nothing works. Also, removing the repository from using rpm -e solves, but I need to install percona tools.

Any help will be appreciated.

Upvotes: 0

Views: 2090

Answers (2)

greenweeds
greenweeds

Reputation: 554

disclosure: I am from Percona

We tried to reproduce your problem without success. Perhaps there was a connectivity issue, it's hard to tell. This was what we used:

yum install http://www.percona.com/downloads/percona-release/redhat/0.1-6/percona-release-0.1-6.noarch.rpm

As you have already removed the package we would suggest that you run

sudo yum clean all

and then install the package once again using this command

yum install http://www.percona.com/downloads/percona-release/redhat/0.1-6/percona-release-0.1-6.noarch.rpm

See how you get on.

Upvotes: 0

Aaron D. Marasco
Aaron D. Marasco

Reputation: 6748

I don't know what Percona is, but that repository seems to (a) have no mirrors and (b) have their metadata messed up. Nothing you can do from your end, sorry.

Upvotes: 0

Related Questions