Unable to use `flatpak info` on non-installed packages

Sep 21, 2023 Closed
R
flatpak search org.kde.krita

verifies that org.kde.krita exists, per

RokeJulianLockhart@rp69se:~> flatpak search org.kde.krita
Name         Description                               Application ID        Version       Branch       Remotes
Krita        Digital Painting, Creative Freedom        org.kde.krita         5.1.5         stable       flathub

yet

flatpak info org.kde.krita

outputs

RokeJulianLockhart@rp69se:~> flatpak info org.kde.krita
error: org.kde.krita/*unspecified*/*unspecified* not installed

Is this expected? I’m uncertain whether to report at

E

flatpak info is only for installed packages. For not installed but available in repo use flatpak remote-info <repo-name> <package>.

R
Replying to #2

Thanks for that. The error should mention that.

H
Replying to #3

is this error message not telling you the package is not installed?

R
Replying to #4

It is. Why do you ask?

R
Replying to #5

His point is, that the error message kinda tells you, that it needs to be run on something installed

R
Replying to #6

No, it doesn’t. That’s an inference made by someone who aligned the dots, not something that the statement itself implies.

R
Replying to #7

So the thing to do would be, to raise it at GitHub - flatpak/flatpak: Linux application sandboxing and distribution framework or implement a fix in that repo