← Back to issue list

Snapcraft builds are failing: install of snap "snapcraft" failed

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2099923
Type
issue
State
open
Author
~snawoot
Labels
—
Created
Updated
Closed
—

Current evaluation

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.

Suggested action: needs triage

Reason: Build SNAPBUILD-2735323 provides a concrete failure: its Bionic armhf worker repeatedly cannot install Snapcraft 7.x because core20 requires unsupported snapd 2.61 features. The issue has no labels, assignee, maintainer response, or evidence of a resolving Snapcraft change, so ownership and the required build-infrastructure update still need triage.

Evaluated by: mr-cal-bot

Impact: 68 Quick Win: 19 Complexity: 63 Confidence: 86 Actionability: 76

Issue body

Every build except i386 is failing for me: Running '['linux32', 'snap', 'install', '--classic', '--channel=7.x/stable', 'snapcraft']'. Attempt 1 error: cannot perform the following tasks: - Ensure prerequisites for "snapcraft" are available (cannot install snap base "core20": snap "core20" assumes unsupported features: snapd2.61 (try to refresh snapd)) Running '['linux32', 'snap', 'install', '--classic', '--channel=7.x/stable', 'snapcraft']'. Attempt 2 error: cannot perform the following tasks: - Ensure prerequisites for "snapcraft" are available (cannot install snap base "core20": snap "core20" assumes unsupported features: snapd2.61 (try to refresh snapd)) Running '['linux32', 'snap', 'install', '--classic', '--channel=7.x/stable', 'snapcraft']'. Attempt 3 error: cannot perform the following tasks: - Ensure prerequisites for "snapcraft" are available (cannot install snap base "core20": snap "core20" assumes unsupported features: snapd2.61 (try to refresh snapd)) Install failed Traceback (most recent call last): File "/usr/lib/python3/dist-packages/lpbuildd/target/build_snap.py", line 295, in run self.install() File "/usr/lib/python3/dist-packages/lpbuildd/target/build_snap.py", line 161, in install self.backend.run( File "/usr/lib/python3/dist-packages/lpbuildd/target/lxd.py", line 776, in run raise e File "/usr/lib/python3/dist-packages/lpbuildd/target/lxd.py", line 770, in run return self._run_command( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/lpbuildd/target/lxd.py", line 699, in _run_command subprocess.check_call(cmd, **kwargs) File "/usr/lib/python3.12/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['lxc', 'exec', 'lp-bionic-armhf', '--', 'linux32', 'snap', 'install', '--classic', '--channel=7.x/stable', 'snapcraft']' returned non-zero exit status 1. Revoking proxy token... [Mon Feb 24 18:29:09 2025] RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=lxd --series=bionic --arch=armhf SNAPBUILD-2735323 Scanning for processes to kill in build SNAPBUILD-2735323

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 68
Quick Win: 19
Complexity: 63
Confidence: 86
Actionability: 76
needs triage 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.
stealth/space-bunny-alpha
Impact: 48
Quick Win: 7
Complexity: 78
Confidence: 88
Actionability: 65
needs triage Launchpad Bionic ARMHF builds cannot install Snapcraft 7.x/stable because core20 requires unsupported snapd 2.61 features; the unreviewed report has received no maintainer response.
qwen3.6-35b-a3b-mtp-q6
Impact: 20
Quick Win: 18
Staleness: 95
Complexity: 10
Confidence: 80
Support Request: 85
close stale Snapcraft builds failing due to outdated snapd (2.61) on build infrastructure unable to install core20 base. Issue is 556 days old with no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 15
close stale Snapcraft installation fails during builds due to snapd2.61 incompatibility with core20 base on Ubuntu Bionic. Issue is 513 days old with no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 10
close stale Snapcraft installation fails in Launchpad LXD builds due to snapd/core20 version mismatch. Unaddressed for 512 days with no maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 20
close stale Snapcraft installation fails in builds due to an outdated snapd/core20 version mismatch in the LXD container. Open for 500 days with no maintainer response.

Update history

Date Change
created

Related work

  • Related To: snapcraft (launchpad)#2085813 (confidence 58%)

    The related report is titled "snapcraft not installable" and may involve the same installation path, but no sufficient details were available to establish duplication.

Related issues

Issue Project State Summary Similarity
#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.
78%
#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.
77%
#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.
76%
#1943603 snapcraft --target-arch=i386 does not build i386 images, because core20 does not support i386 and yet the build starts and wastes time snapcraft (launchpad) open Legacy Snapcraft accepted an unsupported core20/i386 target, wasted build time, and produced an amd64 snap; current validation excludes i386 and drops core20.
76%
#1947968 snapcraft missing 22.04 branch snapcraft (launchpad) closed Resolved by opening stable/ubuntu-22.04 and releasing snapcraft revisions 7010 (amd64) and 7013 (s390x), restoring the branch required by the 22.04 package.
75%
#1984227 Snapcraft 7.1.1 does not build with core22 on riscv64 snapcraft (launchpad) closed Fixed in Snapcraft 7.1.2, which added the missing riscv64 support needed to build core22 snaps.
75%
#5219 Snapcraft unable to compile ARM64 kernel snapcraft open ARM64 core20 kernel cross-builds fail while fetching snapd:arm64; a minimal apt reproducer exists, but the report has no maintainer triage or release mapping.
74%
#4408 Snapcraft 7 fails with inline deb822 signing blocks snapcraft open Snapcraft 7's core20 LXD fallback failed on valid inline deb822 Signed-By keys; the affected legacy/core20 code has since been removed.
74%
#1980536 snapcraft unusable on systems not using apt snapcraft (launchpad) closed Snapcraft 7.1.1 fixed startup failures on non-APT systems; the 7.0.8 regression was linked to snapcore/snapcraft#3804.
73%
#1907721 Snapcraft broken on ARM64 snapcraft (launchpad) closed Closed as a configuration issue: a system-wide Python package broke apt-installed Snapcraft, while Multipass lacked ARM64 support; maintainers recommended the Snapcraft snap and --use-lxd.
73%