Skip to content

Commit

Permalink
Fix command-line execution for listing packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtwebster committed Jul 30, 2024
1 parent e247c7b commit c052c13
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions usr/lib/linuxmint/mintinstall/mintinstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -2124,8 +2124,9 @@ def export_listing(self, flatpak_only=False):

from mintcommon.installer import cache

self.installer.cache = cache.PkgCache(self.installer.have_flatpak)
self.installer.force_new_cache()
self.installer.cache = cache.PkgCache(None, None, self.installer.have_flatpak)
self.installer.cache._generate_cache_thread()

self.installer.backend_table = {}

self.installer.initialize_appstream()
Expand Down

0 comments on commit c052c13

Please sign in to comment.