Ask Your Question

dnf using old metadata

asked 2015-04-19 02:16:02 -0600

pranavk gravatar image

I just upgraded to Fedora 22 (not released yet), which comes with dnf and have deprecated yum.

While installing any package, dnf outputs this on the console :

Using metadata from Sun Apr 19 04:27:16 2015 (8:09:10 hours old)

I also did : dnf makecache, which successfully updated the metadata but still the same message mentioned above.

I was wondering how to make dnf use the latest metadata.

Here is the full log of what I was trying to do :

Failed to synchronize cache for repo '_local' from 'file:///var/lib/dnf/plugins/local': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried, disabling. Using metadata from Sun Apr 19 04:27:16 2015 (8:17:19 hours old) Error: nothing provides needed by vlc-core-2.2.0-0.2.fc21.x86_64

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2015-04-19 13:42:40 -0600

skytux gravatar image

Well, I'm using dnf in Fedora 21 and facing the same issue. Not sure if it is the correct way, but what I do is:

$ sudo dnf clean all



edit flag offensive delete link more

answered 2015-04-19 12:59:43 -0600

hedayat gravatar image

This seems to be related to your _local repository (created/used by "local" plugin), which seems to be not available?!

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-04-19 02:11:35 -0600

Seen: 1,314 times

Last updated: Apr 19 '15