...bz2: [Errno -1] Metadata file does not match checksum

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
M8R-47ly4s
New Forum User
New Forum User
Posts: 2
Joined: Fri Jul 06, 2012 9:33 am
Location: us

...bz2: [Errno -1] Metadata file does not match checksum

Unread post by M8R-47ly4s »

Hello,

I tried to install the repo on a new RHEL 5 server, but I get yum errors. I also tried "yum clean metadata", but get the same errors:
http://www4.atomicorp.com/channels/atom ... sqlite.bz2: [Errno -1] Metadata file does not match checksum


wget -q -O - http://www.atomicorp.com/installers/atomic |sh

......
Installing the Atomic GPG key: OK
Downloading atomic-release-1.0-14.el5.art.noarch.rpm: OK

The Atomic Rocket Turtle archive has now been installed and configured for your system
The following channels are available:
atomic - [ACTIVATED] - contains the stable tree of ART packages
atomic-testing - [DISABLED] - contains the testing tree of ART packages
atomic-bleeding - [DISABLED] - contains the development tree of ART packages


yum install openvas

Loaded plugins: katello, product-id, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
atomic/primary_db | 865 kB 00:00
http://www2.atomicorp.com/channels/atom ... sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
.........................
atomic/primary_db | 865 kB 00:00
http://www7.atomicorp.com/channels/atom ... sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.sqlite.bz2 from atomic: [Errno 256] No more mirrors to try.
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: ...bz2: [Errno -1] Metadata file does not match checksum

Unread post by mikeshinn »

Have you tried:

yum clean all
M8R-47ly4s
New Forum User
New Forum User
Posts: 2
Joined: Fri Jul 06, 2012 9:33 am
Location: us

Re: ...bz2: [Errno -1] Metadata file does not match checksum

Unread post by M8R-47ly4s »

Yes, I tried all cleaning procedures found in the manual.

But nevermind, it started working now, it seems there was a temporary glitch.
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: ...bz2: [Errno -1] Metadata file does not match checksum

Unread post by mikeshinn »

"yum clean all" for future reference does not always clean all (despite the command being "clean all"). Sometimes you have to wipe the cache with this command:

rm -rf /var/cache/yum/*
axelabs
New Forum User
New Forum User
Posts: 1
Joined: Wed Oct 03, 2012 12:07 pm
Location: United States

Re: ...bz2: [Errno -1] Metadata file does not match checksum

Unread post by axelabs »

In my case running "yum clean all" or "rm -r /var/cache/yum" still did not fix the error. Yum was 'caching' some stuff in:

Code: Select all

rm -r /var/tmp/yum-*
Post Reply