Talk: Flatpak install/update fails with “Need more input” or “Input buffer too small”

Yes, I get this. The issue is that this general functionality defines the karma. But testing if a package installs fine is by far not enough to be called ‘testing’!

Clearly, just thumbs up to push the package or receive the next “testing” badge.

If that’s the case, the process of giving karma in Bodhi is useless.

+1

Indeed.

In fact, I find the default of having users modify system flatpak installs a really strange mix, in particular when flatpaks are marketed as a tool for installation and as a way to make app-user-land independent of the underlying system.

I’d say either use system flatpaks via sudo (or other admin access), or use user flatpaks administered by a user. Most people won’t even know that they change the system flatpaks as an ordinary user …

Ugh, all this back and forth made me think the fix was buggy, and got me very confused.

AFAICT the fix is fine, it’s not hit Silverblue and Kinoite yet because the composes are failing. No reason to panic.

All this discussion about karma and who’s at fault should probably go elsewhere and not pollute this thread.

Most package managers work at the system level; I don’t see why that is strange at all. Flatpak’s “universality” has nothing to do with where the flatpaks are installed.

Defaulting to user installation will create other problems/confusion, when someone installs an app and can’t see it on other users. And there’ll be (even more) complaints of “bloat” because apps have to be installed in duplicate.

That’s how it works currently—the “other admin access” being polkit. You need to be an admin user (in wheel group) to use flatpak on the system installation without other authentication.

Not quite - dnf update tells me it needs to be run with superuser privileges [sic]), and flatpak update silently works on the system install. And that is exactly the difference I’m pointing at.

Yes, it works silently because of the polkit policy. You still need to be an admin user (in wheel group).

Would you rather the policy be removed so everyone has to type sudo flatpak? I don’t think this benefits any Fedora user.

FWIW, PackageKit-command-not-found is included in Workstation. This allows any user in wheel to install any package (that provides a command) without sudo, by simply typing the command. So, dnf can also indirectly be used without sudo.

“Privileges” is spelled correctly.

1 Like