0
Fixed

YUM repo problem: Metadata doesn't match

AirOnSkin vor 10 Jahren aktualisiert von Eugene Pankov (Project coordinator) vor 10 Jahren 5
Installing Ajenti on CentOS 6 doesn't work because the checksum of the repodata file doesn't match.
Adding the repo works but interacting with it doesn't (yum -y update or yum -y install ajenti)

The install docs suggest to clean the metadata of yum, but that doesn't resolv the problem.
See the following output:

root@bleak: ~ # yum clean all
Loaded plugins: security
Cleaning repos: base epel extras ius remi updates
Cleaning up Everything

root@bleak: ~ # yum clean metadata
Loaded plugins: security
Cleaning repos: base epel extras ius remi updates
0 metadata files removed
0 sqlite files removed
0 metadata files removed

root@bleak: ~ # wget http://repo.ajenti.org/ajenti-repo-1.0-1.noarch.rp... && rpm -i ajenti-repo-1.0-1.noarch.rpm && rm ajenti-repo-1.0-1.noarch.rpm
2014-09-08 10:39:56 URL:http://repo.ajenti.org/ajenti-repo-1.0-1.noarch.rp... [3327/3327] -> "ajenti-repo-1.0-1.noarch.rpm.1" [1]
removed `ajenti-repo-1.0-1.noarch.rpm'

root@bleak: ~ # yum -y install ajenti
Loaded plugins: security
ajenti/primary | 27 kB 00:00
http://repo.ajenti.org/ng/centos/6/x86_64/repodata... [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from ajenti: [Errno 256] No more mirrors to try.

root@bleak: ~ # yum clean metadata
Loaded plugins: security
Cleaning repos: ajenti base epel extras ius remi updates
4 metadata files removed
0 sqlite files removed
0 metadata files removed

root@bleak: ~ # yum -y install ajenti
Loaded plugins: security
ajenti | 951 B 00:00
ajenti/primary | 27 kB 00:00
http://repo.ajenti.org/ng/centos/6/x86_64/repodata... [Errno -1] Metadata file does not match checksum
Trying other mirror.
ajenti/primary | 27 kB 00:00
http://repo.ajenti.org/ng/centos/6/x86_64/repodata... [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from ajenti: [Errno 256] No more mirrors to try.
root@bleak: ~ #

I've installed Ajenti a few days back and the problem didn't exist then.
Would be great if this could be resolved.

Cheers,
Stefan
GUT, ICH BIN ZUFRIEDEN.
The info about the caching proxy helped resolve the problem. I also appreciate the quick response.
Zufriedenheit von AirOnSkin vor 10 Jahren
Wird überprüft
I've rebuilt the repo. Let me know if that helps.
Hey Eugene

Nope, that did not help. See:
root@bleak: ~ # yum clean metadata
Loaded plugins: security
Cleaning repos: ajenti base epel extras ius remi updates
3 metadata files removed
0 sqlite files removed
0 metadata files removed
root@bleak: ~ # yum -y install ajenti
Loaded plugins: security
ajenti | 951 B 00:00
ajenti/primary | 27 kB 00:00
http://repo.ajenti.org/ng/centos/6/x86_64/repodata... [Errno -1] Metadata file does not match checksum
Trying other mirror.
ajenti/primary | 27 kB 00:00
http://repo.ajenti.org/ng/centos/6/x86_64/repodata... [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from ajenti: [Errno 256] No more mirrors to try.
+1
Please ensure that there's no caching proxy between you and the repo (this is a quite common issue). 
It works fine on my box.
Ah, that did the trick. Unfortunately I can't remove the caches, but disabling the domain 'repo.ajenti.org' for caching works. Thanks for the help :)