snapd not wiring alias for 'dotnet' that is in snap assertion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Invalid
|
Undecided
|
Unassigned |
Bug Description
$ sudo snap install dotnet-sdk --classic
dotnet-sdk 3.1.402 from Microsoft .NET Core (dotnetcore✓) installed
$ dotnet
Command 'dotnet' not found, but can be installed with:
sudo snap install dotnet-sdk
$ stat /snap/bin/dotnet
stat: cannot stat '/snap/bin/dotnet': No such file or directory
$ snap aliases | grep dotnet
<empty>
$ curl -s "https:/
type: snap-declaration
authority-id: canonical
revision: 2
series: 16
snap-id: uHc4y9lWxyqYfxs
aliases:
-
name: dotnet
target: dotnet-sdk
auto-aliases:
- dotnet
publisher-id: NkziOx5Ju2cGzp2
snap-name: dotnet-sdk
timestamp: 2018-01-
sign-key-sha3-384: BWDEoaqyr25nF5S
$ snap known snap-declaration snap-name=
type: snap-declaration
authority-id: canonical
revision: 2
series: 16
snap-id: uHc4y9lWxyqYfxs
aliases:
-
name: dotnet
target: dotnet-sdk
auto-aliases:
- dotnet
publisher-id: NkziOx5Ju2cGzp2
snap-name: dotnet-sdk
timestamp: 2018-01-
sign-key-sha3-384: BWDEoaqyr25nF5S
AcLBUgQAAQoABgU
iwXpDJ6jH65PnbW
0Qrh+HYwtOGBecd
j1v32MaZmfHS6DY
3K7ksTOXvAWrmf7
jZGDEkwLa8v1tqS
roNYRE2Qfki2ZZe
Jde9htd+
hNDr3oQ9gVydO6R
5fb0RT950VsJmzA
I think that the snap declaration is wrong at this point. There is no app named dotnet-sdk in the current revision (98) of the dotnet-sdk snap. From what I can tell looking at the code it should be:
alises:
- name: dotnet
target: dotnet