Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.32 KB | None | 0 0
  1. skj@laptop:~/Documents/snap/TK1$ sudo ubuntu-image -c edge --extra-snaps /home/skj/Documents/snap/TK1/tk1_16-0.1_armhf.snap --extra-snaps /home/skj/Documents/snap/TK1/linux-generic-bbb_4.4.0-93-1.1_armhf.snap /home/skj/Documents/snap/TK1/tk1.model
  2. [sudo] password for skj:
  3. Fetching core
  4. Copying "/home/skj/Documents/snap/TK1/linux-generic-bbb_4.4.0-93-1.1_armhf.snap" (linux-generic-bbb)
  5. Copying "/home/skj/Documents/snap/TK1/tk1_16-0.1_armhf.snap" (tk1)
  6. tk1 already prepared, skipping
  7. linux-generic-bbb already prepared, skipping
  8. WARNING: "linux-generic-bbb", "tk1" were installed from local snaps disconnected from a store and cannot be refreshed subsequently!
  9. panic: runtime error: slice bounds out of range [recovered]
  10. panic: runtime error: slice bounds out of range
  11.  
  12. goroutine 1 [running]:
  13. panic(0x5594d68fafa0, 0xc8200100c0)
  14. /usr/lib/go-1.6/src/runtime/panic.go:481 +0x3ea
  15. main.main.func1()
  16. /build/snapd-44qGW9/snapd-2.28.1/_build/src/github.com/snapcore/snapd/cmd/snap/main.go:287 +0x7b
  17. panic(0x5594d68fafa0, 0xc8200100c0)
  18. /usr/lib/go-1.6/src/runtime/panic.go:443 +0x4ed
  19. github.com/snapcore/snapd/partition/ubootenv.OpenWithFlags(0xc8202f9580, 0x32, 0x1, 0x0, 0x0, 0x0)
  20. /build/snapd-44qGW9/snapd-2.28.1/_build/src/github.com/snapcore/snapd/partition/ubootenv/env.go:112 +0x65c
  21. github.com/snapcore/snapd/partition.(*uboot).SetBootVars(0x5594d6d1af18, 0xc820341590, 0x0, 0x0)
  22. /build/snapd-44qGW9/snapd-2.28.1/_build/src/github.com/snapcore/snapd/partition/uboot.go:59 +0x75
  23. github.com/snapcore/snapd/image.setBootvars(0xc8202fca50, 0x0, 0x0)
  24. /build/snapd-44qGW9/snapd-2.28.1/_build/src/github.com/snapcore/snapd/image/image.go:483 +0x55a
  25. github.com/snapcore/snapd/image.bootstrapToRootDir(0xc820173c20, 0xc8200c2840, 0xc8200bb8f0, 0xc820360120, 0x0, 0x0)
  26. /build/snapd-44qGW9/snapd-2.28.1/_build/src/github.com/snapcore/snapd/image/image.go:433 +0x212a
  27. github.com/snapcore/snapd/image.Prepare(0xc8200bb8f0, 0x0, 0x0)
  28. /build/snapd-44qGW9/snapd-2.28.1/_build/src/github.com/snapcore/snapd/image/image.go:154 +0x38d
  29. main.(*cmdPrepareImage).Execute(0xc8200159a0, 0xc820192cc0, 0x0, 0x6, 0x0, 0x0)
  30. /build/snapd-44qGW9/snapd-2.28.1/_build/src/github.com/snapcore/snapd/cmd/snap/cmd_prepare_image.go:72 +0x22f
  31. github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags.(*Parser).ParseArgs(0xc82006b980, 0xc82000a0f0, 0x6, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0)
  32. /build/snapd-44qGW9/snapd-2.28.1/_build/src/github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags/parser.go:316 +0xa85
  33. github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags.(*Parser).Parse(0xc82006b980, 0x0, 0x0, 0x0, 0x0, 0x0)
  34. /build/snapd-44qGW9/snapd-2.28.1/_build/src/github.com/snapcore/snapd/vendor/github.com/jessevdk/go-flags/parser.go:186 +0x9d
  35. main.run(0x0, 0x0)
  36. /build/snapd-44qGW9/snapd-2.28.1/_build/src/github.com/snapcore/snapd/cmd/snap/main.go:308 +0x4a
  37. main.main()
  38. /build/snapd-44qGW9/snapd-2.28.1/_build/src/github.com/snapcore/snapd/cmd/snap/main.go:292 +0x834
  39. COMMAND FAILED: snap prepare-image --channel=edge --extra-snaps=/home/skj/Documents/snap/TK1/tk1_16-0.1_armhf.snap --extra-snaps=/home/skj/Documents/snap/TK1/linux-generic-bbb_4.4.0-93-1.1_armhf.snap /home/skj/Documents/snap/TK1/tk1.model /tmp/tmpc6dtdvsk/unpack
  40. skj@laptop:~/Documents/snap/TK1$ snap version
  41. snap 2.28.1
  42. snapd 2.28.1
  43. series 16
  44. ubuntu 16.04
  45. kernel 4.10.0-35-generic
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement