← Back to issue list

`base: core22` `default-provider:` allows channels, but SnapD doesn't

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2012057
Type
issue
State
closed
Author
~saviq
Labels
craft-1655
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Abandoned due to inactivity. Snapcraft continues to allow channels in default-provider despite SnapD rejecting them, with no fix or documentation update implemented.

Suggested action:

No scores available.

Issue body

Snapcraft doesn't let you build a snap with a `default-provider:` that isn't available (yet): ```yaml plugs:   graphics-core22:     interface: content     target: $SNAP/graphics     default-provider: mesa-core22 ``` ```shell $ snapcraft Launching instance... Error installing snap 'mesa-core22' from channel 'latest/stable'. Failed to execute pack in instance. Full execution log: '/home/michal/.local/state/snapcraft/log/snapcraft-20230317-103905.303296.log' ``` It will happily build, if you give it a channel: ```yaml default-provider: mesa-core22/edge ``` But then SnapD can't install it: ```shell $ snap install graphics-test-tools --channel 22/edge error: cannot perform the following tasks: - Ensure prerequisites for "graphics-test-tools" are available (cannot install prerequisite "mesa-core22/edge": invalid instance name: invalid snap name: "mesa-core22/edge") ``` Snapcraft should either allow non-existent `default-provider:`s, or at least align with SnapD. Documentation does not mention channel support, so that's likely by design: https://snapcraft.io/docs/content-interface#heading--default

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Abandoned due to inactivity. Snapcraft continues to allow channels in default-provider despite SnapD rejecting them, with no fix or documentation update implemented.
qwen/qwen3.6-35b-a3b Abandoned. Closed without resolution. Snapcraft allows channels in default-provider but SnapD rejects them. Labeled craft-1655. No comments or fixes applied.
qwen3.6-35b-a3b-mtp-q6 Abandoned. Snapcraft permits channels in default-provider while SnapD rejects them, causing a build-to-install mismatch. No fix or documentation update was applied.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2761 Core20 base snapcraft merged Merged. Implements Core20 base support in Snapcraft. Reviewers clarified channel defaults and runtime base installation, confirming stable remains default while devel targets pre-release.
70%