solver: Use load_repos instead of update_and_load_enabled_repos
The old function has been deprecated by dnf5, use load_repos directly and only load the available repos (the ones osbuild has setup), not the system repos. Fixes #2080
This commit is contained in:
parent
68830eabe4
commit
d3dc07886c
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ class DNF5(SolverBase):
|
|||
)
|
||||
repo_iter.next()
|
||||
|
||||
self.base.get_repo_sack().update_and_load_enabled_repos(load_system=False)
|
||||
self.base.get_repo_sack().load_repos(dnf5.repo.Repo.Type_AVAILABLE)
|
||||
except RuntimeError as e:
|
||||
raise RepoError(e) from e
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue