[CentOS] [FYI] yum error message: Error: database disk image is malformed

Thu Dec 15 18:28:43 UTC 2016
geo.inbox.ignored <geo.inbox.ignored at gmail.com>

when i tried to update a new install;

~]$ sudo yum -y update
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Update Process
Determining fastest mirrors
 * base: repos.dfw.quadranet.com
 * extras: repos.dfw.quadranet.com
 * updates: repos.dfw.quadranet.com
extras                                                   | 3.4 kB     00:00
extras/primary_db                                        |  37 kB     00:00
updates                                                  | 3.4 kB     00:00
updates/primary_db                                       | 3.7 MB     00:02
Error: database disk image is malformed

ran a web search, which produced 'about 408 results'. skimmed thru them
looking for a favorable url, which was;


which led to these 2;

  ~]$ sudo yum clean dbcache
  ~]$ sudo yum history new

system is now updateing without errors.

hope this is help to anyone who man have problem.


The important thing is not to stop questioning.
 - Albert Einstein

CentOS GNU/Linux 6.8
KDE 4.3.4

peace out.



Tired of having your microsoft os hacked?
Change to Linux os, used by microsoft hackers.
If Bill Gates got a dime for every time Windows crashes...
 ...oh, wait. He does. THAT explains it!
in a world with out fences, who needs gates.