snapcraft try not available for core22-based snap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
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/
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/
tags: | added: craft-1121 |
Changed in snapcraft: | |
status: | New → Triaged |
A fix that adds support for `snapcraft try` for core22 has been merged (it should be available on latest edge). Thanks!