I tried to install the KiCad Flatpack on Debian. But i get this error:
Installing: org.kicad.KiCad/arm/stable
Warning: Can't find dependencies: No entry for app/org.kicad.KiCad/arm/stable in remote summary flatpak cache
Installing: org.kicad.KiCad/arm/stable from flathub
error: No such branch 'app/org.kicad.KiCad/arm/stable' in repository summary
Any idea how i can install a newer version of KiCad? (This computer is too slow to compile it nor does it have the space).
Did you follow the flatpak installation instructions here: Install on Linux | KiCad EDA (a little down the page)?
Yes? I mean that is a single command that gave me the error message above.
$ flatpak install --from https://flathub.org/repo/appstream/org.kicad.KiCad.flatpakref
Installing: org.kicad.KiCad/arm/stable
Warning: Can't find dependencies: No entry for app/org.kicad.KiCad/arm/stable in remote summary flatpak cache
Installing: org.kicad.KiCad/arm/stable from flathub
error: No such branch 'app/org.kicad.KiCad/arm/stable' in repository summary
I’m interested in hearing more about this. Does the “computer” happen to be some SoC? If so, you may be out of luck completely. It’s possible that KiCad can’t be even compiled for such ARM systems because they don’t have proper OpenGL support. At least there have been discussion about Rasperry Pi and I haven’t heard that the situation would have changed.
The error message itself is clear, as jmaibaum said: there is no “arm” architecture available on flathub for KiCad.
That kinda gets funny though. Because we also don’t support ppc, mips, sparc, riscv, etc. The list quickly becomes long if we want to start listing arches that aren’t supported.
Yes and no. No mention why there is no branch, something like Unsupported /Unknown architecture would be more clear.
This would be an issue to file against flathub, KiCad did not decide to only support x86_64 and aarch64, but it’s the repository policy at flathub to only build for these architectures.
I guess the error flatpak install reports on your machine is as brief and accurate as possible right now, even if it might not be easy to understand for a first time user.
Flatpak (the packaging format and it’s CLI tool) allows for any architecture to be supported potentially. It asks flathub (the repository you specified in your install command) for arm/stable, (architecture/branch) which is not available. It could have been available though (flatpak the CLI tool does not know about flathub’s policy), thus the error just tells that the repo has no branch named stable (for architecture arm).