snapcraft try with core22 doesn't support lxd

Bug #1996508 reported by Peter Sabaini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Committed
Undecided
Unassigned

Bug Description

Running `snapcraft try --use-lxd` with a core22 snap results in:

$ snapcraft try --use-lxd
Launching a container.
Build environment is in unknown state, cleaning first.
The 'LXD' provider does not support base 'core22'

Recommended resolution:
Ensure build-base or base are correct in the snapcraft.yaml file.

Version:
$ snapcraft -V
snapcraft 7.2.7

Building this snap on lxd works fine though.

Revision history for this message
Callahan Kovacs (mr-cal) wrote :

`snapcraft try` is not yet supported for core22. A PR for this feature is in-progress: https://github.com/snapcore/snapcraft/pull/3981

Duplicate of https://bugs.launchpad.net/snapcraft/+bug/1978844

Changed in snapcraft:
status: New → In Progress
Revision history for this message
Tiago Nobrega (tigarmo) wrote (last edit ):

This has been fixed and should be available on latest edge release. Thanks for the report!

Changed in snapcraft:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.