
Snappy installiert überhaupt NICHTS und gibt den folgenden Fehler aus:
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:~$
Antwort1
Plattform: Raspberry PI 2 1 GB https://www.raspberrypi.org/downloads/snappy/
- Genau dieselbe Abfolge von Fehlermeldungen, außer dass ich versucht habe, Docker zu installieren.
Datei "/usr/lib/python3.4/re.py", Zeile 160, in match
return _compile(pattern, flags).match(string)
TypeError: erwarteter String oder Puffer ```
- Eine lange Liste anderer Probleme (z. B. schlugen Befehle in den Snappy-Tutorials/Anleitungen fehl)
$ Snappy list -v
Nach etwa einem Dutzend aufeinanderfolgender Ausgaben entschied man sich für dieinoffizielles Raspberry Pi 2-Bild
Heruntergeladendas inoffizielle Raspberry Pi 2 Image: (Erstellt: Mittwoch, 15. April 2015 um 17:45 Uhr)
Alles entspricht der Dokumentation und ich habe Docker jetzt am Laufen.