Snapcraft runs multipass setup but fails
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Abandoned. Snapcraft failed during multipass VM cleanup after reporting a missing instance. Closed without comments or fixes.
Suggested action: —
No scores available.
Issue body
I was setting up snapcraft on a new laptop, but running snapcraft required multipass, so snapcraft installed it correctly but then it failed as follows
```
snapcraft
Support for 'multipass' needs to be set up. Would you like to do it now? [y/N]: y
multipass 1.5.0 from Canonical✓ installed
Waiting for multipass...
Launching a VM.
Build environment is in unknown state, cleaning first.
delete failed: The following errors occurred:
instance "snapcraft-folding-at-home-fcole90" does not exist
An error occurred with the instance when trying to delete with 'multipass': returned exit code 2.
Ensure that 'multipass' is setup correctly and try again.
```
The name of my snap is folding-at-home-fcole90
Snap available here: https://github.com/fcole90/fah-snap
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. Snapcraft failed during multipass VM cleanup after reporting a missing instance. Closed without comments or fixes. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or comments, likely abandoned due to inactivity. The reported snapcraft and multipass VM instance cleanup error remains unfixed. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution, likely abandoned. The report detailed a snapcraft failure during multipass VM setup caused by a non-existent instance cleanup error. No comments or fixes were provided. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1813979 snapcraft cleanbuild wants to install multipass but it's already installed | snapcraft (launchpad) | closed | Closed without resolution. Likely abandoned or superseded by newer snapcraft and multipass versions that resolved the detection and launch failures. | |
| #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. | |
| #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. | |
| #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. | |
| #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. | |
| #1856594 Snapcraft tutorial errors out on OSX with multipass error, "returned exit code 2" | snapcraft (launchpad) | open | Dec 2019 report: snapcraft 3.9 on macOS fails via multipass (apt 404s, mount exit code 2) and crashes with AttributeError on os.sched_getaffinity. No maintainer activity; that code path no longer exists in current snapcraft, and macOS support was dropped. | |
| #1794497 Snapcraft can't re-use build VM if anything went wrong with the initial setup | snapcraft (launchpad) | closed | Closed and likely abandoned. Snapcraft lacks automatic recovery for failed VM setups, forcing manual cleanup. No resolution was provided, suggesting the issue was superseded by updated build environment handling. | |
| #1975468 Snapcraft build fails, because multipass cannot download cloudimg | snapcraft (launchpad) | closed | Closed without resolution or comments. The Multipass cloud image download failure was not addressed, indicating the issue was abandoned or resolved externally. | |
| #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. | |
| #1794507 snapcraft fails ugly with multipass when a space is inserted into `name:` field | snapcraft (launchpad) | closed | Closed without resolution. Reported a cryptic multipass launch failure when a space was present in the snapcraft name field, requesting better input validation. No fix or follow-up action was taken. |