Linux – CentOS – Yum doesn’t update anymore

centoslinuxterminalyum

I've been trying to use yum now, but for some reason, not even the search work anymore. I even tried putting packages I already downloaded in the search criteria and is the same.

[root@AMDFX03 Downloads]# yum search glibc
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink                                            |  22 kB     00:00     
 * base: centos.secrel.com.br
 * epel: archive.linux.duke.edu
 * extras: centos.secrel.com.br
 * rpmforge: apt.sw.be
 * updates: centos.secrel.com.br
adobe-linux-x86_64/primary                               | 1.2 kB     00:00     
http://linuxdownload.adobe.com/linux/x86_64/repodata/primary.xml.gz:
[Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from adobe-linux-x86_64:
[Errno 256] No more  mirrors to try.

This error always appear no matter what I do.
Please, can you tell me how to fix this, or at least how to reset yum's configuration?

Best Answer

First of all, thanks to SnakeDoc for the help, I was feeling hopeless with this error. Second, I found in a forum that by adding http_caching=none to the yum.conf file in /etc/, I managed to fix the problem.

Seems that with "yum clean all" was cleaning, but was retrieving the corrupted metadata from the cache. With this, it'll be okay.

Related Question