Snapcraft fails to build snap if Snapcraft itself is installed using `snap try`
Metadata
Current evaluation
`snap try` Snapcraft could not self-inject into legacy LXD builds because snapd cannot download a try snap; the affected provider is removed, but current behavior needs retesting.
Suggested action: needs triage
Reason: The report provides a concrete overlay and `snap try --classic` reproduction, with snapd explicitly returning `cannot download file for try-mode snap "snapcraft"`. It has no labels or maintainer response, and the affected legacy injector has been removed while current Craft Providers configuration has no visible try-mode handling, so the scenario needs reproduction against the current implementation.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
44
Quick Win:
18
Complexity:
43
Confidence:
80
Actionability:
71
|
needs triage | `snap try` Snapcraft could not self-inject into legacy LXD builds because snapd cannot download a try snap; the affected provider is removed, but current behavior needs retesting. | |
| stealth/space-bunny-alpha |
Impact:
38
Quick Win:
11
Complexity:
53
Confidence:
75
Actionability:
64
|
needs triage | Snap try installations break LXD self-injection when snapd cannot download Snapcraft; this untriaged report targets the removed legacy provider and needs verification against current build paths. | |
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
30
Quick Win:
18
Staleness:
95
Complexity:
40
Confidence:
60
Support Request:
10
|
close stale | Snapcraft fails when using snap try due to snapd not allowing file downloads for try-mode snaps. Issue is 1251 days old with no maintainer engagement. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
40
Confidence:
85
Support Request:
10
|
close stale | Bug report detailing a build failure when using a `snap try` installed Snapcraft. The issue is over three years old, unlabelled, and has had no maintainer interaction. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
60
Confidence:
90
Support Request:
10
|
close stale | Snapcraft build fails when Snapcraft is installed via `snap try` because it tries to inject its own snap file which doesn't exist. Issue is 3+ years old with no activity. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
92
Complexity:
35
Confidence:
85
Support Request:
15
|
needs triage | Snapcraft fails when installed via snap try because it cannot fetch its own snap file for injection into build containers. Untriaged and inactive for over 3 years. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Duplicate Of:
snapcraft (launchpad)#1892551
(confidence 93%)
Another open issue reports LXD builds failing from a try snap because snapd cannot export or download the try-snap file.
-
Related To:
snapcraft#2524
(confidence 88%)
Merged PR #2524 added a dedicated `snapcraft try` workflow, but it is not evidence that the reported `snap try` LXD failure was fixed.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1892551 snapcraft fails to run if it is installed as a try snap | snapcraft (launchpad) | open | Snapcraft 4.1.5 failed in LXD builds when launched via snap try because snapd cannot export a try-snap file; the affected legacy provider is absent from the current codebase. | |
| #1795827 Snapcraft doesn't install snapcraft inside the lxd container | snapcraft (launchpad) | open | Historical LXD builds failed because Snapcraft was not injected into the container; the modern Craft Providers LXD path injects Snapcraft and resolves the legacy failure. | |
| #2524 Snapcraft try | snapcraft | merged | Merged snapcraft try via PR #2524 (commit ec579eaa1); LXD tests were split out because they require Snapcraft installed from the store. | |
| #1746612 Snapcraft cleanbuild doesn't work if you're not using the LXD snap | snapcraft (launchpad) | closed | Closed after the missing hostfs behavior was fixed upstream in lxc/lxd#4183. Snapcraft PR #1912 offered a workaround but was not merged. | |
| #1825820 Snapcraft doesn't update the `snapcraft-project` disk source when the path is moved | snapcraft (launchpad) | open | LXD builds reportedly fail after moving a project because the instance retains the old disk source. LXD remains supported, but this untriaged report needs verification against the current craft-providers integration. | |
| #1729069 snapcraft container builds with snap try | snapcraft (launchpad) | closed | Closed without a documented fix; snap try failing when container builds are enabled remained unresolved and was abandoned after years of inactivity. | |
| #1996508 snapcraft try with core22 doesn't support lxd | snapcraft (launchpad) | closed | Core22 support for snapcraft try --use-lxd was added by merged PR snapcore/snapcraft#3981 (commit 2691262b8) and released on edge. | |
| #1839399 snapcraft not pulling snap from lxd container | snapcraft (launchpad) | open | Snapcraft 3.7.1 reported a successful --use-lxd build but left the generated snap absent on the host; a maintainer identified possible CWD handling, and the case remains unresolved. | |
| #2099923 Snapcraft builds are failing: install of snap "snapcraft" failed | snapcraft (launchpad) | open | Reported Launchpad Bionic non-i386 builds cannot install Snapcraft 7.x/stable because core20 needs snapd 2.61; the issue remains open, untriaged, and unanswered. | |
| #719 Snapcraft fails initialization of build container | craft-providers | closed | LXD startup race was fixed by waiting for instance readiness in craft-providers PR #720; the fix shipped via Snapcraft PR #5247 in Snapcraft 8.6.2. |