Skip to content

Commit

Permalink
fix: clean dnf cache before querying for latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
koterpillar committed Sep 21, 2024
1 parent 6b42d7a commit c95bd80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mybox/package/installer/dnf.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ async def dnf_repoquery(self, package: Optional[str]) -> dict[str, str]:
return all packages' versions.
"""

await self.driver.run("dnf", "--quiet", "clean", "expire-cache")

arch = await self.driver.architecture()

args = [
Expand Down

0 comments on commit c95bd80

Please sign in to comment.