Snapcraft 7 fails with inline deb822 signing blocks
Metadata
Current evaluation
Snapcraft 7's core20 LXD fallback failed on valid inline deb822 Signed-By keys; the affected legacy/core20 code has since been removed.
Suggested action: close stale
Reason: The traceback pinpoints Repo.is_package_installed() in the legacy LXD provider, and maintainer @mr-cal says the distro-package check can probably be dropped; #4960 exercises the same function. The affected snapcraft_legacy implementation was removed in ffb164b7a, while fa7952b4d (#6019) dropped core20 support, leaving the multipass/core22 migration as only historical workarounds.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
45
Quick Win:
33
Complexity:
22
Confidence:
97
Actionability:
94
|
close stale | Snapcraft 7's core20 LXD fallback failed on valid inline deb822 Signed-By keys; the affected legacy/core20 code has since been removed. | |
| stealth/space-bunny-alpha |
Impact:
35
Quick Win:
22
Complexity:
28
Confidence:
96
Actionability:
87
|
keep open | Snapcraft 7 core20 LXD builds fail on valid inline deb822 Signed-By host sources; the obsolete provider check is identified, but the bug remains open. | |
| qwen/qwen3.6-35b-a3b |
Impact:
30
Quick Win:
24
Complexity:
0
Confidence:
90
Actionability:
80
|
close resolved | Snapcraft 7 fails with inline deb822 signing blocks when using LXD for core20 builds. The error originates from snapcraft_legacy code that has since been removed from the project. | |
| qwen/qwen3.8-27b |
Impact:
35
Quick Win:
26
Staleness:
85
Complexity:
25
Confidence:
85
Support Request:
10
|
close stale | Snapcraft 7 core20 LXD builds fail on hosts with modern apt deb822 Signed-By blocks due to a legacy apt package check in snapcraft_legacy. Triaged; root cause identified, but snapcraft_legacy and core20 have since been removed from the codebase. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
15
Complexity:
20
Confidence:
85
Support Request:
5
|
keep open | Snapcraft 7 fails when using LXD with modern apt's inline deb822 Signed-By blocks due to legacy host apt source parsing. Triaged and under maintainer analysis with a proposed fix. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
65
Complexity:
15
Confidence:
90
Support Request:
0
|
keep open | Snapcraft 7 fails with LXD backend when modern apt uses inline deb822 Signed-By blocks. Triaged bug with maintainer-identified root cause in legacy code; awaiting fix. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft#5420
(confidence 100%)
The later report was closed as a duplicate of this issue, confirming the same LXD/core20 host-source failure.
-
Related To:
snapcraft#4960
(confidence 99%)
A maintainer explicitly linked it to the same legacy function, with the failure occurring in a different provider check.
-
Superseded By:
snapcraft#6019
(confidence 97%)
PR #6019, commit fa7952b4d, dropped core20 support; the complete legacy implementation was subsequently removed in ffb164b7a.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1866300 snapcraft fails to build core20 snap | snapcraft (launchpad) | closed | Closed without a documented fix after core20 Multipass/LXD failures; core20 build-base support was unavailable and the workaround was destructive mode. | |
| #2099923 Snapcraft builds are failing: install of snap "snapcraft" failed | snapcraft (launchpad) | open | Reported Launchpad Bionic non-i386 builds cannot install Snapcraft 7.x/stable because core20 needs snapd 2.61; the issue remains open, untriaged, and unanswered. | |
| #2012074 snapcraft cannot build snap by default on aarch64 | snapcraft (launchpad) | open | ARM64 default builds failed on Snapcraft 7.3.1 because core20 selected amd64-only Multipass images; later defaults use core22/LXD on Linux, addressing the reported path. | |
| #1750642 Snapcraft fails in LXD container on Debian 9 | snapcraft (launchpad) | closed | Closed as stale in September 2026 because Debian 9 and the reported Snapcraft version were outdated; no fixing PR or commit was identified. | |
| #1981979 snapcraft 7.0.8+ stopped working on non debian systems | snapcraft (launchpad) | closed | Fixed in snapcore/snapcraft#3843 (commit ed49405fb, merged as 57ecab3bc) by deferring the Debian package import so Snapcraft starts on non-Debian hosts. | |
| #2014963 Snapcraft fails to build snap if Snapcraft itself is installed using `snap try` | snapcraft (launchpad) | open | `snap try` Snapcraft could not self-inject into legacy LXD builds because snapd cannot download a try snap; the affected provider is removed, but current behavior needs retesting. | |
| #1795827 Snapcraft doesn't install snapcraft inside the lxd container | snapcraft (launchpad) | open | Historical LXD builds failed because Snapcraft was not injected into the container; the modern Craft Providers LXD path injects Snapcraft and resolves the legacy failure. | |
| #5420 Snapcraft 7 fails to launch a LXD container based on host apt sources entries | snapcraft | closed | Closed as a duplicate of canonical/snapcraft#4408; no separate fix was made for this report. | |
| #1862256 snapcraft should complain loudly when building base: core20 snap on i386 | snapcraft (launchpad) | closed | Closed as superseded: improved architecture parsing rejects unsupported core20/i386 builds, making a dedicated check unnecessary; snapcraft#4392 improved this handling. | |
| #4960 Can't build Core20 snaps on non-snap distros | snapcraft | open | Core20 LXD builds reject distro-installed LXD on NixOS/Arch; a maintainer specified a backport, while core20 support now requires Snapcraft 8. |