Bug 265352 - sysutils/plasma5-discover: Error: Discover currently cannot be used to install any apps because none of its app backends are available
Summary: sysutils/plasma5-discover: Error: Discover currently cannot be used to instal...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Gleb Popov
URL:
Keywords: needs-patch
: 267565 273668 274242 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-07-21 08:48 UTC by Mike
Modified: 2024-04-03 06:18 UTC (History)
9 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments
Screenshot of the error window of Discover (68.85 KB, image/png)
2022-07-21 08:48 UTC, Mike
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2022-07-21 08:48:45 UTC
Created attachment 235400 [details]
Screenshot of the error window of Discover

When I launch "Discover" app either in xfce or kde, it generates the following error:

"Discover currently cannot be used to install any apps because none of its app backends are available. Please report this issue to the packagers of your distribution."
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2022-07-21 12:20:39 UTC
Ports PR, although I'm not sure where the Discover binary comes from.  More help triaging requested.
Comment 2 Tobias C. Berner freebsd_committer freebsd_triage 2022-07-21 13:10:27 UTC
Moin moin

Yes, unfortunately no-one got around to writing a FreeBSD-backend for discover yet :)

Patches are welcome (here, and upstream).

mfg Tobias
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-07-21 21:26:45 UTC
(In reply to Mark Linimon from comment #1)

% pkg provides /usr/local/bin/plasma-discover
Name    : plasma5-discover-5.24.6
Comment : Plasma5 package management tools
Repo    : FreeBSD
Filename: usr/local/bin/plasma-discover-update
          usr/local/bin/plasma-discover
% pkg search -o plasma5-discover-5.24.6
sysutils/plasma5-discover      Plasma5 package management tools
%
Comment 4 Graham Perrin freebsd_committer freebsd_triage 2022-11-05 04:34:19 UTC
*** Bug 267565 has been marked as a duplicate of this bug. ***
Comment 5 Bluey 2022-12-30 22:54:28 UTC
13.1-RELEASE

Discover used to work I think. The only major problem I had was that Firefox-esr stopped working. Required major reinstall of broken/missing parts.

Now getting same error as OP.

Unclear what backends are available or required. Info on Archlinux forums suggests flatpak or packagekit-qt5. Freshports mentions flatpak is in Discover. Can't find where packagekit-qt5 comes from.

Discover Addons works fine. Can live without Discover Applications for now.
Comment 6 Gleb Popov freebsd_committer freebsd_triage 2023-05-18 06:34:24 UTC
I'm working on this.
Comment 7 Graham Perrin 2023-09-16 15:18:00 UTC
*** Bug 273668 has been marked as a duplicate of this bug. ***
Comment 8 Graham Perrin 2023-10-03 19:33:41 UTC
*** Bug 274242 has been marked as a duplicate of this bug. ***
Comment 9 commit-hook freebsd_committer freebsd_triage 2024-04-03 06:16:29 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c3ef2c90a83e9f392ca9d8724619920d56a076c9

commit c3ef2c90a83e9f392ca9d8724619920d56a076c9
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-04-02 15:20:37 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-04-03 06:14:08 +0000

    ports-mgmt/packagekit: Update to 1.2.8

    Sponsored by:   Serenity Cybersecurity, LLC

    PR:             265352

 ports-mgmt/packagekit/Makefile  | 12 ++++++------
 ports-mgmt/packagekit/distinfo  |  6 +++---
 ports-mgmt/packagekit/pkg-plist |  4 +++-
 3 files changed, 12 insertions(+), 10 deletions(-)
Comment 10 commit-hook freebsd_committer freebsd_triage 2024-04-03 06:16:33 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=542e878a66ed0f6dd84cbba87b068e7b5a4fdcd2

commit 542e878a66ed0f6dd84cbba87b068e7b5a4fdcd2
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-04-03 06:12:53 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-04-03 06:14:08 +0000

    sysutils/plasma5-discover: Enable PackageKit backend

    PR:             265352
    Sponsored by:   Serenity Cybersecurity, LLC

 sysutils/plasma5-discover/Makefile  | 6 +++---
 sysutils/plasma5-discover/pkg-plist | 4 ++++
 2 files changed, 7 insertions(+), 3 deletions(-)
Comment 11 Gleb Popov freebsd_committer freebsd_triage 2024-04-03 06:18:06 UTC
PackageKit now has a native FreeBSD pkg backend and Discover is enabled to use that backend.

The backend might still have bugs, though, so get back to me if you bump into any problems.