snapcraft cleanbuild wants to install multipass but it's already installed
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Closed without resolution. Likely abandoned or superseded by newer snapcraft and multipass versions that resolved the detection and launch failures.
Suggested action: —
No scores available.
Issue body
I'm trying to `snapcraft cleanbuild` a snapcraft.yaml with "base: core18" and I'm getting this error:
You need multipass installed to build snaps which use the base keyword.
Would you like to install it now? [y/N]: y
snapd is not logged in, snap install commands will use sudo
multipass (beta) v0.5 from Canonical✓ installed
Channel latest/beta for multipass is closed; temporarily forwarding to beta.
Waiting for multipass...
Launching a VM.
launch failed: modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.15.0-43-generic/modules.dep.bin'
modprobe: FATAL: Module msr not found in directory /lib/modules/4.15.0-43-generic
An error occurred when trying to launch the instance with 'multipass': returned exit code 2.
Ensure that 'multipass' is setup correctly and try again.
Error: not found
Stopping local:snapcraft-weekly-live-moth
An error occurred when trying to copy files using 'lxd': returned exit code 1.
The thing is, I already have multipass installed on my machine.
c@slate:~/Projects/grin$ snap info multipass
name: multipass
summary: Ubuntu at your fingertips
publisher: Canonical✓
license: unset
description: |
Multipass gives you Ubuntu VMs in seconds. Just run `multipass launch` and it'll do all the setup
for you. Check out `multipass find` for a list of available images. More details you can find
under `multipass help`.
commands:
- multipass
- multipass.virsh
services:
multipass.libvirt-bin: simple, enabled, inactive
multipass.multipassd: simple, enabled, active
snap-id: mA11087v6dR3IEcQLgICQVjuvhUUBUKM
tracking: edge
refresh-date: yesterday at 23:57 CST
channels:
stable: –
candidate: –
beta: v0.5 2019-01-22 (587) 111MB classic
edge: v0.5-7-g3901eca 2019-01-29 (590) 111MB classic
installed: v0.5-7-g3901eca (590) 111MB classic
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. Likely abandoned or superseded by newer snapcraft and multipass versions that resolved the detection and launch failures. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution, likely abandoned due to inactivity. The reported snapcraft cleanbuild failure with multipass and missing kernel modules remains unfixed, with no comments or workarounds provided. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. Cleanbuild incorrectly prompted for multipass installation and failed due to kernel module errors. Likely abandoned or superseded by updated snapcraft and multipass versions. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1806083 snapcraft fails to locate multipass (inside a multipass session) | snapcraft (launchpad) | open | snapcraft 3.0.1 fails to detect an installed multipass when run inside a multipass VM, prompting to install and dropping the user into a shell. No maintainer activity for ~7 years; affected version is long obsolete. | |
| #1810915 snapcraft can't tell when multipass is installed but disabled | snapcraft (launchpad) | open | Snapcraft fails to detect a disabled multipass snap, prompting to install it and then erroring out. Reported against multipass 2018.12.1 / ~2019 snapcraft; untriaged, 0 comments, no labels, inactive for ~7.6 years. | |
| #1904774 Snapcraft runs multipass setup but fails | snapcraft (launchpad) | closed | Abandoned. Snapcraft failed during multipass VM cleanup after reporting a missing instance. Closed without comments or fixes. | |
| #5145 snapcraft fails to launch multipass instance when multipass isn't pre-installed | snapcraft | open | Snapcraft fails to launch a multipass VM with 'Remote snapcraft is unknown or unreachable' when multipass is installed on-demand. Maintainer triaged it as an image-server availability issue and linked craft-providers#211 for better error messaging; still open. | |
| #1803708 Snapcraft should detect being run inside multipass and error | snapcraft (launchpad) | closed | Rejected. Maintainers disagreed, noting users may legitimately run snapcraft inside multipass VMs. The issue was closed without implementation. | |
| #1791821 multipass should use snapcraft defined environments | snapcraft (launchpad) | closed | Closed without discussion or resolution, indicating the feature request was likely abandoned or superseded. The proposal to align multipass with snapcraft-defined build images received no further action. | |
| #1859427 'multipass' does not exist or is not available on the desired channel 'latest/beta' | snapcraft (launchpad) | closed | Abandoned after 135 days of inactivity. The report describes a snapcraft channel resolution error when installing multipass, though manual installation works. No fix or discussion was provided. | |
| #1996511 snapcraft try with multipass provider crashes | snapcraft (launchpad) | closed | Closed without resolution. The multipass provider crashed on core22 due to missing base mappings in the legacy codebase. Superseded by newer snapcraft releases that added core22 support. | |
| #1794955 snapcraft erroneously errors when deleting non-existent multipass container | snapcraft (launchpad) | open | snapcraft clean fails with 'instance does not exist' when the multipass container is already gone; reporter suggests treating it as a no-op. Open since 2018, unlabeled, no maintainer activity for ~7.9 years. | |
| #1806470 Does not handle multipass instance being deleted | snapcraft (launchpad) | closed | Closed without resolution. Snapcraft stalls when an externally deleted Multipass instance is not purged. No fix was implemented, indicating the issue was abandoned. |