snapcraft --use-lxd is broken
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Closed without a documented fix. The hardcoded LXD image URL returning 404 broke CI. Likely abandoned or resolved upstream.
Suggested action: —
No scores available.
Issue body
It was working a day before yesterday but since yesterday its not working. It also broke our CI.
Snapcraft seems to have hard-coded path to the lxd image it seems. The specific image doesn't exist anymore hence the issue.
```
om26er@X1C6:~/scm/crossbario/crossbarfx$ snapcraft --use-lxd
Launching a container.
Build environment is in unknown state, cleaning first.
An error occurred with the instance when trying to launch with 'LXD': Unable to fetch https://cloud-images.ubuntu.com/buildd/daily/focal/20200728/focal-server-cloudimg-amd64-lxd_combined.tar.gz: 404 Not Found.
Ensure that 'LXD' is setup correctly and try again.
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without a documented fix. The hardcoded LXD image URL returning 404 broke CI. Likely abandoned or resolved upstream. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. snapcraft --use-lxd failed with a 404 error due to a hardcoded, now-missing LXD image URL. No fix or workaround was documented. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Fixed after updating the hardcoded LXD image URL to a valid, current build, resolving the 404 error that broke CI. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1666735 snapcraft cleanbuild does not work with lxd installed via snap | snapcraft (launchpad) | closed | Closed without resolution or merge. The report notes snapcraft cleanbuild fails to detect LXD installed via snap, suggesting checks via snap list or lxc list instead of apt cache. No fix was implemented or documented. | |
| #1703344 snapcraft cleanbuild exits with a traceback when lxd is not installed | snapcraft (launchpad) | closed | Closed without resolution. Missing LXD caused a FileNotFoundError during snapcraft cleanbuild. No comments, fixes, or status updates were provided. | |
| #1570706 Snapcraft cleanbuild command doesn't work | snapcraft (launchpad) | closed | Closed without resolution, likely abandoned or superseded. The cleanbuild command failed due to LXC hash format incompatibility and container stop errors. | |
| #1746612 Snapcraft cleanbuild doesn't work if you're not using the LXD snap | snapcraft (launchpad) | closed | Closed without resolution. Snapcraft hardcodes the LXD snap path during cleanbuild, causing failures with deb-installed LXD. The report appears abandoned or superseded by updated Snapcraft versions that dynamically detect LXD installations. | |
| #1697979 snapcraft fails on initial cleanbuild probe | snapcraft (launchpad) | closed | Closed without resolution. Snapcraft cleanbuild failed due to LXD connection errors when LXD was provided via a third-party snap alias. The report received no comments or fixes and was abandoned. | |
| #4443 snapcraft on ARM 64 - stuck at lxd | snapcraft | closed | Resolved in Snapcraft 7.5.4 by implementing a network timeout instead of an infinite loop. The hang was caused by LXD container networking misconfigurations, often due to Docker or VPN conflicts. Closed as fixed. | |
| #1859469 snapcraft lxd + snapd transition in progress | snapcraft (launchpad) | closed | Closed as non-reproducible and abandoned. The snapcraft lxd command failed due to a snapd transition conflict, but the issue was resolved in version 3.8 and later. | |
| #1866300 snapcraft fails to build core20 snap | snapcraft (launchpad) | closed | Closed without comments or resolution after 74 days. The core20 build failure involving multipass hangs and LXD tracebacks was abandoned. | |
| #1750642 Snapcraft fails in LXD container on Debian 9 | snapcraft (launchpad) | closed | Closed as stale. The Snapcraft LXD container build failure on Debian 9 was not resolved due to outdated Debian and Snapcraft versions no longer being supported. | |
| #1996508 snapcraft try with core22 doesn't support lxd | snapcraft (launchpad) | closed | Closed without resolution. The snapcraft try --use-lxd command fails with core22 bases due to an LXD provider limitation. No fix was implemented, and the report was abandoned after extended inactivity. |