← Back to issue list

snapcraft try not available for core22-based snap

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1978844
Type
issue
State
closed
Author
~ack
Labels
craft-1121
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 resolution or comments. The snapcraft try command remains unavailable for core22-based snaps, with attempts failing or falling back to legacy implementations.

Suggested action:

No scores available.

Issue body

The `snapcraft try` command is not available when building a core22-based snap Trying different combination of options falls back to the legacy implementation: $ snapcraft -v try 2022-06-15 17:17:14.730 Starting Snapcraft 7.0.4 2022-06-15 17:17:14.730 Logging execution to '/home/ack/.cache/snapcraft/log/snapcraft-20220615-171714.729051.log' Usage: snapcraft [OPTIONS] COMMAND [ARGS]... Try 'snapcraft -h' for help. Error: No such option: -v $ snapcraft try Support for 'multipass' needs to be set up. Would you like to do it now? [y/N]: ^CAborted! $ snapcraft --use-lxd try Cannot pack snap file: Command '['snap', 'pack', '--check-skeleton', 'try']' returned non-zero exit status 1. (error: open try/meta/snap.yaml: no such file or directory) Full execution log: '/home/ack/.cache/snapcraft/log/snapcraft-20220615-171729.488780.log'

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution or comments. The snapcraft try command remains unavailable for core22-based snaps, with attempts failing or falling back to legacy implementations.
qwen/qwen3.6-35b-a3b Closed without resolution or comments. The snapcraft try command failure for core22-based snaps was not addressed, indicating the issue was abandoned.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution. The snapcraft try command failed for core22-based snaps due to missing multipass/LXD setup and legacy fallback errors. No fix was implemented.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1996508 snapcraft try with core22 doesn't support lxd snapcraft (launchpad) closed 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.
82%
#1805212 snapcraft try (integrated with build environments) snapcraft (launchpad) closed Closed with no comments or resolution details. The feature to integrate snapcraft try with build environments was likely abandoned or superseded by later releases.
78%
#5604 `snapcraft try` for `core24` snapcraft open Implement `snapcraft try` for core24 snaps, a known core24 migration gap. Triaged (Jira SNAPCRAFT-1185); a maintainer noted in July 2025 it's now implementable after Craft Application 5.0 refactoring, but the command still raises FeatureNotImplemented.
77%
#2014963 Snapcraft fails to build snap if Snapcraft itself is installed using `snap try` snapcraft (launchpad) open Snapcraft fails when using snap try due to snapd not allowing file downloads for try-mode snaps. Issue is 1251 days old with no maintainer engagement.
76%
#1986634 "snapcraft extension" does not recognize core22 extensions snapcraft (launchpad) closed The snapcraft extension command failed to recognize core22 extensions despite listing them. It was closed without resolution or comments, indicating abandonment or stale status due to prolonged inactivity.
76%
#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.
75%
#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.
75%
#1996511 snapcraft try with multipass provider crashes snapcraft (launchpad) closed Closed without resolution. The multipass provider crashed on core22 due to missing base mappings in the legacy codebase. Superseded by newer snapcraft releases that added core22 support.
74%
#4870 snapcraft pack error obtuse on snapd errors snapcraft closed Closed as a duplicate of issue #4548. The snapcraft pack error handling regression affecting core22 and core24 is superseded by the referenced tracking issue.
73%
#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.
73%