Make the error message when LXC is not found a bit better
Metadata
Current evaluation
Improved LXC not found error messaging for snapcraft cleanbuild was closed without implementation. Zero comments and no associated pull requests indicate the enhancement was abandoned or resolved without code changes.
Suggested action: —
No scores available.
Issue body
Right now, when a user does not have LXC installed, when running `snapcraft cleanbuild`, the following message is displayed:
$ snapcraft cleanbuild
[Errno 2] No such file or directory: 'lxc'
This should probably be a better-written message, because this may confuse a new user.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Improved LXC not found error messaging for snapcraft cleanbuild was closed without implementation. Zero comments and no associated pull requests indicate the enhancement was abandoned or resolved without code changes. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The request to improve the missing LXC error message was abandoned due to inactivity and never addressed. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation or discussion, likely abandoned due to inactivity. The requested improvement to the LXC missing error message was not addressed. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without a linked pull request or comments, indicating the error message improvement was abandoned or addressed separately. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without a fix or linked pull request, likely abandoned due to inactivity. No resolution was implemented. |
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. | |
| #1752498 cleanbuild fails with lxd snap | snapcraft (launchpad) | closed | A user reported snapcraft cleanbuild failing with the LXD snap due to a FUSE mount permission error inside the container. With zero comments and years of inactivity, the report was abandoned and closed without a fix or resolution. | |
| #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. | |
| #1570708 snapcraft should remove lxd container once finished the build | snapcraft (launchpad) | closed | Requested automatic LXD container cleanup after snapcraft cleanbuild was closed without resolution. Zero comments and no implementation indicate the request was abandoned. | |
| #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. | |
| #730 improve error messages for LXC operations | rockcraft | open | Request to improve LXC error messages so root causes (e.g. disk space) surface without trace verbosity. Filed by a maintainer, open ~22 months with no labels, comments, or maintainer response. The failing copy error originates in craft-providers, not rockcraft. | |
| #1830369 Error when run inside a VM without --use-lxd | snapcraft (launchpad) | closed | Resolved by improving error messages and making LXD the default build environment. Snapcraft now handles nested VM scenarios without requiring the --use-lxd flag. |