Snappy w ogóle NIE instaluje NIC i pojawia się następujący błąd:
ubuntu@localhost:~$ sudo snappy install os-js.ogra
os-js.ogra 23 MB [=================================================================] OK
ERROR: Could not generate AppArmor profile for 'docker_docker_1.5.0.002.json'. Skipping
Traceback (most recent call last):
File "/usr/lib/snappy-systemd/systemd-snappyhook", line 187, in <module>
update_systemd_units()
File "/usr/lib/snappy-systemd/systemd-snappyhook", line 175, in update_systemd_units
install(f)
File "/usr/lib/snappy-systemd/systemd-snappyhook", line 54, in install
update_content(f)
File "/usr/lib/snappy-systemd/systemd-snappyhook", line 142, in update_content
content = generate_systemd_unit(app_triple, pkg_path, fp)
File "/usr/lib/snappy-systemd/systemd-snappyhook", line 78, in generate_systemd_unit
if not is_allowed(v):
File "/usr/lib/snappy-systemd/systemd-snappyhook", line 61, in is_allowed
if re.match(WHITELIST, s):
File "/usr/lib/python3.4/re.py", line 160, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or buffer
Traceback (most recent call last):
File "/usr/bin/click", line 86, in <module>
sys.exit(main())
File "/usr/bin/click", line 82, in main
return mod.run(args)
File "/usr/lib/python3/dist-packages/click/commands/install.py", line 110, in run
quiet=not options.verbose)
File "/usr/lib/python3/dist-packages/click/install.py", line 482, in install
path, user=user, all_users=all_users, quiet=quiet)
File "/usr/lib/python3/dist-packages/click/install.py", line 466, in _unpack
user_name=None)
GLib.Error: click_hooks_error-quark: Hook command '/usr/lib/snappy-systemd/systemd-snappyhook' failed: Child process exited with code 1 (6)
ubuntu@localhost:~$ sudo snappy update webdm
webdm 5 MB [======================================================================] OK
Traceback (most recent call last):
File "/usr/lib/snappy-systemd/systemd-snappyhook", line 187, in <module>
update_systemd_units()
File "/usr/lib/snappy-systemd/systemd-snappyhook", line 175, in update_systemd_units
install(f)
File "/usr/lib/snappy-systemd/systemd-snappyhook", line 54, in install
update_content(f)
File "/usr/lib/snappy-systemd/systemd-snappyhook", line 142, in update_content
content = generate_systemd_unit(app_triple, pkg_path, fp)
File "/usr/lib/snappy-systemd/systemd-snappyhook", line 78, in generate_systemd_unit
if not is_allowed(v):
File "/usr/lib/snappy-systemd/systemd-snappyhook", line 61, in is_allowed
if re.match(WHITELIST, s):
File "/usr/lib/python3.4/re.py", line 160, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or buffer
Traceback (most recent call last):
File "/usr/bin/click", line 86, in <module>
sys.exit(main())
File "/usr/bin/click", line 82, in main
return mod.run(args)
File "/usr/lib/python3/dist-packages/click/commands/install.py", line 110, in run
quiet=not options.verbose)
File "/usr/lib/python3/dist-packages/click/install.py", line 482, in install
path, user=user, all_users=all_users, quiet=quiet)
File "/usr/lib/python3/dist-packages/click/install.py", line 466, in _unpack
user_name=None)
GLib.Error: click_hooks_error-quark: Hook command '/usr/lib/snappy-systemd/systemd-snappyhook' failed: Child process exited with code 1 (6)
ubuntu@localhost:~$