It is not possible to install a build-snap with the default track
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Triaged
|
High
|
Sergio Schvezov |
Bug Description
When the track is not specified, latest is used. For example, it is possible to install with:
sudo snap install u1test-
which would be the same as:
sudo snap install u1test-
However, when using build-snaps in snapcraft, if I write:
build-snaps: [u1test-
it will fail with:
Traceback (most recent call last):
File "/home/
exec(
File "/home/
obj=
File "/home/
return self.main(*args, **kwargs)
File "/home/
rv = self.invoke(ctx)
File "/home/
return Command.
File "/home/
return ctx.invoke(
File "/home/
return callback(*args, **kwargs)
File "/home/
return f(get_current_
File "/home/
ctx.
File "/home/
return self.invoke(cmd, **kwargs)
File "/home/
return callback(*args, **kwargs)
File "/home/
project_
File "/home/
execute(
File "/home/
repo.
File "/home/
snap_
File "/home/
if self.is_classic():
File "/home/
return store_channels[
KeyError: 'edge'
To reproduce, build using the snapcraft.yaml from http://
It works when the track is specified:
build-snaps: [u1test-
Changed in snapcraft: | |
assignee: | nobody → Sergio Schvezov (sergiusens) |
milestone: | none → 2.34 |
importance: | Undecided → High |
status: | New → Triaged |
Changed in snapcraft: | |
milestone: | 2.34 → 2.35 |
Changed in snapcraft: | |
status: | Triaged → Fix Released |
status: | Fix Released → Triaged |
milestone: | 2.35 → none |