Can't install snapd in arm64 architecture

hi ALl:

i install the snapd in ubuntu 2004, but use snap list to show the snap applications get a failure.

the output is:

root@user-PC:~# snap list
panic: permission denied

goroutine 1 [running]:
github.com/snapcore/snapd/snapdtool.ExecInSnapdOrCoreSnap()
	/build/snapd-98dSFU/snapd-2.48.3+20.04/_build/src/github.com/snapcore/snapd/snapdtool/tool_linux.go:205 +0x488
main.main()
	/build/snapd-98dSFU/snapd-2.48.3+20.04/_build/src/github.com/snapcore/snapd/cmd/snap/main.go:452 +0x28

the snapd.service is failure too, the output is:

root@user-PC:~# systemctl status snapd.service
● snapd.service - Snap Daemon
     Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)
     Active: activating (start) since Wed 2021-08-25 14:07:03 CST; 6s ago
TriggeredBy: ● snapd.socket
   Main PID: 28583 (snapd)
      Tasks: 7 (limit: 7537)
     Memory: 12.9M
     CGroup: /system.slice/snapd.service
             └─28583 /usr/lib/snapd/snapd

the journalctl -u snapd.service log is :

-- Logs begin at Wed 2021-08-25 03:03:52 CST, end at Wed 2021-08-25 14:07:36 CST. --
8月 25 11:12:45 user-PC systemd[1]: Starting Snap Daemon...
8月 25 11:12:46 user-PC snapd[8950]: AppArmor status: apparmor not enabled
8月 25 11:12:46 user-PC snapd[8950]: daemon.go:347: started snapd/2.48.3+20.04 (series 16; classic; devmode) user>
8月 25 11:12:46 user-PC snapd[8950]: daemon.go:440: adjusting startup timeout by 30s (pessimistic estimate of 30s >
8月 25 11:12:46 user-PC snapd[8950]: helpers.go:105: error trying to compare the snap system key: system-key missi>
8月 25 11:12:46 user-PC systemd[1]: Started Snap Daemon.
8月 25 11:12:51 user-PC snapd[8950]: daemon.go:589: gracefully waiting for running hooks
8月 25 11:12:51 user-PC snapd[8950]: daemon.go:591: done waiting for running hooks
8月 25 11:12:51 user-PC snapd[8950]: daemon stop requested to wait for socket activation
8月 25 11:12:51 user-PC systemd[1]: snapd.service: Succeeded.
8月 25 11:12:51 user-PC systemd[1]: Starting Snap Daemon...
8月 25 11:12:51 user-PC snapd[9052]: AppArmor status: apparmor not enabled
8月 25 11:12:51 user-PC snapd[9052]: patch.go:64: Patching system state level 6 to sublevel 1...
8月 25 11:12:51 user-PC snapd[9052]: patch.go:64: Patching system state level 6 to sublevel 2...
8月 25 11:12:51 user-PC snapd[9052]: patch.go:64: Patching system state level 6 to sublevel 3...
8月 25 11:12:51 user-PC snapd[9052]: daemon.go:347: started snapd/2.48.3+20.04 (series 16; classic; devmode) user>
8月 25 11:12:52 user-PC snapd[9052]: daemon.go:440: adjusting startup timeout by 30s (pessimistic estimate of 30s >
8月 25 11:12:52 user-PC systemd[1]: Started Snap Daemon.
8月 25 11:12:53 user-PC snapd[9052]: api.go:1007: Installing snap "snapcraft" revision unset
8月 25 11:12:57 user-PC snapd[9052]: daemon.go:589: gracefully waiting for running hooks
8月 25 11:12:57 user-PC snapd[9052]: daemon.go:591: done waiting for running hooks
8月 25 11:12:57 user-PC snapd[9052]: daemon stop requested to wait for socket activation
8月 25 11:12:57 user-PC systemd[1]: snapd.service: Succeeded.
8月 25 11:16:58 user-PC systemd[1]: Starting Snap Daemon...
8月 25 11:16:58 user-PC snapd[9318]: AppArmor status: apparmor not enabled
8月 25 11:16:58 user-PC snapd[9318]: daemon.go:347: started snapd/2.48.3+20.04 (series 16; classic; devmode) user>
8月 25 11:16:59 user-PC snapd[9318]: daemon.go:440: adjusting startup timeout by 30s (pessimistic estimate of 30s >
8月 25 11:16:59 user-PC systemd[1]: Started Snap Daemon.
8月 25 11:17:00 user-PC snapd[9318]: api.go:1007: Installing snap "snapcraft" revision unset
8月 25 11:17:45 user-PC snapd[9318]: link.go:150: cannot update fontconfig cache: cannot run fc-cache-v6 on core: >
8月 25 11:17:45 user-PC snapd[9318]: daemon.go:589: gracefully waiting for running hooks
8月 25 11:17:45 user-PC snapd[9318]: daemon.go:591: done waiting for running hooks
8月 25 11:17:46 user-PC systemd[1]: snapd.service: Succeeded.
8月 25 11:17:46 user-PC systemd[1]: snapd.service: Scheduled restart job, restart counter is at 1.
8月 25 11:17:46 user-PC systemd[1]: Stopped Snap Daemon.
8月 25 11:17:46 user-PC systemd[1]: Starting Snap Daemon...
8月 25 11:17:46 user-PC snapd[10044]: AppArmor status: apparmor not enabled
8月 25 11:18:18 user-PC snapd[10044]: panic: permission denied
8月 25 11:18:18 user-PC snapd[10044]: goroutine 1 [running]:
8月 25 11:18:18 user-PC snapd[10044]: github.com/snapcore/snapd/snapdtool.ExecInSnapdOrCoreSnap()
8月 25 11:18:18 user-PC snapd[10044]:         github.com/snapcore/snapd/snapdtool/tool_linux.go:205 +0x488
8月 25 11:18:18 user-PC snapd[10044]: main.main()
8月 25 11:18:18 user-PC snapd[10044]:         github.com/snapcore/snapd/cmd/snapd/main.go:59 +0x218
8月 25 11:18:18 user-PC systemd[1]: snapd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
8月 25 11:18:18 user-PC systemd[1]: snapd.service: Failed with result 'exit-code'.
8月 25 11:18:18 user-PC systemd[1]: Failed to start Snap Daemon.
8月 25 11:18:18 user-PC systemd[1]: snapd.service: Scheduled restart job, restart counter is at 2.
8月 25 11:18:18 user-PC systemd[1]: Stopped Snap Daemon.
8月 25 11:18:18 user-PC systemd[1]: Starting Snap Daemon...

Does anyone know how I would go about fixing it?

Thanks all!

Hi, what is the output of snap version?