To resolve this issue follow below steps.
- Remove /var/cache/yum directory.
# rm -fr /var/cache/yum
- List installed and enabled repositories.
# yum repolist
- Then execute the following command to generate an updated updateinfo.xml file.
# yum check-update
- Once the steps above are done, Check to see if the file has the wrong permissions.
# find /var -name updateinfo.xml -ls
- Check to see if the root user’s UMASK values are correct. By default, the UMASK value is 0022.
# umask