Error downloading stage packages for part 'desktop-qt5': The package 'appmenu-qt5' was not found

Hi, i’m getting this error if i use after:[desktop-qt5] in my *.yaml file. Any hints?

are you using snapcraft cleanbuild ? sounds like you are building on a release where appmenu-qt5 does not exist …

It looks like appmenu-qt5 was removed in Zesty:

So the cloud part will fail when trying to build a snap on any newer distro release. I wonder if we can make the dependency distro release dependent, for when more people start building against e.g. an 18.04 base snap?

well, effectively you always only want to build against 16.04 anyway until base snaps are a fully supported thing … just using snapcraft cleanbuild will fix the issue (nobody should use plain “snapcraft” without cleanbuild for any production snaps anyway) …

Hi: Thanks a lot for the answers!
When i try to execute snapcraft cleanbuild i get this:

Permission denied, are you in the lxd group?
There are either no permissions or the remote ‘local’ does not exist.
Verify the existing remotes by running lxc remote list

Refer to the documentation at

If i run it with sudo:

Creating snapcraft-firmly-picked-aphid
error: Failed container creation:

  • No storage pool found. Please create a new storage pool.
    Traceback (most recent call last):
    File “/usr/bin/snapcraft”, line 11, in
    load_entry_point(‘snapcraft==2.34+17.10’, ‘console_scripts’, ‘snapcraft’)()
    File “/usr/lib/python3/dist-packages/pkg_resources/”, line 564, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
    File “/usr/lib/python3/dist-packages/pkg_resources/”, line 2662, in load_entry_point
    return ep.load()
    File “/usr/lib/python3/dist-packages/pkg_resources/”, line 2316, in load
    return self.resolve()
    File “/usr/lib/python3/dist-packages/pkg_resources/”, line 2322, in resolve
    module = import(self.module_name, fromlist=[‘name’], level=0)
    File “/usr/lib/python3/dist-packages/snapcraft/cli/”, line 19, in
    File “/home/pablo/.local/lib/python3.6/site-packages/click/”, line 722, in call
    return self.main(*args, **kwargs)
    File “/home/pablo/.local/lib/python3.6/site-packages/click/”, line 697, in main
    rv = self.invoke(ctx)
    File “/home/pablo/.local/lib/python3.6/site-packages/click/”, line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File “/home/pablo/.local/lib/python3.6/site-packages/click/”, line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File “/home/pablo/.local/lib/python3.6/site-packages/click/”, line 535, in invoke
    return callback(*args, **kwargs)
    File “/usr/lib/python3/dist-packages/snapcraft/cli/”, line 188, in cleanbuild
    lifecycle.cleanbuild(project_options, remote)
    File “/usr/lib/python3/dist-packages/snapcraft/internal/”, line 326, in cleanbuild
    metadata=config.get_metadata(), remote=remote).execute()
    File “/usr/lib/python3/dist-packages/snapcraft/internal/”, line 145, in execute
    with self._ensure_started():
    File “/usr/lib/python3.6/”, line 81, in enter
    return next(self.gen)
    File “/usr/lib/python3/dist-packages/snapcraft/internal/”, line 129, in _ensure_started
    File “/usr/lib/python3/dist-packages/snapcraft/internal/”, line 117, in _ensure_container
    ‘lxc’, ‘launch’, ‘-e’, self._image, self._container_name])
    File “/usr/lib/python3.6/”, line 291, in check_call
    raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command ‘[‘lxc’, ‘launch’, ‘-e’, ‘ubuntu:xenial/amd64’, ‘local:snapcraft-firmly-picked-aphid’]’ returned non-zero exit status 1.

I think that if everyone should use always cleanbuild, there must be a tutorial of using it, but i could not find any.

the doc is here: