Made sure to update the package databases before running --info (#3311)

This commit is contained in:
Anton Hvornum 2025-03-30 20:53:41 +02:00 committed by GitHub
parent da6e2f3618
commit 1fbb21f38a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ def list_available_packages(
current_package: list[str] = []
filtered_repos = [name for repo in repositories for name in repo.get_repository_list()]
for line in Pacman.run('-S --info'):
for line in Pacman.run('-Sy --info'):
dec_line = line.decode().strip()
current_package.append(dec_line)