Snapd unknown kernel arch armv6l

Hey guys,

I can’t get snapd to run on my raspberry pi. It outputs “unknown kernel arch armv6l” as an error message. Find below the output of journalctl.

What can I do to mitigate this issue? I am using a raspberry pi 1 model B. Any help would be greatly appreciated.

Mar 05 23:52:24 gww-webserver systemd[1]: Starting Snap Daemon...
Mar 05 23:52:24 gww-webserver snapd[1459]: AppArmor status: apparmor not enabled
Mar 05 23:52:24 gww-webserver snapd[1459]: daemon.go:347: started snapd/2.49-1+rpi1+deb11u1 (series 16; classic; devmode) raspbian/11 (armel) linux/5.10.92.
Mar 05 23:52:25 gww-webserver snapd[1459]: daemon.go:440: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
Mar 05 23:52:25 gww-webserver snapd[1459]: cannot run daemon: state startup errors: [cannot obtain snap-seccomp version information:
Mar 05 23:52:25 gww-webserver snapd[1459]: -----
Mar 05 23:52:25 gww-webserver snapd[1459]: 2022/03/05 23:52:25 unknown kernel arch "armv6l"
Mar 05 23:52:25 gww-webserver snapd[1459]: panic: unknown kernel arch "armv6l"
Mar 05 23:52:25 gww-webserver snapd[1459]: goroutine 1 [running]:
Mar 05 23:52:25 gww-webserver snapd[1459]: log.Panicf(0x54020d, 0x16, 0x2495f48, 0x1, 0x1)
Mar 05 23:52:25 gww-webserver snapd[1459]:         log/log.go:358 +0x9c
Mar 05 23:52:25 gww-webserver snapd[1459]: github.com/snapcore/snapd/arch.dpkgArchFromKernelArch(0x2414936, 0x6, 0x0, 0x249c474)
Mar 05 23:52:25 gww-webserver snapd[1459]:         github.com/snapcore/snapd/arch/arch.go:117 +0x460
Mar 05 23:52:25 gww-webserver snapd[1459]: github.com/snapcore/snapd/arch.DpkgKernelArchitecture(0x53a3ac, 0x5)
Mar 05 23:52:25 gww-webserver snapd[1459]:         github.com/snapcore/snapd/arch/arch.go:95 +0x18
Mar 05 23:52:25 gww-webserver snapd[1459]: main.init()
Mar 05 23:52:25 gww-webserver snapd[1459]:         github.com/snapcore/snapd/cmd/snap-seccomp/main.go:637 +0x5f0
Mar 05 23:52:25 gww-webserver snapd[1459]: -----]
Mar 05 23:52:25 gww-webserver systemd[1]: snapd.service: Main process exited, code=exited, status=1/FAILURE
Mar 05 23:52:25 gww-webserver systemd[1]: snapd.service: Failed with result 'exit-code'.
Mar 05 23:52:25 gww-webserver systemd[1]: Failed to start Snap Daemon.

Hello, @GetPastTheMonkey. I hope you enjoy your stay here on the forum.

From what I can see in the logs, I don’t think that snapd was really built for ARMv6, it is a pretty old instruction set.

The minimum supported Raspberry Pi unit, is a Pi 2. (I think, as looking at the ARM instruction set version, it is ARMv7, should be able to run on there)

I don’t think that this snapd package will also work with a Pi Zero, as the Zero and Pi v1, shares the same CPU. While the snapd package can be installed, it does not mean that it run on it.