Ubuntu Pastebin

Paste from rr at Wed, 12 Oct 2016 15:04:13 +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
% sudo rm -rf ./workdir/*; sudo /snap/bin/ubuntu-image -w ./workdir/ -d -c beta -o pc-test.img pc-model-local.model --cloud-init user-data.assertions --extra-snaps core_16.04.1_amd64.snap --extra-snaps pc_16.04-0.8_amd64.snap 
DEBUG:ubuntu-image:-> [ 0] make_temporary_directories
DEBUG:ubuntu-image:-> [ 1] prepare_image
error: cannot find snap "pc_16.04-0.8_amd64": snap not found
COMMAND FAILED: snap prepare-image --channel=beta --extra-snaps=core_16.04.1_amd64.snap --extra-snaps=pc_16.04-0.8_amd64.snap pc-model-local.model ./workdir/unpackERROR:ubuntu-image:uncaught exception in state machine step: [1] prepare_image
Traceback (most recent call last):
  File "/snap/ubuntu-image/20/usr/lib/python3.5/site-packages/ubuntu_image/state.py", line 68, in __next__
    step()
  File "/snap/ubuntu-image/20/usr/lib/python3.5/site-packages/ubuntu_image/builder.py", line 139, in prepare_image
    self.args.channel, self.args.extra_snaps)
  File "/snap/ubuntu-image/20/usr/lib/python3.5/site-packages/ubuntu_image/helpers.py", line 130, in snap
    run(cmd, stdout=None, stderr=None)
  File "/snap/ubuntu-image/20/usr/lib/python3.5/site-packages/ubuntu_image/helpers.py", line 114, in run
    proc.check_returncode()
  File "/snap/ubuntu-image/20/usr/lib/python3.5/subprocess.py", line 659, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['snap', 'prepare-image', '--channel=beta', '--extra-snaps=core_16.04.1_amd64.snap', '--extra-snaps=pc_16.04-0.8_amd64.snap', 'pc-model-local.model', './workdir/unpack']' returned non-zero exit status 1
ERROR:ubuntu-image:Crash in state machine
Traceback (most recent call last):
  File "/snap/ubuntu-image/20/usr/lib/python3.5/site-packages/ubuntu_image/__main__.py", line 117, in main
    list(state_machine)
  File "/snap/ubuntu-image/20/usr/lib/python3.5/site-packages/ubuntu_image/state.py", line 68, in __next__
    step()
  File "/snap/ubuntu-image/20/usr/lib/python3.5/site-packages/ubuntu_image/builder.py", line 139, in prepare_image
    self.args.channel, self.args.extra_snaps)
  File "/snap/ubuntu-image/20/usr/lib/python3.5/site-packages/ubuntu_image/helpers.py", line 130, in snap
    run(cmd, stdout=None, stderr=None)
  File "/snap/ubuntu-image/20/usr/lib/python3.5/site-packages/ubuntu_image/helpers.py", line 114, in run
    proc.check_returncode()
  File "/snap/ubuntu-image/20/usr/lib/python3.5/subprocess.py", line 659, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['snap', 'prepare-image', '--channel=beta', '--extra-snaps=core_16.04.1_amd64.snap', '--extra-snaps=pc_16.04-0.8_amd64.snap', 'pc-model-local.model', './workdir/unpack']' returned non-zero exit status 1
Download as text