Ubuntu Pastebin

Paste from jibel at Wed, 23 Nov 2016 08:48:17 +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
⟫ ubuntu-image -c edge -o pc-amd64-edge.img --image-size 3G amd64.model
error: mkdir /var/lib/snapd/snaps/partial: permission denied
COMMAND FAILED: snap prepare-image --channel=edge  amd64.model /tmp/tmpp1sdbx7l/unpack
uncaught exception in state machine step: [1] prepare_image
Traceback (most recent call last):
  File "/snap/ubuntu-image/25/lib/python3.5/site-packages/ubuntu_image/state.py", line 68, in __next__
    step()
  File "/snap/ubuntu-image/25/lib/python3.5/site-packages/ubuntu_image/builder.py", line 107, in prepare_image
    self.args.channel, self.args.extra_snaps)
  File "/snap/ubuntu-image/25/lib/python3.5/site-packages/ubuntu_image/helpers.py", line 135, in snap
    run(cmd, stdout=None, stderr=None, env=os.environ)
  File "/snap/ubuntu-image/25/lib/python3.5/site-packages/ubuntu_image/helpers.py", line 120, in run
    proc.check_returncode()
  File "/snap/ubuntu-image/25/usr/lib/python3.5/subprocess.py", line 659, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['snap', 'prepare-image', '--channel=edge', 'amd64.model', '/tmp/tmpp1sdbx7l/unpack']' returned non-zero exit status 1
Crash in state machine
Traceback (most recent call last):
  File "/snap/ubuntu-image/25/lib/python3.5/site-packages/ubuntu_image/__main__.py", line 171, in main
    list(state_machine)
  File "/snap/ubuntu-image/25/lib/python3.5/site-packages/ubuntu_image/state.py", line 68, in __next__
    step()
  File "/snap/ubuntu-image/25/lib/python3.5/site-packages/ubuntu_image/builder.py", line 107, in prepare_image
    self.args.channel, self.args.extra_snaps)
  File "/snap/ubuntu-image/25/lib/python3.5/site-packages/ubuntu_image/helpers.py", line 135, in snap
    run(cmd, stdout=None, stderr=None, env=os.environ)
  File "/snap/ubuntu-image/25/lib/python3.5/site-packages/ubuntu_image/helpers.py", line 120, in run
    proc.check_returncode()
  File "/snap/ubuntu-image/25/usr/lib/python3.5/subprocess.py", line 659, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['snap', 'prepare-image', '--channel=edge', 'amd64.model', '/tmp/tmpp1sdbx7l/unpack']' returned non-zero exit status 1
Download as text