Ubuntu Pastebin

Paste from ogra at Thu, 1 Sep 2016 12:43:58 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
ogra@styx:~/Devel$ sudo ubuntu-image -c edge amd64-generic-model.assertion -o images/snappy/u-i-amd64.img
COMMAND FAILED: snap prepare-image --channel=edge amd64-generic-model.assertion /tmp/tmp77onoa5j/unpackerror: cannot decode model assertion "amd64-generic-model.assertion": assertion: "sign-key-sha3-384" header is mandatory
uncaught exception in state machine step: [1] prepare_image
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/ubuntu_image/state.py", line 68, in __next__
    step()
  File "/usr/lib/python3/dist-packages/ubuntu_image/builder.py", line 138, in prepare_image
    snap(self.args.model_assertion, self.unpackdir, self.args.channel)
  File "/usr/lib/python3/dist-packages/ubuntu_image/helpers.py", line 124, in snap
    run(cmd, env=env)
  File "/usr/lib/python3/dist-packages/ubuntu_image/helpers.py", line 105, in run
    proc.check_returncode()
  File "/usr/lib/python3.5/subprocess.py", line 659, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['snap', 'prepare-image', '--channel=edge', 'amd64-generic-model.assertion', '/tmp/tmp77onoa5j/unpack']' returned non-zero exit status 1
Crash in state machine
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/ubuntu_image/__main__.py", line 110, in main
    list(state_machine)
  File "/usr/lib/python3/dist-packages/ubuntu_image/state.py", line 68, in __next__
    step()
  File "/usr/lib/python3/dist-packages/ubuntu_image/builder.py", line 138, in prepare_image
    snap(self.args.model_assertion, self.unpackdir, self.args.channel)
  File "/usr/lib/python3/dist-packages/ubuntu_image/helpers.py", line 124, in snap
    run(cmd, env=env)
  File "/usr/lib/python3/dist-packages/ubuntu_image/helpers.py", line 105, in run
    proc.check_returncode()
  File "/usr/lib/python3.5/subprocess.py", line 659, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['snap', 'prepare-image', '--channel=edge', 'amd64-generic-model.assertion', '/tmp/tmp77onoa5j/unpack']' returned non-zero exit status 1
ogra@styx:~/Devel$ sudo ubuntu-image -c edge pi2-model.assertion -o images/snappy/u-i-pi2.img
COMMAND FAILED: snap prepare-image --channel=edge pi2-model.assertion /tmp/tmpek94sn4z/unpackerror: cannot decode model assertion "pi2-model.assertion": assertion: "sign-key-sha3-384" header is mandatory
uncaught exception in state machine step: [1] prepare_image
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/ubuntu_image/state.py", line 68, in __next__
    step()
  File "/usr/lib/python3/dist-packages/ubuntu_image/builder.py", line 138, in prepare_image
    snap(self.args.model_assertion, self.unpackdir, self.args.channel)
  File "/usr/lib/python3/dist-packages/ubuntu_image/helpers.py", line 124, in snap
    run(cmd, env=env)
  File "/usr/lib/python3/dist-packages/ubuntu_image/helpers.py", line 105, in run
    proc.check_returncode()
  File "/usr/lib/python3.5/subprocess.py", line 659, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['snap', 'prepare-image', '--channel=edge', 'pi2-model.assertion', '/tmp/tmpek94sn4z/unpack']' returned non-zero exit status 1
Crash in state machine
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/ubuntu_image/__main__.py", line 110, in main
    list(state_machine)
  File "/usr/lib/python3/dist-packages/ubuntu_image/state.py", line 68, in __next__
    step()
  File "/usr/lib/python3/dist-packages/ubuntu_image/builder.py", line 138, in prepare_image
    snap(self.args.model_assertion, self.unpackdir, self.args.channel)
  File "/usr/lib/python3/dist-packages/ubuntu_image/helpers.py", line 124, in snap
    run(cmd, env=env)
  File "/usr/lib/python3/dist-packages/ubuntu_image/helpers.py", line 105, in run
    proc.check_returncode()
  File "/usr/lib/python3.5/subprocess.py", line 659, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['snap', 'prepare-image', '--channel=edge', 'pi2-model.assertion', '/tmp/tmpek94sn4z/unpack']' returned non-zero exit status 1
Download as text