| Summary: | Discover throws errors when update list include flatpak apps, asks for password multiple times | ||
|---|---|---|---|
| Product: | [Applications] Discover | Reporter: | MK <michele.kipiel> |
| Component: | Flatpak Backend | Assignee: | Dan Leinir Turthra Jensen <leinir> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | aleixpol, fabian, jgrulich, larrosa, nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.23.3 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| URL: | https://bugzilla.opensuse.org/show_bug.cgi?id=1123722 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | An example of the described bug | ||
|
Description
MK
2021-12-01 09:06:19 UTC
How did you install these flatpaks? Using Discover, or the command line? And were they installed systemwide or at the user level? Could you check if it's an opensuse thing? on my system flatpak update never asks for a password. Not system-wide (which is default), not user-scoped. Same here. Is polkit-default-privs installed? What's the value of POLKIT_DEFAULT_PRIVS and PERMISSION_SECURITY in /etc/sysconfig/security? (In reply to Nate Graham from comment #1) > How did you install these flatpaks? Using Discover, or the command line? And > were they installed systemwide or at the user level? I used Discover to install the flatpak apps, but I can't tell whether they were installed systemwide or not (I wasn't offered a choice at installation time) (In reply to Fabian Vogt from comment #4) > Is polkit-default-privs installed? What's the value of POLKIT_DEFAULT_PRIVS > and PERMISSION_SECURITY in /etc/sysconfig/security? I just checked, that polkit-default-privs is installed according to zypper. Here's the two values you asked for: POLKIT_DEFAULT_PRIVS="" PERMISSION_SECURITY="easy local" Created attachment 144138 [details]
An example of the described bug
Attached is a series of three screenshots I captured while updating the system.
Note the error message and the change in the update counter in the bottom left corner.
Probably https://bugzilla.opensuse.org/show_bug.cgi?id=1123722 then. You should be able to avoid that by installing flatpaks into user storage instead of system-wide. No idea how that's handled by discover. Looks like it, yeah. Discover doesn't yet have the ability to let you install flatpaks for just the active user rather than systemwide. > Discover doesn't yet have the ability to let you install flatpaks for just the active user rather than systemwide.
@MK: Yes, in practice.
@Nate: That is not entirely true. If flatpak doesn't offer a writable system installation (e.g. fedora kinoite) it does use the user installation.
Oh that's cool, I didn't know that. It's not exposed as a user-facing thing though, right? > It's not exposed as a user-facing thing though, right?
I'm pretty sure we install wherever the remote is installed (yes, remotes too can be added in the different installations).
We do not have UI for moving flathub into a user though.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/281 |