解决 yum Error: database disk image is malformed

问题出现:


[root@bogon ~]# yum -y install screen

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

 * base: mirror.bit.edu.cn

 * extras: mirror.bit.edu.cn

 * updates: mirror.bit.edu.cn

Error: database disk image is malformed



解决办法:


[root@bogon ~]# yum clean dbcache

Loaded plugins: fastestmirror

Cleaning repos: base extras updates

10 sqlite files removed


你可能感兴趣的:(error,yum,yum)