Snap is installed and running but can’t install snaps

Hello,

I’m not sure if this is the correct place to post, apologies if not. Snap is successfully installed when I checked but when I try to even install the “hello world” snap it gives the following. I’m running it on Arch:

$ snap install hello-world
error: cannot perform the following tasks:

* Mount snap “core” (11743) (systemctl command [start snap-core-11743.mount] failed with exit status 1: Job failed. See “journalctl -xe” for details.
)

Any idea what I should do? I ran “journalctl -xeb | grep -i snap” and I get the following:

$ journalctl -xeb | grep -i snap
Oct 13 12:14:57 Desktop dbus-daemon[1468]: [session uid=1000 pid=1468] Activating service name='org.manjaro.pamac.manager' requested by ':1.327' (uid=1000 pid=18281 comm="gio open snap://zeplin-lukewh ")
Oct 13 12:14:59 Desktop systemd[1]: Starting Snap Daemon...
░░ Subject: A start job for unit snapd.service has begun execution
░░ A start job for unit snapd.service has begun execution.
Oct 13 12:14:59 Desktop snapd[18301]: AppArmor status: apparmor not enabled
Oct 13 12:14:59 Desktop snapd[18301]: daemon.go:242: started snapd/2.52-2 (series 16; classic; devmode) rebornos/ (amd64) linux/5.14.11-arch1-1.
Oct 13 12:14:59 Desktop snapd[18301]: daemon.go:335: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
Oct 13 12:14:59 Desktop systemd[1]: Started Snap Daemon.
░░ Subject: A start job for unit snapd.service has finished successfully
░░ A start job for unit snapd.service has finished successfully.
Oct 13 12:14:59 Desktop audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=snapd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 13 12:14:59 Desktop kernel: audit: type=1130 audit(1634141699.341:365): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=snapd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 13 12:14:59 Desktop snapd[18301]: autorefresh.go:520: auto-refresh: all snaps are up-to-date
Oct 13 12:15:34 Desktop snapd[18301]: daemon.go:502: gracefully waiting for running hooks
Oct 13 12:15:34 Desktop snapd[18301]: daemon.go:504: done waiting for running hooks
Oct 13 12:19:59 Desktop systemd[1]: snapd.service: Watchdog timeout (limit 5min)!
Oct 13 12:19:59 Desktop systemd[1]: snapd.service: Killing process 18301 (snapd) with signal SIGABRT.
Oct 13 12:19:59 Desktop snapd[18301]: SIGABRT: abort
Oct 13 12:19:59 Desktop snapd[18301]: PC=0x55c38fa71a81 m=0 sigcode=0
Oct 13 12:19:59 Desktop snapd[18301]: goroutine 0 [idle]:
Oct 13 12:19:59 Desktop snapd[18301]: runtime.futex()
Oct 13 12:19:59 Desktop snapd[18301]:         runtime/sys_linux_amd64.s:519 +0x21
Oct 13 12:19:59 Desktop snapd[18301]: runtime.futexsleep(0x7ffd29e2e270, 0x8fa4b413, 0xc000045000)
Oct 13 12:19:59 Desktop snapd[18301]:         runtime/os_linux.go:44 +0x36
Oct 13 12:19:59 Desktop snapd[18301]: runtime.notesleep(0x55c390ad5e50)
Oct 13 12:19:59 Desktop snapd[18301]:         runtime/lock_futex.go:160 +0x87
Oct 13 12:19:59 Desktop snapd[18301]: runtime.mPark()
Oct 13 12:19:59 Desktop snapd[18301]:         runtime/proc.go:1441 +0x2a
Oct 13 12:19:59 Desktop snapd[18301]: runtime.stoplockedm()
Oct 13 12:19:59 Desktop snapd[18301]:         runtime/proc.go:2602 +0x65
Oct 13 12:19:59 Desktop snapd[18301]: runtime.schedule()
Oct 13 12:19:59 Desktop snapd[18301]:         runtime/proc.go:3299 +0x3d
Oct 13 12:19:59 Desktop snapd[18301]: runtime.park_m(0xc0001d29c0)
Oct 13 12:19:59 Desktop snapd[18301]:         runtime/proc.go:3516 +0x14d
Oct 13 12:19:59 Desktop snapd[18301]: runtime.mcall()
Oct 13 12:19:59 Desktop snapd[18301]:         runtime/asm_amd64.s:307 +0x45
Oct 13 12:19:59 Desktop snapd[18301]: goroutine 1 [semacquire, 4 minutes]:
Oct 13 12:19:59 Desktop snapd[18301]: internal/poll.runtime_Semacquire(0x7fbf747d9b28)
Oct 13 12:19:59 Desktop snapd[18301]:         runtime/sema.go:61 +0x25
Oct 13 12:19:59 Desktop snapd[18301]: internal/poll.(*FD).Close(0xc000184180)
Oct 13 12:19:59 Desktop snapd[18301]:         internal/poll/fd_unix.go:116 +0x6d
Oct 13 12:19:59 Desktop snapd[18301]: net.(*netFD).Close(0xc000184180)
Oct 13 12:19:59 Desktop snapd[18301]:         net/fd_posix.go:38 +0x38
Oct 13 12:19:59 Desktop snapd[18301]: net.(*conn).Close(0xc000010018)
Oct 13 12:19:59 Desktop snapd[18301]:         net/net.go:207 +0x45
Oct 13 12:19:59 Desktop snapd[18301]: net/http.(*Server).closeIdleConns(0xc0001a81c0)
Oct 13 12:19:59 Desktop snapd[18301]:         net/http/server.go:2783 +0x1e2
Oct 13 12:19:59 Desktop snapd[18301]: net/http.(*Server).Shutdown(0xc0001a81c0, {0x55c390554050, 0xc0005407e0})
Oct 13 12:19:59 Desktop snapd[18301]:         net/http/server.go:2734 +0x1d6
Oct 13 12:19:59 Desktop snapd[18301]: github.com/snapcore/snapd/daemon.(*Daemon).Stop(0xc0001a8c40, 0xc00061fe24)
Oct 13 12:19:59 Desktop snapd[18301]:         github.com/snapcore/snapd/daemon/daemon.go:519 +0x2aa
Oct 13 12:19:59 Desktop snapd[18301]: main.run(0xc0000820c0)
Oct 13 12:19:59 Desktop snapd[18301]:         github.com/snapcore/snapd/cmd/snapd/main.go:168 +0x52f
Oct 13 12:19:59 Desktop snapd[18301]: main.main()
Oct 13 12:19:59 Desktop snapd[18301]:         github.com/snapcore/snapd/cmd/snapd/main.go:64 +0xdc
Oct 13 12:19:59 Desktop snapd[18301]: goroutine 21 [syscall, 5 minutes]:
Oct 13 12:19:59 Desktop snapd[18301]: os/signal.signal_recv()
Oct 13 12:19:59 Desktop snapd[18301]:         runtime/sigqueue.go:169 +0x98
Oct 13 12:19:59 Desktop snapd[18301]: os/signal.loop()
Oct 13 12:19:59 Desktop snapd[18301]:         os/signal/signal_unix.go:24 +0x19
Oct 13 12:19:59 Desktop snapd[18301]: created by os/signal.Notify.func1.1
Oct 13 12:19:59 Desktop snapd[18301]:         os/signal/signal.go:151 +0x2c
Oct 13 12:19:59 Desktop snapd[18301]: goroutine 40 [syscall, 4 minutes]:
Oct 13 12:19:59 Desktop snapd[18301]: syscall.Syscall(0x0, 0x4, 0xc0001db000, 0x1000)
Oct 13 12:19:59 Desktop snapd[18301]:         syscall/asm_linux_amd64.s:20 +0x5
Oct 13 12:19:59 Desktop snapd[18301]: syscall.read(0xc000184180, {0xc0001db000, 0x55c38faa8800, 0x55c390547500})
Oct 13 12:19:59 Desktop snapd[18301]:         syscall/zsyscall_linux_amd64.go:687 +0x4d
Oct 13 12:19:59 Desktop snapd[18301]: syscall.Read(...)
Oct 13 12:19:59 Desktop snapd[18301]:         syscall/syscall_unix.go:189
Oct 13 12:19:59 Desktop snapd[18301]: internal/poll.ignoringEINTRIO(...)
Oct 13 12:19:59 Desktop snapd[18301]:         internal/poll/fd_unix.go:582
Oct 13 12:19:59 Desktop snapd[18301]: internal/poll.(*FD).Read(0xc000184180, {0xc0001db000, 0x1000, 0x1000})
Oct 13 12:19:59 Desktop snapd[18301]:         internal/poll/fd_unix.go:163 +0x285
Oct 13 12:19:59 Desktop snapd[18301]: net.(*netFD).Read(0xc000184180, {0xc0001db000, 0xc0005bf2f0, 0x7fbf9cde71d8})
Oct 13 12:19:59 Desktop snapd[18301]:         net/fd_posix.go:56 +0x29
Oct 13 12:19:59 Desktop snapd[18301]: net.(*conn).Read(0xc000010018, {0xc0001db000, 0x1, 0x1})
Oct 13 12:19:59 Desktop snapd[18301]:         net/net.go:183 +0x45
Oct 13 12:19:59 Desktop snapd[18301]: net/http.(*connReader).Read(0xc0004b5920, {0xc0001db000, 0x1000, 0x1000})
Oct 13 12:19:59 Desktop snapd[18301]:         net/http/server.go:780 +0x16d
Oct 13 12:19:59 Desktop snapd[18301]: bufio.(*Reader).fill(0xc00012e180)
Oct 13 12:19:59 Desktop snapd[18301]:         bufio/bufio.go:101 +0x103
Oct 13 12:19:59 Desktop snapd[18301]: bufio.(*Reader).ReadSlice(0xc00012e180, 0x0)
Oct 13 12:19:59 Desktop snapd[18301]:         bufio/bufio.go:360 +0x2f
Oct 13 12:19:59 Desktop snapd[18301]: bufio.(*Reader).ReadLine(0xc00012e180)
Oct 13 12:19:59 Desktop snapd[18301]:         bufio/bufio.go:389 +0x27
Oct 13 12:19:59 Desktop snapd[18301]: net/textproto.(*Reader).readLineSlice(0xc0005bf320)
Oct 13 12:19:59 Desktop snapd[18301]:         net/textproto/reader.go:57 +0x99
Oct 13 12:19:59 Desktop snapd[18301]: net/textproto.(*Reader).ReadLine(...)
Oct 13 12:19:59 Desktop snapd[18301]:         net/textproto/reader.go:38
Oct 13 12:19:59 Desktop snapd[18301]: net/http.readRequest(0xc000794030)
Oct 13 12:19:59 Desktop snapd[18301]:         net/http/request.go:1029 +0x79
Oct 13 12:19:59 Desktop snapd[18301]: net/http.(*conn).readRequest(0xc0004fcaa0, {0x55c390553fe0, 0xc00003ec40})
Oct 13 12:19:59 Desktop snapd[18301]:         net/http/server.go:966 +0x225
Oct 13 12:19:59 Desktop snapd[18301]: net/http.(*conn).serve(0xc0004fcaa0, {0x55c390554088, 0xc00011acf0})
Oct 13 12:19:59 Desktop snapd[18301]:         net/http/server.go:1855 +0x865
Oct 13 12:19:59 Desktop snapd[18301]: created by net/http.(*Server).Serve
Oct 13 12:19:59 Desktop snapd[18301]:         net/http/server.go:3033 +0x4e8
Oct 13 12:19:59 Desktop snapd[18301]: goroutine 57 [select]:
Oct 13 12:19:59 Desktop snapd[18301]: github.com/snapcore/snapd/overlord.(*Overlord).Loop.func1()
Oct 13 12:19:59 Desktop snapd[18301]:         github.com/snapcore/snapd/overlord/overlord.go:444 +0x18c
Oct 13 12:19:59 Desktop snapd[18301]: github.com/snapcore/snapd/vendor/gopkg.in/tomb%2ev2.(*Tomb).run(0xc000342c30, 0x0)
Oct 13 12:19:59 Desktop snapd[18301]:         github.com/snapcore/snapd/vendor/gopkg.in/tomb.v2/tomb.go:163 +0x36
Oct 13 12:19:59 Desktop snapd[18301]: created by github.com/snapcore/snapd/vendor/gopkg.in/tomb%2ev2.(*Tomb).Go
Oct 13 12:19:59 Desktop snapd[18301]:         github.com/snapcore/snapd/vendor/gopkg.in/tomb.v2/tomb.go:159 +0xf3
Oct 13 12:19:59 Desktop snapd[18301]: rax    0xca
Oct 13 12:19:59 Desktop snapd[18301]: rbx    0x0
Oct 13 12:19:59 Desktop snapd[18301]: rcx    0x55c38fa71a83
Oct 13 12:19:59 Desktop snapd[18301]: rdx    0x0
Oct 13 12:19:59 Desktop kernel: audit: type=1131 audit(1634141999.596:376): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=snapd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Oct 13 12:19:59 Desktop audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=snapd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Oct 13 12:19:59 Desktop snapd[18301]: rdi    0x55c390ad5e50
Oct 13 12:19:59 Desktop snapd[18301]: rsi    0x80
Oct 13 12:19:59 Desktop snapd[18301]: rbp    0x7ffd29e2e240
Oct 13 12:19:59 Desktop snapd[18301]: rsp    0x7ffd29e2e1f8
Oct 13 12:19:59 Desktop snapd[18301]: r8     0x0
Oct 13 12:19:59 Desktop snapd[18301]: r9     0x0
Oct 13 12:19:59 Desktop snapd[18301]: r10    0x0
Oct 13 12:19:59 Desktop snapd[18301]: r11    0x286
Oct 13 12:19:59 Desktop snapd[18301]: r12    0x55c38fa456e0
Oct 13 12:19:59 Desktop snapd[18301]: r13    0x0
Oct 13 12:19:59 Desktop snapd[18301]: r14    0x55c390ad5920
Oct 13 12:19:59 Desktop snapd[18301]: r15    0x7fbf762f8b03
Oct 13 12:19:59 Desktop snapd[18301]: rip    0x55c38fa71a81
Oct 13 12:19:59 Desktop snapd[18301]: rflags 0x286
Oct 13 12:19:59 Desktop snapd[18301]: cs     0x33
Oct 13 12:19:59 Desktop snapd[18301]: fs     0x0
Oct 13 12:19:59 Desktop snapd[18301]: gs     0x0
Oct 13 12:19:59 Desktop systemd[1]: snapd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
░░ An ExecStart= process belonging to unit snapd.service has exited.
Oct 13 12:19:59 Desktop systemd[1]: snapd.service: Failed with result 'watchdog'.
░░ The unit snapd.service has entered the 'failed' state with result 'watchdog'.
Oct 13 12:19:59 Desktop systemd[1]: snapd.service: Scheduled restart job, restart counter is at 1.
░░ Automatic restarting of the unit snapd.service has been scheduled, as the result for
Oct 13 12:19:59 Desktop systemd[1]: Stopped Snap Daemon.
░░ Subject: A stop job for unit snapd.service has finished
░░ A stop job for unit snapd.service has finished.
Oct 13 12:19:59 Desktop audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=snapd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 13 12:19:59 Desktop kernel: audit: type=1130 audit(1634141999.840:377): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=snapd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 13 12:19:59 Desktop kernel: audit: type=1131 audit(1634141999.840:378): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=snapd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 13 12:19:59 Desktop audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=snapd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 13 12:19:59 Desktop systemd[1]: Starting Snap Daemon...
░░ Subject: A start job for unit snapd.service has begun execution
░░ A start job for unit snapd.service has begun execution.
Oct 13 12:19:59 Desktop snapd[18595]: AppArmor status: apparmor not enabled
Oct 13 12:19:59 Desktop snapd[18595]: daemon.go:242: started snapd/2.52-2 (series 16; classic; devmode) rebornos/ (amd64) linux/5.14.11-arch1-1.
Oct 13 12:19:59 Desktop snapd[18595]: daemon.go:335: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
Oct 13 12:19:59 Desktop systemd[1]: Started Snap Daemon.
░░ Subject: A start job for unit snapd.service has finished successfully
░░ A start job for unit snapd.service has finished successfully.
Oct 13 12:19:59 Desktop audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=snapd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 13 12:19:59 Desktop kernel: audit: type=1130 audit(1634141999.940:382): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=snapd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 13 12:19:59 Desktop snapd[18595]: api_snaps.go:299: Installing snap "zeplin-lukewh" revision unset
Oct 13 12:19:59 Desktop snapd[18595]: store_download.go:143: no host system xdelta3 available to use deltas
Oct 13 12:20:02 Desktop systemd[1]: snap-snapd-13170.mount: Mount path /snap/snapd/13170 is not canonical (contains a symlink).
░░ The directory /snap/snapd/13170 is specified as the mount point (second field in
Oct 13 12:20:02 Desktop systemd[1]: snap-snapd-13170.mount: Failed to run 'mount' task: Too many levels of symbolic links
Oct 13 12:20:02 Desktop systemd[1]: snap-snapd-13170.mount: Failed with result 'resources'.
░░ The unit snap-snapd-13170.mount has entered the 'failed' state with result 'resources'.
Oct 13 12:20:02 Desktop systemd[1]: Failed to mount Mount unit for snapd, revision 13170.
░░ Subject: A start job for unit snap-snapd-13170.mount has failed
░░ A start job for unit snap-snapd-13170.mount has finished with a failure.
Oct 13 12:20:03 Desktop snapd[18595]: taskrunner.go:271: [change 13 "Mount snap \"snapd\" (13170)" task] failed: systemctl command [start snap-snapd-13170.mount] failed with exit status 1: Job failed. See "journalctl -xe" for details.
Oct 13 12:20:03 Desktop snapd[18595]: handlers.go:512: Reported install problem for "snapd" as already-reported

Thanks for reading and thanks for any suggestions!

Can you run: ls -l /snap /var/lib/snapd/ |grep snap and attach the output?

Hi @mborzecki

Thanks for the reply here is the output:

$ ls -l /snap /var/lib/snapd/ |grep snap
lrwxrwxrwx  1 root root   19 Sep 30 19:41 /snap -> /var/lib/snapd/snap
/var/lib/snapd/:
drwxr-xr-x 3 root root  4096 Oct 13 12:20 snap
drwxr-xr-x 2 root root  4096 Oct 13 12:20 snaps