Snap: Snapcraft currently relies on `libapt` during configure
Metadata
Current evaluation
Snapcraft's configure hook failed to install because importing snapcraft transitively imported apt (via snapcraft_legacy), requiring libapt from the base snap. Maintainers confirmed libapt will be removed in core26; the legacy apt-importing code path has since been removed from the codebase.
Suggested action: keep open
Reason: Maintainers actively engaged as recently as 215 days ago (alfonsosanchezbeato confirmed core26 still plans to remove libapt), and the issue is triaged with a 'Needs information' label. The specific top-level apt import from snapcraft_legacy appears removed (no 'import apt' matches, snapcraft_legacy deleted in commits ffb164b7a/995f0a3bc), but the underlying requirement that the configure hook work without base libapt on core26 remains unverified, so it should stay open pending confirmation.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
55
Quick Win:
24.75
Staleness:
45
Complexity:
55
Confidence:
60
Support Request:
10
|
keep open | Snapcraft's configure hook failed to install because importing snapcraft transitively imported apt (via snapcraft_legacy), requiring libapt from the base snap. Maintainers confirmed libapt will be removed in core26; the legacy apt-importing code path has since been removed from the codebase. | |
| qwen/qwen3.8-27b |
Impact:
60
Quick Win:
36.0
Staleness:
25
Complexity:
40
Confidence:
70
Support Request:
10
|
keep open | Snapcraft's configure hook imports snapcraft, which pulled in snapcraft_legacy and apt/libapt, breaking installation on bases without libapt (core22/24/26). Maintainers confirmed libapt will be removed in core26; snapcraft_legacy has since been removed from the codebase, likely resolving the import chain. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
65
Complexity:
75
Confidence:
85
Support Request:
0
|
keep open | Tracks snapcraft's failure to install due to importing libapt during its configure hook, which conflicts with base snaps removing the library. Maintainers are aware and tracking the dependency conflict against core26 plans. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
50
Complexity:
65
Confidence:
85
Support Request:
10
|
keep open | Snapcraft configure hook fails due to top-level apt imports, which are being removed from Ubuntu base snaps. Currently under developer discussion with confirmed plans to remove libapt in core26, awaiting a code fix. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
65
Complexity:
50
Confidence:
85
Support Request:
10
|
keep open | Snapcraft configure hook fails due to top-level libapt imports, breaking installation on base snaps without it. Core26 will permanently remove libapt. Issue needs information and awaits a fix to defer imports for snap-only compatibility. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.