diff --git a/plugins/local.py b/plugins/local.py index 1ca61660..64d25cd7 100644 --- a/plugins/local.py +++ b/plugins/local.py @@ -104,6 +104,7 @@ def pre_config(self): local_repo = dnf.repo.Repo("_dnf_local", self.base.conf) local_repo.baseurl = "file://{}".format(self.main["repodir"]) local_repo.cost = 500 + local_repo.metadata_expire = 0 local_repo.skip_if_unavailable = True self.base.repos.add(local_repo)