How To Fix “Metadata file does not match checksum” YUM error
# yum install -y ImageMagick-perl Loaded plugins: fastestmirror Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package ImageMagick-perl.i386 0:6.2.8.0-4.el5_1.1 set to be updated filelists.xml.gz | 3.9 MB 00:09 http://apt.sw.be/redhat/el5/en/i386/rpmforge/repodata/filelists.xml.gz: [Errno -1] Metadata file does not match checksum Trying other mirror. filelists.xml.gz | 3.9 MB 00:29 http://ftp-stud.fht-esslingen.de/dag/redhat/el5/en/i386/rpmforge/repodata/filelists.xml.gz: [Errno -1] Metadata file does not match checksum Trying other mirror. filelists.xml.gz | 3.9 MB 00:12 http://fr2.rpmfind.net/linux/dag/redhat/el5/en/i386/rpmforge/repodata/filelists.xml.gz: [Errno -1] Metadata file does not match checksum Trying other mirror. Error: failure: repodata/filelists.xml.gz from rpmforge: [Errno 256] No more mirrors to try.
Run the following commands:
yum clean all yum makecache yum update
Then, it should work:
# yum install -y ImageMagick-perl Loaded plugins: fastestmirror Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package ImageMagick-perl.i386 0:6.2.8.0-4.el5_1.1 set to be updated --> Finished Dependency Resolution Dependencies Resolved ==================================================================================================== Package Arch Version Repository Size ==================================================================================================== Installing: ImageMagick-perl i386 6.2.8.0-4.el5_1.1 base 145 k Transaction Summary ==================================================================================================== Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 145 k Downloading Packages: ImageMagick-perl-6.2.8.0-4.el5_1.1.i386.rpm | 145 kB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : ImageMagick-perl 1/1 Installed: ImageMagick-perl.i386 0:6.2.8.0-4.el5_1.1 Complete!
Categories: YUM
Recent Comments