snapcraft clean <part> doesn't remove the bin/ directory
Metadata
Current evaluation
The bug where snapcraft clean <part> leaves the bin/ directory behind was abandoned and closed without resolution. No fix was implemented or merged, likely due to prolonged inactivity.
Suggested action: —
No scores available.
Issue body
snapcraft clean <part> doesn't remove the bin/ directory from this part.
$ snapcraft clean gnu-bash
$ ls parts/gnu-bash/
bin
-> I would completely remove parts/gnu-bash directory and its content, as if the part wasn't pulled or anything.
Indeed, it would be weird to have a potentially empty parts/gnu-bash/ directory, especially if we rename one part.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | The bug where snapcraft clean <part> leaves the bin/ directory behind was abandoned and closed without resolution. No fix was implemented or merged, likely due to prolonged inactivity. | |
| qwen/qwen3.6-35b-a3b | — | — | The snapcraft clean command failing to remove the bin directory was closed without resolution or comments, indicating it was abandoned. No fix or merge was implemented. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1615060 snapcraft clean is incomplete | snapcraft (launchpad) | closed | Reporting that snapcraft clean skips local .snap files was closed without comments or resolution, indicating the report was abandoned or left unresolved. | |
| #1882793 snapcraft doesn't remove the build.sh scripts after part cleanup | snapcraft (launchpad) | open | 2020 report that snapcraft clean leaves parts/*/run/build.sh behind, so build_environment changes don't propagate. No maintainer response in ~5 years; snapcraft 4.x is EOL and the craft-parts-based 8.x clean removes whole part dirs. | |
| #1799925 snapcraft gives conflicting advice for cleaning parts | snapcraft (launchpad) | closed | Closed without a fix. Snapcraft incorrectly advised running snapcraft clean with part and step flags, which were unsupported. The author worked around it with a full clean. The report appears abandoned or superseded by later updates. | |
| #1734145 snapcraft clean <part-name> destroys everything when using containers | snapcraft (launchpad) | closed | Closed without documented fix or comments. The maintainer reported destructive behavior during container-based clean operations, but the issue was abandoned or superseded by subsequent Snapcraft updates. | |
| #1497371 snapcraft clean fails on a clean directory | snapcraft (launchpad) | closed | Fixed a FileNotFoundError crash in snapcraft clean when executed on a fresh directory. The command now gracefully handles the absence of the parts directory instead of failing. | |
| #1567054 Snapcraft clean doesn't remove pkg-config override | snapcraft (launchpad) | closed | Closed without discussion or linked pull request. The report noted snapcraft clean leaves pkg-config override files in part directories. No fix was implemented, indicating the issue was abandoned. | |
| #1897337 snapcraft build <part> ignores the part | snapcraft (launchpad) | closed | The snapcraft build command ignoring specified parts was closed without a fix or resolution. No comments or patches were provided, indicating the report was abandoned without addressing the filtering behavior. | |
| #1839014 snapcraft clean with additional arguments doesn't clean anything | snapcraft (launchpad) | closed | Closed without resolution or comments. The bug caused snapcraft clean with arguments to crash with a FileNotFoundError when launching a VM. Likely abandoned due to inactivity. |