database disk image is malformed

在Linux上使用yum安装软件的时候报如下错误:

database disk image is malformed

根本原因是:yum的缓存出错, 需要清理缓存

使用如下命令来解决这个问题:

yum clean dbcache

原文地址:https://www.cnblogs.com/stonefeng/p/6143208.html