KDE Discover doesn’t return search results

Case: Searching for app on Discover, it returns results while “checking for updates” is running, but once the check is complete it no longer returns search results.

Specifics

  • Kubuntu 18.04.2, 64-bit
  • KDE Plasma: 5.12.6
  • KDE Frameworks: 5.44.0
  • Qt Version: 5.9.5

Solution

Force-refresh AppStream:

sudo appstreamcli refresh --force

AppStream is:

It provides the foundation to build software-center applications, by providing metadata necessary for an application-centric view on package repositories. AppStream additionally provides specifications for things like an unified software metadata database, screenshot services and various other things needed to create user-friendly application-centers for (Linux) distributions.

Discover, updating its app cache on every launch, most likely causes a conflict with AppStream’s cache. Just a wild guess. Not debugging this.

If this doesn’t solve similar cases, a valid starting point for research might be:

Did this solve your issue?