Advertisement
Guest User

Snapcraft Missing Module

a guest
Feb 6th, 2019
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ snapcraft --debug
  2. Device /root/build_ultraedit removed from snapcraft-ultraedit
  3. Waiting for a network connection...
  4. Network connection established
  5. error: no changes of type "auto-refresh" found
  6. snap "core" has no updates available
  7. snap "snapcraft" has no updates available
  8. Mounting /home/chris/Program/editor/ultraedit into container
  9. Device /root/build_ultraedit added to snapcraft-ultraedit
  10. Launching a VM.
  11. launch failed: modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.15.0-45-generic/modules.dep.bin'
  12. modprobe: FATAL: Module msr not found in directory /lib/modules/4.15.0-45-generic
  13. An error occurred when trying to launch the instance with 'multipass': returned exit code 2.
  14. Ensure that 'multipass' is setup correctly and try again.
  15. Debug mode enabled, dropping into a shell
  16. Stopping local:snapcraft-ultraedit
  17. Sorry, an error occurred in Snapcraft:
  18. Traceback (most recent call last):
  19.   File "/usr/bin/snapcraft", line 11, in <module>
  20.     load_entry_point('snapcraft==2.43.1+18.4', 'console_scripts', 'snapcraft')()
  21.   File "/usr/lib/python3/dist-packages/click/core.py", line 722, in __call__
  22.     return self.main(*args, **kwargs)
  23.   File "/usr/lib/python3/dist-packages/click/core.py", line 697, in main
  24.     rv = self.invoke(ctx)
  25.   File "/usr/lib/python3/dist-packages/click/core.py", line 1043, in invoke
  26.     return Command.invoke(self, ctx)
  27.   File "/usr/lib/python3/dist-packages/click/core.py", line 895, in invoke
  28.     return ctx.invoke(self.callback, **ctx.params)
  29.   File "/usr/lib/python3/dist-packages/click/core.py", line 535, in invoke
  30.     return callback(*args, **kwargs)
  31.   File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func
  32.     return f(get_current_context(), *args, **kwargs)
  33.   File "/usr/lib/python3/dist-packages/snapcraft/cli/_runner.py", line 93, in run
  34.     ctx.forward(lifecyclecli.commands["snap"])
  35.   File "/usr/lib/python3/dist-packages/click/core.py", line 553, in forward
  36.     return self.invoke(cmd, **kwargs)
  37.   File "/usr/lib/python3/dist-packages/click/core.py", line 535, in invoke
  38.     return callback(*args, **kwargs)
  39.   File "/usr/lib/python3/dist-packages/snapcraft/cli/lifecycle.py", line 139, in snap
  40.     snap_name = lifecycle.pack(directory, output)
  41.   File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle/_packer.py", line 47, in pack
  42.     snap = _snap_data_from_dir(directory)
  43.   File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle/_packer.py", line 33, in _snap_data_from_dir
  44.     with open(os.path.join(directory, "meta", "snap.yaml")) as f:
  45. FileNotFoundError: [Errno 2] No such file or directory: '/home/chris/Program/editor/ultraedit/prime/meta/snap.yaml'
  46. We would appreciate it if you created a bug report at
  47. https://launchpad.net/snapcraft/+filebug with the above text included.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement