snapcraft init create base: core18 snap
Metadata
Current evaluation
Snapcraft init was updated to scaffold core20 instead of core18 by merged canonical/snapcraft#3587 (merge commit f91632aab).
Resolution: closed resolved
Reason: Merged PR canonical/snapcraft#3587 changed lifecycle initialization to use core20 and was merged into master as commit f91632aab.
Evaluated by: mr-cal-bot
No scores available.
Issue body
ubuntu core 20 has been out for a while now. But, 'snapcraft init' creates a snap with 'base: core18'.
Should be core20.
$ snapcraft version
snapcraft, version 5.0
$ snap list snapcraft
Name Version Rev Tracking Publisher Notes
snapcraft 5.0 6751 latest/stable canonical✓ classic
$ snapcraft init
[ . . . ]
$ grep base snap/snapcraft.yaml
base: core18 # the base snap is the execution environment for this snap
$ date
Thu 12 Aug 2021 11:20:11 AM EDT
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Snapcraft init was updated to scaffold core20 instead of core18 by merged canonical/snapcraft#3587 (merge commit f91632aab). | |
| stealth/space-bunny-alpha | — | closed resolved | Snapcraft 5 generated core18 manifests. PR #3587 changed init to generate core20 and merged as f91632aab. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. Snapcraft defaults were later updated to core20 or core22, superseding this report. | |
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without comments. The default base in snapcraft init was updated in later releases to core20 and core22, resolving the outdated core18 template. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed. Defaults were updated in later releases, changing the init base from core18 to core20. No explicit fix or merge was tracked. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/snapcraft#3587
(confidence 100%)
The merged PR directly updated snapcraft init to generate core20 manifests.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4118 init: use core22 base for `snapcraft init` | snapcraft | merged | Merged PR #4118 (mr-cal, CRAFT-1670): snapcraft init now scaffolds core22 as the default base instead of core20, with the command moved from snapcraft_legacy/ to snapcraft/ and a spread test added. Squash-merged as 4afc9e4c9. | |
| #3583 build providers: snapcraft's new base is core20 (CRAFT-544) | snapcraft | merged | Merged PR #3583 via 2b2d7dbcf, replacing build providers' injected core18 base with core20 to match Snapcraft's new base. | |
| #3579 snap: move base to core20 (CRAFT-509) | snapcraft | merged | Merged PR #3579 via ed2baf8bd, moving Snapcraft's own snap to the core20 base; implementation commit 18a974e01. | |
| #2444 snap: move to core18 | snapcraft | closed | Superseded by merged PR #2712, which moved Snapcraft's snap from core to core18 in commit bd5be51a3. | |
| #1990550 snapcraft init creates boilerplate which opaquely fails to build by default | snapcraft (launchpad) | closed | Resolved by changing `snapcraft init` boilerplate from core20 to core22; the reporter confirmed the fix on 2023-06-01. | |
| #2712 snap: migrate to core18 | snapcraft | merged | Merged PR #2712 by maintainer sergiusens moved Snapcraft's own snap from base core to core18, landing as commit bd5be51a3 (8 files, +95/-42); it superseded the earlier closed attempt PR #2444. | |
| #2761 Core20 base | snapcraft | merged | Core20 base support was merged via #3579, moving Snapcraft to core20 in commit 18a974e01 (merge ed2baf8bd). | |
| #1846195 provide snapcraft docker image for core18 | snapcraft (launchpad) | open | Request (2019) for an official snapcraft Docker image able to build base: core18 snaps; unmaintained since 2020, in-repo Dockerfiles were removed in 24e70d6db in favor of canonical/snapcraft-rocks, and core18 now needs EOL Snapcraft 7.5.x. | |
| #1862256 snapcraft should complain loudly when building base: core20 snap on i386 | snapcraft (launchpad) | closed | Closed as superseded: improved architecture parsing rejects unsupported core20/i386 builds, making a dedicated check unnecessary; snapcraft#4392 improved this handling. | |
| #1835532 snapcraft behavior for type: base | snapcraft (launchpad) | closed | Implemented build-base support for base snaps; the proposed branch successfully built core20 using core18 before the issue was closed. |