I'm trying to install snaps via snapd end get such error message

Code:
griwa@linux-xmmp:~> sudo snap install vuze-vs 
error: cannot perform the following tasks:
- Setup snap "core" (4650) security profiles (cannot setup apparmor for snap "core": cannot load apparmor profile "snap-update-ns.core": cannot load apparmor profile: exit status 1
apparmor_parser output:
mkstemp: No such file or directory
)
- Setup snap "core" (4650) security profiles (cannot load apparmor profile "snap-update-ns.core": cannot load apparmor profile: exit status 1
apparmor_parser output:
mkstemp: No such file or directory
)
zypper wp mkstemp says that nothing provides 'mkstemp'

How can I fix that?