Hello. I like to use discover to install flatpak apps, since it has a much more user friendly installation process than figuring out the reverse DNS address of the app or whatever that org.appname.appname format is called.
Essentially what happens is that when discover asks for a root password, it doesn’t wait for your answer and just errors out instantly, aborting the update, making discover unusable for updating them. What I want to do is make discover install the app to the user so that it doesn’t need to ask for a password when updating flatpaks later. I can’t see any setting for it anywhere though, does anyone know a way? It seems to work just fine on the steam deck in SteamOS desktop mode.
I wish it was this simple. What happens to me is that the one specific entry is indeed stalled but the rest of the updates fail, since you can’t update one dependency without breaking everything, what usually happens is nothing gets updated.
flatpak remotes
Look to see what system remotes are defined, most likely just flathub sudo flatpak remote-delete flathub flatpak --user remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
I believe, but don’t quote me on this, you can leave the system flatpakrepo in place, and just do the user remote setup, and if you just run flatpak install org.foo.bar as your regular user (i.e. No Sudo, or Root account) flatpak will automatically choose to install things as user flatpaks, as long as a user remote is there.
The biggest reason I advise removing the system repo, if you don’t want system-wide flatpak installations, is that with multiple flatpak repositories, you’ll have to check which repository you’re installing from in Discover, everytime you want to install a flatpak.
I could give it a try, but openSUSE Tumbleweed works great for me, so I would rather stay than reinstall everything and set stuff up from scratch. An immutable base is also rather restrictive for me.
I gave it a try and it seems like it works. I didn’t get any updates but installation does not ask for a password anymore and even discover says my repository is Flathub (user) so I think this is exactly what I wanted. Thanks!