Debian 11 snap installation prolems

I tryd to isntall snapd on Debian version 11

$ sudo apt update
$ sudo apt install snapd
$ sudo snap install core  after reboot

i stil get this error:

error: cannot perform the following tasks:

  • Mount snap “core” (11606) (snap is unusable due to missing files; contact developer)

Snap version output:

snap 2.49-1+b5
snapd 2.49-1+b5
series 16
debian -
kernel 5.10.0-8-amd64

sudo /usr/lib/snapd/snapd

AppArmor status: apparmor is enabled but some kernel features are missing: dbus, network
cannot run daemon: when trying to listen on /run/snapd.socket: socket “/run/snapd.socket” already in use

any suggestions howto fix this common problem?

sincerely,

ubey

there is:

that might give some hint (might be that squashfs versions are not in sync)

i have read that topic but i dont see if squashfs is synct or not. The output of the unsquashfs -v

unsquashfs version 4.5 (2021/07/22)
copyright © 2021 Phillip Lougher phillip@squashfs.org.uk

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2,
or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

And the solution in this topic is not clear for me

it will most likely need a fix on the snapd side … likely the same that @mborzecki applied for fedora in that other thread