Core22 not usable with multipass?

Hi there,

I’m trying to use core22 as snapcraft base:

name: gnome-commander
version: 1.13.1
summary: Testversion of SNAP for GNOME Commander
description: |
  GNOME Commander is a fast, flexible and well known file manager.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode
#base: daily:22.04
base: core22

Running snapcraft this leads to an error with multipass:

Launching a VM.
Build environment is in unknown state, cleaning first.
info failed: The following errors occurred:
instance "snapcraft-gnome-commander" does not exist
launch failed: Unable to find an image matching "core22". Please use `multipass find` for supported remotes and images.
An error occurred with the instance when trying to launch with 'multipass': returned exit code 2.
Ensure that 'multipass' is setup correctly and try again. 

Is it yet possible to use core22?

Kind regards


core22 is not released, so it would not be available as a build-base yet, what will be available around January is to set the base to core22 and the build-base to devel. This would lead to a snap that has a grade of devel which means it won’t be able to be released to stable or candidate (as the base would not yet be ABI/API stable until 22.04 is actually released)

OK, but what’s the point of releasing core22 in the edge channel? It is yet available there and for testing usage I’d like to use the latest version. Or is it somehow possible to build my own core?

Kind regards


To develop features and fixes on the way to UbuntuCore 22 images you need to have a rootfs (which the core22 snap is) … this is essential for releasing UC22 in time with 22.04 …

the content of the core22 snap will be constantly changing along the way to 22.04 and only stabilize with the actual LTS release … you really do not want to base any application snaps on such a moving target :wink:

Aside from what @ogra mentioned, we need it there to develop Snapcraft itself, as it is on edge, it implies it is a moving target and might have changes to satisfy the inter-dependencies between all components so not ready for production in any way.