Bug 452728 - Not searching packagekit
Summary: Not searching packagekit
Status: RESOLVED WORKSFORME
Alias: None
Product: Discover
Classification: Applications
Component: PackageKit (other bugs)
Version First Reported In: 5.24.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-18 11:11 UTC by old486whizz
Modified: 2022-05-18 04:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
comparison between pkcon and discover (247.40 KB, image/png)
2022-04-18 11:11 UTC, old486whizz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description old486whizz 2022-04-18 11:11:03 UTC
Created attachment 148218 [details]
comparison between pkcon and discover

SUMMARY
***
Fedora 35, PackageKit version 1.2.4, PackageKit-Qt5 version 1.0.2 .
Using Discover, seems that packagekit integration doesn't actually work correctly, and numerous packages are missing for some reason.
***


STEPS TO REPRODUCE
1. open up discover
2. ensure packagekit extension is being used
3. Search for "thunderbird" - get zero results
4. Open terminal and type "pkcon search name thunderbird" to see multiple results (also "pkcon search thunderbird")

OBSERVED RESULT
The search results differ between "pkcon" (querying PackageKit directly) and Discover (which returns no results).

EXPECTED RESULT
Discover and "pkcon" should return matching results.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: (Fedora 35)
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Some PackageKit communication must be happening, since it can see some packages from one of the sources - but it doesn't show all the packages from that source (thunderbird as an example).
Comment 1 Nate Graham 2022-04-18 15:19:57 UTC
Indeed, Discover does not use PackageKit for searching; it uses AppStream. This is deliberate, because AppStream only shows software that has AppStream Metadata, and Discover is an "app store", not a general purpose package manager.

What does `appstreamcli search thunderbird` show for you? If Thunderbird is missing from the output there, it's a bug somewhere with the distro or the local AppStream metadata configuration.

FWIW I'm using Fedora 35 as well and for me Thunderbird appears both in Discover and in the output of `appstreamcli search thunderbird`.
Comment 2 Bug Janitor Service 2022-05-03 04:35:07 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-05-18 04:35:32 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!