cannot install system snap "snapd"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
Trying to test https:/
snapcraft
failed to inject host's snap 'snapcraft' into target environment.nstance from remote
* Command that failed: 'lxc --project snapcraft exec local:base-
* 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:/
Full execution log: '/home/
I tried removing and reinstalling snapcraft, but it did not help.
I am running KUbuntu 24.04
I haven't seen this timeout before. It's possible it's a transient network/server issue and may be worth retrying in a few hours.
If not, what happens if you launch a lxc container and try to install snapd yourself?
i.e.
lxc launch ubuntu:24.04 u1 latest/ beta' to force it to grab something from the snapstore
lxc exec u1 bash
snap install snapd # or 'snap refresh snapd --channel=