During my unsuccessful snapcraft build, Multipass is failing to recognize my source files located in /opt/my-source-files.
For my environment, I had installed both snapcraft and multipass with the following commands: • sudo snap install snapcraft --classic • sudo snap install multipass --classic
snap list:
Name Version Rev Tracking Publisher Notes core20 20230801 2015 latest/stable canonical✓ base core22 20230801 864 latest/stable canonical✓ base multipass 1.12.2 10244 latest/stable canonical✓ - snapcraft 7.5.3 9726 latest/stable canonical✓ classic snapd 2.60.4 20290 latest/stable canonical✓ snapd snappy-debug 0.36-snapd2.59.4 704 latest/stable canonical✓ -
Finally, when looking into snapcraft.yaml for Multipass, I can see this:
name: multipass title: Multipass icon: data/multipass.gui.svg summary: Instant Ubuntu VMs description: | Multipass is a tool to launch and manage VMs on Windows, Mac and Linux that simulates a cloud environment with support for cloud-init. Get Ubuntu on-demand with clean integration to your IDE and version control on your native platform. license: GPL-3.0
adopt-info: multipass confinement: strict base: core22
If the “sudo snap install multipass --classic” doesn’t do it, what will it take to install the classic version of Multipass to avoid the following error:
Source path “/opt/edgenoplugins” does not exist An error occurred with the instance when trying to mount with ‘multipass’: returned exit code 1. Ensure that ‘multipass’ is setup correctly and try again.
Thx.