snapcraft try with core22 doesn't support lxd
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Closed without resolution. The snapcraft try --use-lxd command fails with core22 bases due to an LXD provider limitation. No fix was implemented, and the report was abandoned after extended inactivity.
Suggested action: —
No scores available.
Issue body
Running `snapcraft try --use-lxd` with a core22 snap results in:
$ snapcraft try --use-lxd
Launching a container.
Build environment is in unknown state, cleaning first.
The 'LXD' provider does not support base 'core22'
Recommended resolution:
Ensure build-base or base are correct in the snapcraft.yaml file.
Version:
$ snapcraft -V
snapcraft 7.2.7
Building this snap on lxd works fine though.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The snapcraft try --use-lxd command fails with core22 bases due to an LXD provider limitation. No fix was implemented, and the report was abandoned after extended inactivity. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution, likely abandoned due to zero comments and prolonged inactivity. The snapcraft try failure with core22 on LXD remains unfixed, though standard LXD builds function correctly. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Abandoned due to inactivity. The snapcraft try --use-lxd command failed with core22 bases citing LXD provider limitations. No fix, workaround, or follow-up comments were provided. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1984172 snapcraft and core22 with experimental extensions doesn't offer to configure lxd | snapcraft (launchpad) | closed | Closed without comments or resolution, likely abandoned. The report detailed snapcraft hanging when using core22 with experimental extensions without LXD installed. No fix or merge details provided. | |
| #1978844 snapcraft try not available for core22-based snap | snapcraft (launchpad) | closed | Closed without resolution or comments. The snapcraft try command remains unavailable for core22-based snaps, with attempts failing or falling back to legacy implementations. | |
| #1866300 snapcraft fails to build core20 snap | snapcraft (launchpad) | closed | Closed without comments or resolution after 74 days. The core20 build failure involving multipass hangs and LXD tracebacks was abandoned. | |
| #1979269 core22 build just hangs if lxd has no network connectivity | snapcraft (launchpad) | open | Snapcraft core22 build hangs indefinitely at 'launching instance' when LXD has no network connectivity; reporter asks for better error feedback. Open ~4.2 years with no labels, comments, or maintainer interaction. | |
| #1666735 snapcraft cleanbuild does not work with lxd installed via snap | snapcraft (launchpad) | closed | Closed without resolution or merge. The report notes snapcraft cleanbuild fails to detect LXD installed via snap, suggesting checks via snap list or lxc list instead of apt cache. No fix was implemented or documented. | |
| #1892551 snapcraft fails to run if it is installed as a try snap | snapcraft (launchpad) | open | Snapcraft 4.x fails when installed via 'snap try': the LXD build provider tries to download the host snapcraft snap file from snapd, which returns 400 for try snaps. Unlabelled, 0 comments, ~6 years old, never triaged. | |
| #4960 Can't build Core20 snaps on non-snap distros | snapcraft | open | Core20 snap builds fail on non-snap distros (NixOS) due to LXD snap detection. Triaged with a proposed backport fix, but core20 support and snapcraft_legacy have since been removed from the project, making the issue no longer applicable. | |
| #1746612 Snapcraft cleanbuild doesn't work if you're not using the LXD snap | snapcraft (launchpad) | closed | Closed without resolution. Snapcraft hardcodes the LXD snap path during cleanbuild, causing failures with deb-installed LXD. The report appears abandoned or superseded by updated Snapcraft versions that dynamically detect LXD installations. | |
| #1890965 snapcraft --use-lxd is broken | snapcraft (launchpad) | closed | Closed without a documented fix. The hardcoded LXD image URL returning 404 broke CI. Likely abandoned or resolved upstream. | |
| #1939713 snapcraft init create base: core18 snap | snapcraft (launchpad) | closed | Closed without direct resolution, likely abandoned due to inactivity. Subsequent Snapcraft releases updated the init default to core20 and core22, effectively resolving the reported behavior. |