building a classic snap does'nt remove /snap/core/current
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Closed as fixed. Snapcraft now removes /snap/core/current after building classic snaps, resolving the directory conflict that blocked core snap installation.
Suggested action: —
No scores available.
Issue body
After building a classic snap with SNAPCRAFT_SETUP_CLASSIC=1, /snap/core/current is created and left behind.
Then, the core snap can't be installed:
$ sudo snap install core
error: cannot perform the following tasks:
- Make snap "core" (888) available to the system (cannot cleanup failed attempt at making snap "core" available to the system: cannot remove snap current symlink: remove /snap/core/current: directory not empty)
- Make snap "core" (888) available to the system (symlink 888 /snap/core/current: file exists)
snapcraft should remove /snap/core/current after it finishes, even when it fails.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed as fixed. Snapcraft now removes /snap/core/current after building classic snaps, resolving the directory conflict that blocked core snap installation. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. The issue reported that snapcraft left /snap/core/current after building classic snaps, blocking core installation. No fix, PR, or resolution was provided. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Fixed. Snapcraft now automatically removes /snap/core/current after building classic snaps, resolving the symlink conflict that blocked core snap installation. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1752957 Building classic snap without core snap installed succeeds, but creates snap that doesn't run | snapcraft (launchpad) | open | Snapcraft 2.39.x crashes with TypeError building a classic snap without the core snap installed, as get_core_dynamic_linker() returns None during patchelf. No comments or labels; 2.x series is EOL and the code path no longer exists in the current codebase. | |
| #1647699 Support classic building in snapcraft | snapcraft (launchpad) | closed | Closed without resolution. The classic confinement library resolution requirement was likely abandoned or superseded by later snapcraft updates that natively handle core snap library resolution. |