← Back to issue list

snapcraft init create base: core18 snap

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1939713
Type
issue
State
closed
Author
~knitzsche
Labels
craft-465
Created
Updated
Closed

Current evaluation

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

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.

Suggested action:

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
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

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1990550 snapcraft init creates boilerplate which opaquely fails to build by default snapcraft (launchpad) closed Closed without resolution. The report recommended updating snapcraft init to default to core22 instead of core20, preventing opaque build failures and CLI mismatches. No fix or pull request was submitted, leaving the request abandoned.
83%
#1803776 snapcraft init missing a base snapcraft (launchpad) closed Closed without resolution. The base requirement for snapcraft init was later implemented in subsequent releases, superseding this report.
79%
#1862256 snapcraft should complain loudly when building base: core20 snap on i386 snapcraft (launchpad) closed Closed as superseded. Improved architecture parsing in snapcraft now correctly rejects unsupported base-architecture combinations, addressing the original request without requiring explicit i386 core20 checks.
77%
#1842328 snapcraft make plugin does not support core20 snapcraft (launchpad) closed Closed without resolution or comments, likely abandoned. The core20 support gap for the snapcraft make plugin remains unresolved.
76%
#4118 init: use core22 base for `snapcraft init` snapcraft merged Merged. Updates snapcraft init to use core22 as the default base instead of core20. The command was relocated from snapcraft_legacy to snapcraft, and a spread test was added. Approved by reviewer and passed CI.
76%
#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.
75%
#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.
75%
#2099923 Snapcraft builds are failing: install of snap "snapcraft" failed snapcraft (launchpad) open Snapcraft builds failing due to outdated snapd (2.61) on build infrastructure unable to install core20 base. Issue is 556 days old with no maintainer response.
75%
#2012074 snapcraft cannot build snap by default on aarch64 snapcraft (launchpad) open snapcraft init defaults to core20 base which lacks arm64 Multipass images, causing build failures on aarch64. Fixed by PR #4118 which changed the default init base to core22.
74%
#1987853 snapcraft terminates override-build script prematurely without error snapcraft (launchpad) open Snapcraft prematurely terminates override-build scripts after core18 to core20 upgrade, with no error output. Untriaged and inactive for over 4 years.
74%