← Back to issue list

cannot install system snap "snapd"

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2069292
Type
issue
State
open
Author
~mailaender
Labels
Created
Updated
Closed

Current evaluation

Network timeout when snapcraft tries to install snapd from api.snapcraft.io during local build. User on KUbuntu 24.04 reports inability to reach the snap API.

Suggested action: close not a bug

Reason: The error message clearly indicates a network connectivity issue: 'net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)' when contacting api.snapcraft.io. This is a support/usage question about network configuration, not a bug in snapcraft. The user's attempt to reinstall snapcraft confirms it's environment-specific. The issue has been inactive for 805 days.

Impact: 5 Quick Win: 4.5 Staleness: 85 Complexity: 10 Confidence: 80 Support Request: 95

Issue body

Trying to test https://github.com/snapcrafters/eclipse/pull/70 locally fails: snapcraft failed to inject host's snap 'snapcraft' into target environment.nstance from remote * Command that failed: 'lxc --project snapcraft exec local:base-instance-snapcraft-buildd-base-v7-c-f91ee4af44ccdf02cefb -- env CRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical snap install /tmp/snapcraft.snap --classic' * Command exit code: 1 * Command standard error output: b'error: cannot perform the following tasks:\n- Ensure prerequisites for "snapcraft" are available (cannot install system snap "snapd": Post "https://api.snapcraft.io/v2/snaps/refresh": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers))\n' Full execution log: '/home/matthias/.local/state/snapcraft/log/snapcraft-20240613-140205.076032.log' I tried removing and reinstalling snapcraft, but it did not help. I am running KUbuntu 24.04

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6
Impact: 5
Quick Win: 4.5
Staleness: 85
Complexity: 10
Confidence: 80
Support Request: 95
close not a bug Network timeout when snapcraft tries to install snapd from api.snapcraft.io during local build. User on KUbuntu 24.04 reports inability to reach the snap API.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 10
Confidence: 90
Support Request: 85
close stale Local snapcraft build fails with a network timeout when installing the snapd system snap. Issue is unlabelled, has no maintainer comments, and has been inactive for over two years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 25
Confidence: 85
Support Request: 20
close stale Local snapcraft build fails with timeout when installing system snap snapd from api.snapcraft.io. Unlabeled, no maintainer response, inactive for over two years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 10
Confidence: 85
Support Request: 90
close stale Local snapcraft build fails with a network timeout when installing the snapd system snap on KUbuntu 24.04. No maintainer response or labels after over two years of inactivity.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 80
Support Request: 85
close stale Local snapcraft build fails due to a network timeout connecting to the external snapcraft.io API. No maintainer response in over two years.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.