Hi, since Plasma 6 i get this error when trying to update Flatpak (flathub) packages via discover:
Aborted due to failure (Flatpak system operation Deploy not allowed for user)
but it seems that the updates are performed anyway (I just update them to get rid of the entries in discover, everything else i update via zypper dub)
2 Likes
Same for me in Tumbleweed and Leap 15.6 Beta.
hui
April 13, 2024, 1:08pm
3
This is because the flathub repo is added systemwide.
Remove the flathub repo via discover. Afterwards add it as your user via:
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
1 Like
@hui would not users that have installed a flatpak need to uninstall first, then add the repo and add back as their user?
ernstp
April 13, 2024, 2:54pm
6
I added myself to the “wheel” and “flatpak” groups, that made some things more convenient.
1 Like
Thanks that seemed to help. Also all installed flatpaks where automatically removed by removing the repository. But after reinstalling them, the settings where still there
Worked for me, but have to ask where did “wheel” come from?
1 Like
hcvv
April 14, 2024, 10:30am
10
Before following such advice as “adding a group to a user”, you should first ask yourself what it implies and how secure it is.
1 Like
system
Closed
May 14, 2024, 10:30am
11
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.