Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I get the error as following. my linux is centos5.

yum list
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons:
 * base:
 * extras:
 * updates:
Error: unsupported file format
share|improve this question

migrated from Dec 8 '10 at 16:47

This question came from our site for professional and enthusiast programmers.

That error is coming from sqlite, which is pretty bad. You can do:

yum clean dbcache

...and it should work. If that doesn't then the "yum clean all" hammer will fix the problem. It's kind of weird for any of the sqlite files to get corrupted though, you might want to check smart data etc. (make sure you don't have general FS corruption).

share|improve this answer

I think you have modified files /etc/yum.repos.d/*.repo or have you added any new repo path to the directory /etc/yum.repos.d/ ..?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.