"ERROR: Invalid policy version" when generating apparmor profiles

Bjorn Tillenius bjorn at tillenius.me
Sun Jun 7 20:13:54 UTC 2015


Hi,

I'm trying to build a snap for Ubuntu Core on a Raspberry Pi2. I'm using
the image lool generated here:

    http://people.canonical.com/~lool/pi2-device-and-oem/

I've built a simple snap using this package.yaml:

    name: piglow-examples
    vendor: Björn Tillenius <bjorn at tillenius.me>
    architecture: armhf
    version: 0.2
    binaries:
        - name: bin/linux_arm/disco
          caps: []

After installing it, I get this error:

    aa-exec: ERROR: profile 'piglow-examples_disco_0.2' does not exist

If I run 'sudo aa-clickhook -f', I get this error:

    ERROR: Invalid policy version for 'piglow-examples_disco_0.2.json'. Skipping

I also tried installing pastebinit.mvo from the store, and that fails
with the same problem.

Can someone please explain what's going on here? 


-- 
Björn Tillenius | https://launchpad.net/~bjornt



More information about the snappy-app-devel mailing list