installer icon indicating copy to clipboard operation
installer copied to clipboard

With RC1 SDK zip/tar.bar installed, maui workload install failed in CLI.

Open haiyanliu2 opened this issue 4 years ago • 14 comments

Environment: 6.0.100-rc.1.21430.44(runtime-6.0.0-rc.1.21430.11)

Repro steps: 1.Set up clean machine with .NET SDK zip/tar.bar installation. Pipelines - Run 20210830.2-6.0.100-rc.1.21430.44-105480 artifacts (azure.com) 2.dotnet workload install maui --skip-manifest-update --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/6.0.100-rc.1.21430.44-shipping/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/xamarin/public/_packaging/net6-msi-transport/nuget/v3/index.json"

Expected maui workload install successful in CLI.

Actual maui workload install failed in CLI. image

This issue also repro when installing wasm-tools workload

Note: Set up clean machine with .NET SDK.exe installation, maui can be installed successfully image

haiyanliu2 avatar Sep 01 '21 09:09 haiyanliu2

Also repro on RC1 SDK pkg(Mac) installer

vdanche avatar Sep 01 '21 10:09 vdanche

@pjcollins is the maui feed in the error only used for MSIs - I noticed it contained MSI in the feed name, so was wondering whether the normal MAUI packages used for zip based installs of the SDK might be missing in this case

joeloff avatar Sep 01 '21 18:09 joeloff

Our regular packs are now only on the dotnet6 feed, and I have been manually mirroring some msis on the https://pkgs.dev.azure.com/xamarin/public/_packaging/net6-msi-transport/nuget/v3/index.json feed. I think we need a way to push candidates to shipping feeds.

pjcollins avatar Sep 01 '21 18:09 pjcollins

Ah, so it's just the regular packs missing from the shipping feed, the first one in the error?

joeloff avatar Sep 01 '21 18:09 joeloff

Both regular packs and .msi packs are missing from 6.0.100-rc.1.21430.44-shipping. Our regular packs are also missing from net6-msi-transport.

pjcollins avatar Sep 01 '21 18:09 pjcollins

With today's RC1 SDK zip installed--6.0.100-rc.1.21463.6(runtime-6.0.0-rc.1.21451.13), Maui workload installed successfully with below command image

dotnet workload install maui

vdanche avatar Sep 16 '21 09:09 vdanche

In the latest coherent NET6 RC2 SDK --6.0.100-rc.2.21469.5, for maui workload install in CLI on windows10, we got below error For *exe installer, image

For *.zip installer on windows10 image

Note,: wasm-tools workload install also happens the same issue.

FYI @joeloff

vdanche avatar Sep 22 '21 09:09 vdanche

@Redth @pjcollins , it looks like RC2 still has a pretty old baseline workload manifest in installer: https://github.com/dotnet/installer/blob/2779433e56855f953f804471ea2e683ec0b7768f/eng/Versions.props#L169. My guess is that the old baseline is either not in the feed or not signed right or both so getting the baseline updated may help here.

It's likely external customers wouldn't face this since they'd not be using --skip-manifest updates as they'd be pulling from nuget.

marcpopMSFT avatar Sep 29 '21 20:09 marcpopMSFT

Maui workload can be installed successfully now with below command on NET 6 RTM SDK:6.0.100-rtm.21515.2

dotnet workload install maui --skip-manifest-update --source https://pkgs.dev.azure.com/dnceng/public/_packaging/6.0.100-rtm.21515.2-shipping/nuget/v3/index.json --source https://pkgs.dev.azure.com/xamarin/public/_packaging/maui-net6-shipping/nuget/v3/index.json

vdanche avatar Oct 20 '21 02:10 vdanche

With .NET 6 SDK(6.0.101) zip installed, .NET workload install failed in CLI. image

WenJunJi01 avatar Nov 19 '21 10:11 WenJunJi01

With .NET 6 SDK: 6.0.200-preview.21571.6 zip installed from https://github.com/dotnet/installer, maui/wasm-tools workload also install failed in CLI. image

WenJunJi01 avatar Nov 22 '21 10:11 WenJunJi01

The similar issue occurred with .NET SDK 7.0.100-alpha.1.22062.6 zip installation. Maui workload install failed with below command in CLI, but wasm-tools workload can install successfully. dotnet workload install maui --skip-manifest-update --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" image

WenJunJi01 avatar Jan 14 '22 07:01 WenJunJi01

The similar issue occurred with .NET SDK 7.0.100-preview.1.22076.6-win-x64 zip installation Maui workload install failed with below command in CLI.

dotnet workload install wasm-tools --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json --source https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json

ChenhuiYuan01 avatar Jan 27 '22 09:01 ChenhuiYuan01

Preview1 is quite old, perhaps try with the preview6 install.

joeloff avatar Aug 03 '22 17:08 joeloff

Old issue triage: I believe most workload install issues have been resolved.

marcpopMSFT avatar Jul 02 '24 20:07 marcpopMSFT

yes, this issue not repro on 6.0/7.0/8.0/9.0 build. e.g 6.0.424/7.0.120/8.0.107/net9 preview1...

vdanche avatar Jul 03 '24 01:07 vdanche