Random "Could not find a required package in 'build-packages'" errors
Bug #1875655 reported by
Michał Sawicz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Chris Patterson |
Bug 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.
===
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 ProviderFileCop
$ snap refresh snapcraft --candidate
$ snapcraft
# fails with Could not find a required package in 'build-packages':
description: | updated |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
importance: | Undecided → High |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
PR up to force the refresh whenever there are unsatisfied build-packages: /github. com/snapcore/ snapcraft/ pull/3099
https:/