I run the code sudo umount -a
, and then all my snap package is broken except core.
and i can’t install any packages now.
How can i fix it ?
>snap list
Name Version Rev Tracking Publisher Notes
core 16-2.37.2 6405 stable canonical✓ core
gnome-3-26-1604 82 stable/… canonical✓ broken
gnome-calculator 260 stable/… canonical✓ broken
gnome-characters 139 stable/… canonical✓ broken
gnome-logs 45 stable/… canonical✓ broken
gnome-system-monitor 57 stable/… canonical✓ broken
gtk-common-themes 1198 stable/… canonical✓ broken
pdftk 2.02-4 9 stable smoser -
>snap install hello-world
error: cannot perform the following tasks:
- Setup snap "hello-world" (27) security profiles (cannot setup apparmor for snap "hello-world": cannot load apparmor profiles: exit status 1
apparmor_parser output:
Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
??:??? /proc/mounts ?????? fs,??????
?? --subdomainfs ???
)
- Setup snap "hello-world" (27) security profiles (cannot load apparmor profiles: exit status 1
apparmor_parser output:
Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
??:??? /proc/mounts ?????? fs,??????
?? --subdomainfs ???
)
>pdftk
cannot execute snapd tool snap-update-ns: Permission denied
snap-update-ns failed with code 1: No such file or directory