Snap cannot remove or install snaps

When trying to remove a snap I get the error

ERROR cannot remove snap file "clion", will retry in 3 mins: unlinkat /snap/clion/149/Install-Linux-tar.txt: read-only file system

and when trying to install a snap

Apr 20 21:43:28 dell snapd[628]: api.go:383: Installing snap "slack" revision unset
Apr 20 21:43:31 dell systemd[1]: snapd.service: Got notification message from PID 7769, but reception only permitted for main PID 628
Apr 20 21:43:32 dell snapd[628]: taskrunner.go:271: [change 28 "Mount snap \"slack\" (38)" task] failed: [start snap-slack-38.mount] failed with exit status 1: Job failed. See "journalctl -xe" for details.
Apr 20 21:43:32 dell snapd[628]: handlers.go:496: Reported install problem for "slack" as Crash report successfully submitted.

I am running a kernel with a minimal configuration and I would like to which are the minimum requirements for snapd to work.

So far my kernel config is this

this is rather old, but should still give you a rough direction:


Thanks a lot. I will check it out.