Advice on progressing this

Kamil Paral kparal at redhat.com
Fri Sep 11 08:55:46 UTC 2015


> I have a small local repository of packages. However when I add
> something new and recreate the repodata (using createrepo_c), dnf does
> not re-read the new data. If I do a "dnf clean all" it claims it cleans
> the local repository, but then on "dnf check-update" it does not appear
> to refresh its data based on the local repository data. Thus I get no
> updates of things newly updated in the local repository.
> 
> I have no idea how to debug this, so I am looking for advice on what to
> check and/or what I might have done wrong.

Look at metadata_expire in your .repo file. Also, if you combine root and non-root querying, it might be possible that you cleaned one cache, but the second got used instead. Instead of "clean all", it's easier to use "--refresh".


More information about the test mailing list