Thursday, July 28, 2016

DNF - Failed to open: /var/cache/dnf/

Overview

After installing “epel-release” package; when you run “yum updateinfo” its hung.

Applies To

CentOS 7

Error Message


Failed to open: /var/cache/dnf/x86_64/7/x86_64/7/epel/repodata/f0ba540170d9c6246d7a6681c9e6d0a6a33b4c9cd043ba0478d2a6b6a8d7c197-updateinfo.xml.bz2.


Cause

It’s a known issue and bug in CentOS 7. To get more information about this bug, check the url;

Resolution

To resolve this issue, remove “epel-release”, run the command;

yum remove epel-release



Verify DNF

After removing the package, run the command again; 

dnf clean all

dnf updateinfo list



Slideshare Information

A downloadable document has been uploaded to Slideshare.



No comments:

Post a Comment