This is the output of some code:
About the output of snap version
:snap 2.51.1+21.04
snapd unavailable
series
About the output of snap changes
:error: cannot communicate with server: Get "http://localhost/v2/changes?select=all": dial unix /run/snapd.socket: connect: no such file or directory
About the output of service snapd start
:snapd: unrecognized service
What should I do to make snap work properly?
By the way, I’m using ubuntu 21.04 and the kernel is arrch64 (arm64)
ogra
September 22, 2021, 8:35pm
2
what kind of kernel, you have to be a bit more specific about your hardware and this specific kernel … (uname -a
would help regarding the kernel … and something like cat /proc/cpuinfo
should tell something about the hardware architecture)
Thank you for your answer, this is the further result you need from me:
About the output of uname -a
Linux localhost 5.4.0-faked #1 SMP PREEMPT Thu Sep 9 07:18:04 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
About the output of cat /proc/cpuinfo
Processor : AArch64 Processor rev 1 (aarch64)
processor : 0
BogoMIPS : 38.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xa
CPU part : 0x801
CPU revision : 4
processor : 1
BogoMIPS : 38.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xa
CPU part : 0x801
CPU revision : 4
processor : 2
BogoMIPS : 38.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xa
CPU part : 0x801
CPU revision : 4
processor : 3
BogoMIPS : 38.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xa
CPU part : 0x801
CPU revision : 4
processor : 4
BogoMIPS : 38.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xa
CPU part : 0x800
CPU revision : 1
processor : 5
BogoMIPS : 38.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xa
CPU part : 0x800
CPU revision : 1
processor : 6
BogoMIPS : 38.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xa
CPU part : 0x800
CPU revision : 1
processor : 7
BogoMIPS : 38.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xa
CPU part : 0x800
CPU revision : 1
Hardware : Qualcomm Technologies, Inc MSM8998
ogra
September 23, 2021, 9:11am
4
what happens if you use systemctl start snapd
(note that the service
command from upstart is gone since 16.04), you might also want to watch your systems’ journal with journalctl -f
in a second terminal while running the systemctl command.
About the output of systemctl start snapd
System has not been booted with systemd as init system (PID 1). Can't operate.
ogra
September 23, 2021, 10:38am
6
well, there you go … this does not look like you are actually running Ubuntu 21.04 at all (all Ubuntu versions since 16.04 use systemd) … is this a container or some such ?
Yes, I am running ubuntu through the Android app termux’s PRoot .
ogra
September 23, 2021, 12:12pm
8
yeah, that will not work then … snapd can not run in containers that do not use systemd …
Well, is there no other way? I simply want to install chromium, but chromium is only distributed as a snap app. (
ogra
September 23, 2021, 12:32pm
10
find an implementation that allows running a full linux with systemd … like a VM … this will likely require your device to be rooted thogh …