Can't install Flatpack (no such branch)

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).

ARM huh? Maybe it hasn’t been built for that arch?

Did you follow the flatpak installation instructions here: Install on Linux | KiCad EDA (a little down the page)?

A few hints: The KiCad flatpak is hosted on flathub (a popular public flatpak repository), see https://flathub.org.

Flathub provides builds for 64-bit architectures from Intel (x86_64) and ARM (aarch64).

If you follow the instructions linked above on an aarch64 machine, the proper version should be downloaded and installed.

FWIW there is no “arm” architecture available on flathub. I assume that you specified it manually?

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

After installing flatpak and installing KiCad didn’t work, i even rebooted as mentioned here Flatpak—the future of application distribution

I assume that you specified it manually?

No. This computer runs arm.

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.

Interestingly enough, I’ve read there is a push to get flatpack as the default installer. Debian and some other larger players.

there is no “arm” architecture available on flathub for KiCad.

Any other idea how to get KiCad > 5.1 installed, parallel to the current version?

Maybe it should be mentioned in the download page where Flathub is promoted that ARM isn’t provided?

Does the “computer” happen to be some SoC? If so, you may be out of luck completely.

Yes.

It’s possible that KiCad can’t be even compiled for such ARM systems because they don’t have proper OpenGL support.

Older versions run fine. Debian also provides packages for arm. Debian -- Package Search Results -- kicad

Aren’t there multiple drawing modes, some of them using OpenGL and others don’t?

The error message itself is clear

Yes and no. No mention why there is no branch, something like Unsupported /Unknown architecture would be more clear.

ARM 64-bit is supported, but not other ARM. It’s listed here: System Requirements | KiCad EDA

1 Like

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.

ARM was dropped by flathub and freedesktop.org because it’s considered a very unpopular arch and ARM64 is king
Decommissioning armv7 (#1105) · Issues · freedesktop-sdk / freedesktop-sdk · GitLab

The list quickly becomes long if we want to start listing arches that aren’t supported.

A list of the architectures that are provided wouldn’t be long and it would help, or link to System Requirements | KiCad EDA

The error message itself is clear

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).

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.