At the Home tab: > Unable to load applications > > Please verify Internet connectivity At the Settings tab: nothing. Maybe relevant, three errors when Discover starts. All the same: > The name org.freedesktop.PackageKit was not provided by any .service files % pkg iinfo sysutils/plasma5-discover ; uname -aKU plasma5-discover-5.27.11_1 FreeBSD mowa219-gjp4-zbook-freebsd 15.0-CURRENT FreeBSD 15.0-CURRENT main-n271642-aea9dba46b81 GENERIC-NODEBUG amd64 1500023 1500023 % pkg info -A plasma5-discover plasma5-discover-5.27.11_1: FreeBSD_version: 1500017 build_timestamp: 2024-04-06T11:59:38+0000 built_by : poudriere-git-3.4.1-1-g1e9f97d6 cpe : cpe:2.3:a:kde:discover:5.27.11:::::freebsd15:x64:1 port_checkout_unclean: no port_git_hash : 542e878a66e ports_top_checkout_unclean: no ports_top_git_hash: 58278ae132f repo_type : binary repository : FreeBSD-ports %
I guess, the Home tab issue relates to <https://lists.freebsd.org/archives/freebsd-desktop/2024-April/004257.html>: > … another component required to fully utilize application store apps - > AppStream. The work on this front is being done too, but for now you > won't be able to search and install packages - only update them. …
I just discovered that Discover is now usable on FreeBSD for package upgrades. However, on Plasma 5 you need to manually install ports-mgmt/packagekit for it to work. With PackageKit installed, the Settings tab isn't empty anymore but shows the enabled package repository. So the fix is easy: just add ports-mgmt/packagekit to the dependencies of sysutils/plasma5-discover (it's already there for sysutils/plasma6-discover). When it comes to browsing and installing applications however, it seems still not functional. The link in the previous comment mentions AppStream as the missing component - it is already installed. I noticed the existence of a related pkg plugin by Gleb Popov: ports-mgmt/pkg-appstream, so I installed and enabled it in pkg.conf but that didn't help with Discover.
(In reply to bsduck from comment #2) > add ports-mgmt/packagekit to the dependencies of sysutils/plasma5-discover Already installed. grahamperrin:~ % pkg_tree -r PackageKit-Qt5 PackageKit-Qt5-1.1.2 \__ plasma5-discover-5.27.11_1 grahamperrin:~ % <https://github.com/freebsd/freebsd-ports/commit/542e878a66ed0f6dd84cbba87b068e7b5a4fdcd2#diff-f6d3ebefb0b68c597ed08f0f4eeb004a6a41eca4dd08e00bc7af8a7b6aa634b2R10-R11>
(In reply to Graham Perrin from comment #3) That's not the same package. PackageKit-Qt5 contains only the Qt bindings for PackageKit, not the actual PackageKit software. You need both.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=03e50d1a881343d0b97225c0416eff9260e22500 commit 03e50d1a881343d0b97225c0416eff9260e22500 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2025-01-08 07:50:08 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2025-01-08 15:13:34 +0000 sysutils/plasma5-discover: Run-depend on PackageKit PR: 280746 sysutils/plasma5-discover/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
(In reply to bsduck from comment #4) Thanks for clarifying.
Created attachment 256642 [details] Screenshot: System Settings: Software Update Discover ▶Settings ▶ More Actions ▶ Configure Updates… Multiple enabled repositories include the combination of FreeBSD-ports + FreeBSD-base, so I refrain from automated updates.