Comment 14 for bug 1616422

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hello Martin,

hello world does not work as well, but core snap can be installed without any problem.

ubuntu@ubuntu:~$ snap list
Name Version Rev Developer Notes
core 16.04.1 394 canonical -
ubuntu@ubuntu:~$ uname -a
Linux ubuntu 3.13.0-102-generic #149-Ubuntu SMP Wed Nov 9 21:52:08 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ubuntu:~$ dpkg -l | grep systemd
ii libpam-systemd:amd64 204-5ubuntu20.20 amd64 system and service manager - PAM module
ii libsystemd-daemon0:amd64 204-5ubuntu20.20 amd64 systemd utility library
ii libsystemd-journal0:amd64 204-5ubuntu20.20 amd64 systemd journal utility library
ii libsystemd-login0:amd64 204-5ubuntu20.20 amd64 systemd login utility library
ii systemd 204-5ubuntu20.20 amd64 system and service manager
ii systemd-services 204-5ubuntu20.20 amd64 systemd runtime services
rc systemd-shim 6-2bzr1 amd64 shim for systemd

ubuntu@ubuntu:~$ sudo snap install hello-world
[sudo] password for ubuntu:
error: cannot perform the following tasks:
- Setup snap "hello-world" (27) security profiles (cannot setup apparmor for snap "hello-world": cannot load apparmor profile "snap.hello-world.env": cannot load apparmor profile: exit status 1
apparmor_parser output:
AppArmor parser error for /var/lib/snapd/apparmor/profiles/snap.hello-world.env in /var/lib/snapd/apparmor/profiles/snap.hello-world.env at line 305: syntax error, unexpected TOK_CONDLISTID, expecting TOK_MODE
)
- Setup snap "hello-world" (27) security profiles (cannot load apparmor profile "snap.hello-world.env": cannot load apparmor profile: exit status 1
apparmor_parser output:
AppArmor parser error for /var/lib/snapd/apparmor/profiles/snap.hello-world.env in /var/lib/snapd/apparmor/profiles/snap.hello-world.env at line 305: syntax error, unexpected TOK_CONDLISTID, expecting TOK_MODE
)