Error: database disk image is malformed
Yum is a tool available for installing packages on RPM based Linux distributions. I have recently found the following error while trying to install updates on CentOS. “Error: database disk image is malformed”
[root@localhost ~]# yum update Loaded plugins: fastestmirror, security Setting up Install Process Determining fastest mirrors * base: ftp.usf.edu * extras: mirror.atlantic.net * updates: mirror.eboundhost.com extras | 3.4 kB 00:00 extras/primary_db | 37 kB 00:00 updates | 3.4 kB 00:00 updates/primary_db | 5.2 MB 00:00 Error: database disk image is malformed [root@localhost ~]#
This error can be easily fixed by running following command.
yum clean dbcache
That’s it.
If you like this post and wish to receive more articles from us, please like our FB page: Grepitout
Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.
For more details on our services, please drop us an E-mail at info@grepitout.com
Add Comment