2020-04-28 15:53:15 |
Michał Sawicz |
description |
@kenvandine had it yesterday and it happened for me just now - apparently randomly, Snapcraft dies complaining about missing packages. It's a different package every time, too.
> Could not find a required package in 'build-packages': g++
For now, a `snapcraft clean` helped.
I've managed to grab a debug log, attached. |
@kenvandine had it yesterday and it happened for me just now - apparently randomly, Snapcraft dies complaining about missing packages. It's a different package every time, too.
> Could not find a required package in 'build-packages': g++
For now, a `snapcraft clean` helped.
I've managed to grab a debug log, attached.
===
After a closer look, this is due to the fact that `apt-get update` never ran in the instance (as it failed early).
To reproduce:
$ snap refresh multipass --edge
$ snap refresh snapcraft --stable
$ snapcraft
# fails with ProviderFileCopyError
$ snap refresh snapcraft --candidate
$ snapcraft
# fails with Could not find a required package in 'build-packages': |
|