Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not install maui workload because of Inconsistency in mono.toolchain workload manifest #18972

Closed
yamachu opened this issue Jul 15, 2021 · 11 comments
Labels
Area-Workloads untriaged Request triage from a team member

Comments

@yamachu
Copy link

yamachu commented Jul 15, 2021

Description

When trying to install maui workload, it would fail because of message Workload installation failed: Inconsistency in workload manifest 'microsoft.net.workload.mono.toolchain': missing dependency 'Microsoft.NET.Workload.Emscripten' .

Repro steps:

  1. install dotnet 6.0.100-preview.6.21355.2
  2. run maui-check
  3. sudo dotnet workload install maui

(and try too sudo dotnet workload update ...)

console shows that

 sudo dotnet workload install maui

Password:

Skip NuGet package signing validation. NuGet signing validation is not available on Linux or macOS https://aka.ms/workloadskippackagevalidation .
Updated advertising manifest microsoft.net.sdk.tvos.
Updated advertising manifest microsoft.net.sdk.android.
Updated advertising manifest microsoft.net.sdk.maui.
Updated advertising manifest microsoft.net.sdk.macos.
Updated advertising manifest microsoft.net.sdk.maccatalyst.
Updated advertising manifest microsoft.net.sdk.ios.
Updated advertising manifest microsoft.net.workload.mono.toolchain.
Installing workload manifest microsoft.net.sdk.tvos version 15.0.100-preview.6.64.
Installing workload manifest microsoft.net.sdk.macos version 12.0.100-preview.6.64.
Installing workload manifest microsoft.net.sdk.maccatalyst version 15.0.100-preview.6.64.
Installing workload manifest microsoft.net.sdk.ios version 15.0.100-preview.6.64.
Installing workload manifest microsoft.net.workload.mono.toolchain version 6.0.0-preview.7.21365.2.
Workload installation failed, rolling back installed packs...
Installing workload manifest microsoft.net.sdk.tvos version 15.0.100-preview.6.63.
Installing workload manifest microsoft.net.sdk.macos version 12.0.100-preview.6.63.
Installing workload manifest microsoft.net.sdk.maccatalyst version 15.0.100-preview.6.63.
Installing workload manifest microsoft.net.sdk.ios version 15.0.100-preview.6.63.
Installing workload manifest microsoft.net.workload.mono.toolchain version 6.0.0-preview.6.21352.12.
Workload installation failed: Inconsistency in workload manifest 'microsoft.net.workload.mono.toolchain': missing dependency 'Microsoft.NET.Workload.Emscripten'

Configuration

=== Visual Studio Community 2019 for Mac ===

Version 8.10.2 (build 17)
Installation UUID: c061e9e8-1dee-43ff-8629-110e7d76f5c5
	GTK+ 2.24.23 (Raleigh theme)
	Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638)

	Package version: 612000140

=== Mono Framework MDK ===

Runtime:
	Mono 6.12.0.140 (2020-02/51d876a041e) (64-bit)
	Package version: 612000140

=== Roslyn (Language Service) ===

3.10.0-4.21269.26+029847714208ebe49668667c60ea5b0a294e0fcb

=== NuGet ===

Version: 5.9.0.7134

=== .NET Core SDK ===

SDK: /usr/local/share/dotnet/sdk/6.0.100-preview.6.21355.2/Sdks
SDK Versions:
	6.0.100-preview.6.21355.2
	6.0.100-preview.5.21302.13
	6.0.100-preview.4.21255.9
	5.0.301
	5.0.203
	5.0.103
	5.0.100
	3.1.410
	3.1.409
	3.1.406
	3.1.200
	3.1.100
	3.0.100
	2.2.203
MSBuild SDKs: /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/Sdks

=== .NET Core Runtime ===

Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
	6.0.0-preview.6.21352.12
	5.0.7
	5.0.6
	5.0.3
	5.0.0
	3.1.16
	3.1.15
	3.1.12
	3.1.2
	3.1.0
	3.0.0
	2.2.4
	2.1.22
	2.1.20
	2.1.18
	2.1.16
	2.1.14
	2.1.13

=== .NET Core 3.1 SDK ===

SDK: 3.1.410

=== Xamarin.Profiler ===

Version: 1.6.13.11
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Updater ===

Version: 11

=== Apple Developer Tools ===

Xcode 12.5.1 (18212)
Build 12E507

=== Xamarin.Mac ===

Version: 7.14.0.3 (Visual Studio Community)
Hash: 17fdcf569
Branch: d16-10
Build date: 2021-05-20 15:46:14-0400

=== Xamarin.iOS ===

Version: 14.20.0.3 (Visual Studio Community)
Hash: 17fdcf569
Branch: d16-10
Build date: 2021-05-20 15:46:15-0400

=== Xamarin Designer ===

Version: 16.10.0.119
Hash: 36a2d986f
Branch: remotes/origin/d16-10
Build date: 2021-06-02 19:41:34 UTC

=== Xamarin.Android ===

Version: 11.3.0.4 (Visual Studio Community)
Commit: xamarin-android/d16-10/ae14caf
Android SDK: /Users/yamachu/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		8.1 (API level 27)

SDK Tools Version: 26.1.1
SDK Platform Tools Version: 28.0.3
SDK Build Tools Version: 28.0.3

Build Information: 
Mono: b4a3858
Java.Interop: xamarin/java.interop/d16-10@f39db25
ProGuard: Guardsquare/proguard/v7.0.1@912d149
SQLite: xamarin/sqlite/3.35.4@85460d3
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-10@c5732a0

=== Microsoft OpenJDK for Mobile ===

Java SDK: /Users/yamachu/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25
1.8.0-25
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Android SDK Manager ===

Version: 16.10.0.12
Hash: e240b8c
Branch: remotes/origin/d16-10
Build date: 2021-06-01 18:26:34 UTC

=== Android Device Manager ===

Version: 16.10.0.14
Hash: e340248
Branch: remotes/origin/d16-10
Build date: 2021-06-01 18:26:52 UTC

=== Build Information ===

Release ID: 810020017
Git revision: 890ad7d9d5b08fa3d325d2c8d6cc202cc79bf500
Build date: 2021-06-10 12:17:16-04
Build branch: release-8.10

=== Operating System ===

Mac OS X 10.16.0
Darwin 20.5.0 Darwin Kernel Version 20.5.0
    Sat May  8 05:10:33 PDT 2021
    root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64

=== Enabled user installed extensions ===

Project System Tools 0.5

Other information

There is a difference between the code in the repository and the installed definitions.

So it may be resolved if the repository manifest is provided.

https://github.com/dotnet/runtime/blob/7aaffcb2b3d42c79a23a86aecd6d0e2df049ee44/src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Manifest/WorkloadManifest.json.in

/usr/local/share/dotnet/sdk-manifests/6.0.100/microsoft.net.workload.mono.toolchain/WorkloadManifest.json

{
  "version": "6.0.0-preview.6.21352.12",
  "workloads": {
    "microsoft-net-sdk-blazorwebassembly-aot": {
      "description": "Browser Runtime native performance tools",
      "packs": [
        "Microsoft.NET.Runtime.WebAssembly.Sdk",
        "Microsoft.NETCore.App.Runtime.Mono.browser-wasm",
        "Microsoft.NETCore.App.Runtime.AOT.Cross.browser-wasm",
        "Microsoft.NET.Runtime.Emscripten.Node",
        "Microsoft.NET.Runtime.Emscripten.Python",
        "Microsoft.NET.Runtime.Emscripten.Sdk"
      ],
      "extends": [ "microsoft-net-runtime-mono-tooling" ],
      "platforms": [ "win-x64", "linux-x64", "osx-x64", "osx-arm64" ]
    },
    "microsoft-net-runtime-android": {
      "abstract": true,
      "description": "Android Mono Runtime",
      "packs": [
        "Microsoft.NETCore.App.Runtime.Mono.android-arm",
        "Microsoft.NETCore.App.Runtime.Mono.android-arm64",
        "Microsoft.NETCore.App.Runtime.Mono.android-x64",
        "Microsoft.NETCore.App.Runtime.Mono.android-x86"
      ],
      "extends": [ "microsoft-net-runtime-mono-tooling" ],
      "platforms": [ "win-x64", "linux-x64", "osx-x64", "osx-arm64" ]
    },
    "microsoft-net-runtime-android-aot": {
      "abstract": true,
      "description": "Android Mono AOT Workload",
      "packs": [
        "Microsoft.NETCore.App.Runtime.AOT.Cross.android-x86",
        "Microsoft.NETCore.App.Runtime.AOT.Cross.android-x64",
        "Microsoft.NETCore.App.Runtime.AOT.Cross.android-arm",
        "Microsoft.NETCore.App.Runtime.AOT.Cross.android-arm64"
      ],
      "extends": [ "microsoft-net-runtime-android" ],
      "platforms": [ "win-x64", "linux-x64", "osx-x64", "osx-arm64" ]
    },
    "microsoft-net-runtime-ios": {
      "abstract": true,
      "description": "iOS Mono Runtime and AOT Workload",
      "packs": [
        "Microsoft.NETCore.App.Runtime.Mono.ios-arm",
        "Microsoft.NETCore.App.Runtime.Mono.ios-arm64",
        "Microsoft.NETCore.App.Runtime.Mono.iossimulator",
        "Microsoft.NETCore.App.Runtime.Mono.iossimulator-x86",
        "Microsoft.NETCore.App.Runtime.AOT.Cross.ios-arm",
        "Microsoft.NETCore.App.Runtime.AOT.Cross.ios-arm64",
        "Microsoft.NETCore.App.Runtime.AOT.Cross.iossimulator",
        "Microsoft.NETCore.App.Runtime.AOT.Cross.iossimulator-x86"
      ],
      "extends": [ "microsoft-net-runtime-mono-tooling" ],
      "platforms": [ "osx-arm64", "osx-x64" ]
    },
    "microsoft-net-runtime-maccatalyst": {
      "abstract": true,
      "description": "MacCatalyst Mono Runtime and AOT Workload",
      "packs": [
        "Microsoft.NETCore.App.Runtime.Mono.maccatalyst",
        "Microsoft.NETCore.App.Runtime.AOT.Cross.maccatalyst"
      ],
      "extends": [ "microsoft-net-runtime-mono-tooling" ],
      "platforms": [ "osx-arm64", "osx-x64" ]
    },
    "microsoft-net-runtime-tvos": {
      "abstract": true,
      "description": "tvOS Mono Runtime and AOT Workload",
      "packs": [
        "Microsoft.NETCore.App.Runtime.Mono.tvos-arm64",
        "Microsoft.NETCore.App.Runtime.Mono.tvossimulator",
        "Microsoft.NETCore.App.Runtime.AOT.Cross.tvos-arm64",
        "Microsoft.NETCore.App.Runtime.AOT.Cross.tvossimulator"
      ],
      "extends": [ "microsoft-net-runtime-mono-tooling" ],
      "platforms": [ "osx-arm64", "osx-x64" ]
    },
    "microsoft-net-runtime-mono-tooling": {
      "abstract": true,
      "description": "Shared native build tooling for Mono runtime",
      "packs": [
        "Microsoft.NET.Runtime.RuntimeConfigParser.Task",
        "Microsoft.NET.Runtime.MonoAOTCompiler.Task",
      ],
    }
  },
  "packs": {
    "Microsoft.NET.Runtime.RuntimeConfigParser.Task": {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21352.12"
    },
    "Microsoft.NET.Runtime.MonoAOTCompiler.Task": {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21352.12"
    },
    "Microsoft.NET.Runtime.WebAssembly.Sdk": {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21352.12"
    },
    "Microsoft.NETCore.App.Runtime.Mono.android-arm": {
      "kind": "framework",
      "version": "6.0.0-preview.6.21352.12"
    },
    "Microsoft.NETCore.App.Runtime.Mono.android-arm64": {
      "kind": "framework",
      "version": "6.0.0-preview.6.21352.12"
    },
    "Microsoft.NETCore.App.Runtime.Mono.android-x64": {
      "kind": "framework",
      "version": "6.0.0-preview.6.21352.12"
    },
    "Microsoft.NETCore.App.Runtime.Mono.android-x86": {
      "kind": "framework",
      "version": "6.0.0-preview.6.21352.12"
    },
    "Microsoft.NETCore.App.Runtime.AOT.Cross.android-x86": {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21352.12",
      "alias-to": {
        "win-x64": "Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x86",
        "linux-x64": "Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-x86",
        "osx-x64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.android-x86",
        "osx-arm64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.android-x86"
      }
    },
    "Microsoft.NETCore.App.Runtime.AOT.Cross.android-x64": {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21352.12",
      "alias-to": {
        "win-x64": "Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x64",
        "linux-x64": "Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-x64",
        "osx-x64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.android-x64",
        "osx-arm64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.android-x64"
      }
    },
    "Microsoft.NETCore.App.Runtime.AOT.Cross.android-arm": {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21352.12",
      "alias-to": {
        "win-x64": "Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-arm",
        "linux-x64": "Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-arm",
        "osx-x64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.android-arm",
        "osx-arm64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.android-arm"
      }
    },
    "Microsoft.NETCore.App.Runtime.AOT.Cross.android-arm64": {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21352.12",
      "alias-to": {
        "win-x64": "Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-arm64",
        "linux-x64": "Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-arm64",
        "osx-x64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.android-arm64",
        "osx-arm64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.android-arm64"
      }
    },
    "Microsoft.NETCore.App.Runtime.Mono.maccatalyst": {
      "kind": "framework",
      "version": "6.0.0-preview.6.21352.12",
      "alias-to": {
        "osx-arm64": "Microsoft.NETCore.App.Runtime.Mono.maccatalyst-arm64",
        "osx-x64": "Microsoft.NETCore.App.Runtime.Mono.maccatalyst-x64"
      }
    },
    "Microsoft.NETCore.App.Runtime.Mono.ios-arm" : {
      "kind": "framework",
      "version": "6.0.0-preview.6.21352.12"
    },
    "Microsoft.NETCore.App.Runtime.Mono.ios-arm64" : {
      "kind": "framework",
      "version": "6.0.0-preview.6.21352.12"
    },
    "Microsoft.NETCore.App.Runtime.Mono.iossimulator" : {
      "kind": "framework",
      "version": "6.0.0-preview.6.21352.12",
      "alias-to": {
        "osx-arm64": "Microsoft.NETCore.App.Runtime.Mono.iossimulator-arm64",
        "osx-x64": "Microsoft.NETCore.App.Runtime.Mono.iossimulator-x64"
      }
    },
    "Microsoft.NETCore.App.Runtime.Mono.iossimulator-x86" : {
      "kind": "framework",
      "version": "6.0.0-preview.6.21352.12",
      "alias-to": {
        "osx-x64": "Microsoft.NETCore.App.Runtime.Mono.iossimulator-x86"
      }
    },
    "Microsoft.NETCore.App.Runtime.AOT.Cross.tvos-arm64": {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21352.12",
      "alias-to": {
        "osx-x64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.tvos-arm64",
        "osx-arm64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.tvos-arm64",
      }
    },
    "Microsoft.NETCore.App.Runtime.Mono.tvos-arm64" : {
      "kind": "framework",
      "version": "6.0.0-preview.6.21352.12"
    },
    "Microsoft.NETCore.App.Runtime.Mono.tvossimulator" : {
      "kind": "framework",
      "version": "6.0.0-preview.6.21352.12",
      "alias-to": {
        "osx-arm64": "Microsoft.NETCore.App.Runtime.Mono.tvossimulator-arm64",
        "osx-x64": "Microsoft.NETCore.App.Runtime.Mono.tvossimulator-x64"
      }
    },
    "Microsoft.NETCore.App.Runtime.AOT.Cross.maccatalyst": {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21352.12",
      "alias-to": {
        "osx-arm64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.maccatalyst-arm64",
        "osx-x64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.maccatalyst-x64"
      }
    },
    "Microsoft.NETCore.App.Runtime.AOT.Cross.tvossimulator": {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21352.12",
      "alias-to": {
        "osx-arm64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.tvossimulator-arm64",
        "osx-x64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.tvossimulator-x64"
      }
    },
    "Microsoft.NETCore.App.Runtime.AOT.Cross.ios-arm": {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21352.12",
      "alias-to": {
        "osx-x64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.ios-arm",
        "osx-arm64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.ios-arm",
      }
    },
    "Microsoft.NETCore.App.Runtime.AOT.Cross.ios-arm64": {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21352.12",
      "alias-to": {
        "osx-x64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.ios-arm64",
        "osx-arm64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.ios-arm64",
      }
    },
    "Microsoft.NETCore.App.Runtime.AOT.Cross.iossimulator": {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21352.12",
      "alias-to": {
        "osx-arm64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.iossimulator-arm64",
        "osx-x64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.iossimulator-x64"
      }
    },
    "Microsoft.NETCore.App.Runtime.AOT.Cross.iossimulator-x86": {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21352.12",
      "alias-to": {
        "osx-x64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.iossimulator-x86"
      }
    },
    "Microsoft.NETCore.App.Runtime.AOT.Cross.browser-wasm": {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21352.12",
      "alias-to": {
        "win-x64": "Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm",
        "linux-x64": "Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.browser-wasm",
        "osx-x64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.browser-wasm",
        "osx-arm64": "Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.browser-wasm"
      }
    },
    "Microsoft.NETCore.App.Runtime.Mono.browser-wasm" : {
      "kind": "framework",
      "version": "6.0.0-preview.6.21352.12"
    },
    "Microsoft.NET.Runtime.Emscripten.Node" : {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21275.1",
      "alias-to": {
        "win-x64": "Microsoft.NET.Runtime.Emscripten.2.0.21.Node.win-x64",
        "linux-x64": "Microsoft.NET.Runtime.Emscripten.2.0.21.Node.linux-x64",
        "osx-x64": "Microsoft.NET.Runtime.Emscripten.2.0.21.Node.osx-x64",
        "osx-arm64": "Microsoft.NET.Runtime.Emscripten.2.0.21.Node.osx-x64"
      }
    },
    "Microsoft.NET.Runtime.Emscripten.Python" : {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21275.1",
      "alias-to": {
        "win-x64": "Microsoft.NET.Runtime.Emscripten.2.0.21.Python.win-x64",
        "osx-x64": "Microsoft.NET.Runtime.Emscripten.2.0.21.Python.osx-x64",
        "osx-arm64": "Microsoft.NET.Runtime.Emscripten.2.0.21.Python.osx-x64"
      }
    },
    "Microsoft.NET.Runtime.Emscripten.Sdk" : {
      "kind": "Sdk",
      "version": "6.0.0-preview.6.21275.1",
      "alias-to": {
        "win-x64": "Microsoft.NET.Runtime.Emscripten.2.0.21.Sdk.win-x64",
        "linux-x64": "Microsoft.NET.Runtime.Emscripten.2.0.21.Sdk.linux-x64",
        "osx-x64": "Microsoft.NET.Runtime.Emscripten.2.0.21.Sdk.osx-x64",
        "osx-arm64": "Microsoft.NET.Runtime.Emscripten.2.0.21.Sdk.osx-x64"
      }
    }
  }
}
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@yamachu yamachu changed the title Could not install maui workload because of Inconsistency in workload manifest Could not install maui workload because of Inconsistency in mono.toolchain workload manifest Jul 15, 2021
@srpeirce
Copy link

srpeirce commented Jul 15, 2021

Was the workload already installed? I see the first dependencies are update. If so, you could possibly try uninstalling the workload first?

@yamachu
Copy link
Author

yamachu commented Jul 16, 2021

Thanks @srpeirce
I installed maui workloads through maui-check first.
So I could build maui application right.

However, as described in the reproduction procedure, when I then tried to install or update via dotnet workload command, they failed.

And dotnet workload list showed empty list.

 sudo dotnet workload list
Workload Id
-----------

I tried uninstall them via dotnet worklaod command, but ...

 sudo dotnet workload uninstall maui
Password:

Workload uninstallation failed: パッケージ Id が ' maui ' のツールが見つかりませんでした。

ツールは、異なるパッケージ Id を使用してアンインストールされます
ツールを呼び出すときに使用するツール名。ツール名が見つかります
と、コマンドを使用してインストールされたツールの対応するパッケージ Id
' dotnet workload list '。

not found maui ...

And tried repair and install too, it failed

# ~ $
 sudo dotnet workload repair
Password:

Repairing workload installation for workloads:
Garbage collecting for SDK feature bands ...
Uninstalling workload pack Microsoft.NETCore.App.Runtime.AOT.Cross.maccatalyst version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.Maui.Controls.Ref.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.Maui.Core.Runtime.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.Maui.Essentials.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.AOT.Cross.tvossimulator version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.Maui.Core.Runtime.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.AOT.Cross.iossimulator version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.Maui.Dependencies version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.android-x86 version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.AOT.Cross.ios-arm version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.AOT.Cross.ios-arm64 version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.Maui.Resizetizer.Sdk version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.AOT.Cross.iossimulator-x86 version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.iossimulator-x86 version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.Maui.Core.Runtime.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.MacCatalyst.Sdk version 15.0.100-preview.6.63.
Uninstalling workload pack Microsoft.Maui.Controls.Ref.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.tvOS.Templates version 15.0.100-preview.6.63.
Uninstalling workload pack Microsoft.Maui.Controls.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.Maui.Essentials.Runtime.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.Maui.Controls.Ref.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.macOS.Templates version 12.0.100-preview.6.63.
Uninstalling workload pack Microsoft.macOS.Ref version 12.0.100-preview.6.63.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.ios-arm version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.Maui.Core.Ref.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.tvOS.Sdk version 15.0.100-preview.6.63.
Uninstalling workload pack Microsoft.Maui.Essentials.Ref.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.iOS.Windows.Sdk version 15.0.100-preview.6.63.
Uninstalling workload pack Microsoft.Maui.Essentials.Ref.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.Maui.Core.Ref.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.Maui.Core.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.Maui.Controls.Sdk version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.android-arm version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.Android.Ref version 30.0.100-preview.6.62.
Uninstalling workload pack Microsoft.iOS.Ref version 15.0.100-preview.6.63.
Uninstalling workload pack Microsoft.Maui.Essentials.Runtime.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.tvos-arm64 version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.tvossimulator version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.AspNetCore.Components.WebView.Maui version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.Maui.Essentials.Ref.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.Maui.Controls.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.NET.Runtime.RuntimeConfigParser.Task version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.MacCatalyst.Ref version 15.0.100-preview.6.63.
Uninstalling workload pack Microsoft.Maui.Extensions version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.iossimulator version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.android-arm64 version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.Maui.Templates version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.ios-arm64 version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.iOS.Templates version 15.0.100-preview.6.63.
Uninstalling workload pack Microsoft.Maui.Controls.Runtime.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.NET.Runtime.MonoAOTCompiler.Task version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.Maui.Core.Ref.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.Maui.Core.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.Android.Sdk version 30.0.100-preview.6.62.
Uninstalling workload pack Microsoft.iOS.Sdk version 15.0.100-preview.6.63.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.maccatalyst version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.Maui.Essentials.Runtime.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.Maui.Controls.Runtime.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.Android.Templates version 30.0.100-preview.6.62.
Uninstalling workload pack Microsoft.Android.Sdk.BundleTool version 30.0.100-preview.6.62.
Uninstalling workload pack Microsoft.Maui.Controls.Runtime.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.tvOS.Ref version 15.0.100-preview.6.63.
Uninstalling workload pack Microsoft.Maui.Essentials.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Uninstalling workload pack Microsoft.macOS.Sdk version 12.0.100-preview.6.63.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.AOT.Cross.tvos-arm64 version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.MacCatalyst.Templates version 15.0.100-preview.6.63.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.android-x64 version 6.0.0-preview.6.21352.12.

Successfully repaired worklods:

# ~ $
 sudo dotnet workload install maui

Skip NuGet package signing validation. NuGet signing validation is not available on Linux or macOS https://aka.ms/workloadskippackagevalidation .
Updated advertising manifest microsoft.net.sdk.tvos.
Updated advertising manifest microsoft.net.sdk.android.
Updated advertising manifest microsoft.net.sdk.maui.
Updated advertising manifest microsoft.net.sdk.macos.
Updated advertising manifest microsoft.net.sdk.maccatalyst.
Updated advertising manifest microsoft.net.sdk.ios.
Updated advertising manifest microsoft.net.workload.mono.toolchain.
Installing workload manifest microsoft.net.sdk.tvos version 15.0.100-preview.6.64.
Installing workload manifest microsoft.net.sdk.macos version 12.0.100-preview.6.64.
Installing workload manifest microsoft.net.sdk.maccatalyst version 15.0.100-preview.6.64.
Installing workload manifest microsoft.net.sdk.ios version 15.0.100-preview.6.64.
Installing pack Microsoft.Maui.Core.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Core.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Core.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Core.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Controls.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Controls.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Controls.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Controls.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Essentials.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Essentials.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Essentials.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Essentials.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.AspNetCore.Components.WebView.Maui version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.AspNetCore.Components.WebView.Maui version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Dependencies version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Dependencies version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Controls.Sdk version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Controls.Sdk version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Extensions version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Extensions version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Resizetizer.Sdk version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Resizetizer.Sdk version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Templates version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Templates version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Android.Sdk version 30.0.100-preview.6.62...
Workload installation failed, rolling back installed packs...
Installing workload manifest microsoft.net.sdk.tvos version 15.0.100-preview.6.63.
Installation roll back failed: Failed to install manifest microsoft.net.sdk.tvos version 15.0.100-preview.6.63: The transaction has aborted..
Rolling back pack Microsoft.Maui.Core.Ref.android installation...
Uninstalling workload pack Microsoft.Maui.Core.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Rolling back pack Microsoft.Maui.Core.Runtime.android installation...
Uninstalling workload pack Microsoft.Maui.Core.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Rolling back pack Microsoft.Maui.Controls.Ref.android installation...
Uninstalling workload pack Microsoft.Maui.Controls.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Rolling back pack Microsoft.Maui.Controls.Runtime.android installation...
Uninstalling workload pack Microsoft.Maui.Controls.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Rolling back pack Microsoft.Maui.Essentials.Ref.android installation...
Uninstalling workload pack Microsoft.Maui.Essentials.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Rolling back pack Microsoft.Maui.Essentials.Runtime.android installation...
Uninstalling workload pack Microsoft.Maui.Essentials.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Rolling back pack Microsoft.AspNetCore.Components.WebView.Maui installation...
Uninstalling workload pack Microsoft.AspNetCore.Components.WebView.Maui version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Rolling back pack Microsoft.Maui.Dependencies installation...
Uninstalling workload pack Microsoft.Maui.Dependencies version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Rolling back pack Microsoft.Maui.Controls.Sdk installation...
Uninstalling workload pack Microsoft.Maui.Controls.Sdk version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Rolling back pack Microsoft.Maui.Extensions installation...
Uninstalling workload pack Microsoft.Maui.Extensions version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Rolling back pack Microsoft.Maui.Resizetizer.Sdk installation...
Uninstalling workload pack Microsoft.Maui.Resizetizer.Sdk version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Rolling back pack Microsoft.Maui.Templates installation...
Uninstalling workload pack Microsoft.Maui.Templates version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641.
Rolling back pack Microsoft.Android.Sdk installation...
Workload installation failed: Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory.

After that, I couldn't build iOS or mac applications, so I had to re-install it with maui-check again.

@lewing
Copy link
Member

lewing commented Jul 16, 2021

The workloads are not guaranteed to upgrade cleanly between previews and if even less so with maui-check involved. Your workload install appears to be in an inconsistent state.

@yamachu
Copy link
Author

yamachu commented Jul 16, 2021

I see.
I tried sudo dotnet workload install maui --skip-manifest-update now, it seemed like a success to me.

 sudo dotnet workload install maui --skip-manifest-update

Installing pack Microsoft.Maui.Core.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Skip NuGet package signing validation. NuGet signing validation is not available on Linux or macOS https://aka.ms/workloadskippackagevalidation .
Writing workload pack installation record for Microsoft.Maui.Core.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Core.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Core.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Controls.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Controls.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Controls.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Controls.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Essentials.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Essentials.Ref.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Essentials.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Essentials.Runtime.android version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.AspNetCore.Components.WebView.Maui version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.AspNetCore.Components.WebView.Maui version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Dependencies version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Dependencies version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Controls.Sdk version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Controls.Sdk version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Extensions version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Extensions version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Resizetizer.Sdk version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Resizetizer.Sdk version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Templates version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Templates version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Android.Sdk version 30.0.100-preview.6.62...
Writing workload pack installation record for Microsoft.Android.Sdk version 30.0.100-preview.6.62...
Installing pack Microsoft.Android.Sdk.BundleTool version 30.0.100-preview.6.62...
Writing workload pack installation record for Microsoft.Android.Sdk.BundleTool version 30.0.100-preview.6.62...
Installing pack Microsoft.Android.Ref version 30.0.100-preview.6.62...
Writing workload pack installation record for Microsoft.Android.Ref version 30.0.100-preview.6.62...
Installing pack Microsoft.Android.Templates version 30.0.100-preview.6.62...
Writing workload pack installation record for Microsoft.Android.Templates version 30.0.100-preview.6.62...
Installing pack Microsoft.NETCore.App.Runtime.Mono.android-arm version 6.0.0-preview.6.21352.12...
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.Mono.android-arm version 6.0.0-preview.6.21352.12...
Installing pack Microsoft.NETCore.App.Runtime.Mono.android-arm64 version 6.0.0-preview.6.21352.12...
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.Mono.android-arm64 version 6.0.0-preview.6.21352.12...
Installing pack Microsoft.NETCore.App.Runtime.Mono.android-x64 version 6.0.0-preview.6.21352.12...
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.Mono.android-x64 version 6.0.0-preview.6.21352.12...
Installing pack Microsoft.NETCore.App.Runtime.Mono.android-x86 version 6.0.0-preview.6.21352.12...
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.Mono.android-x86 version 6.0.0-preview.6.21352.12...
Installing pack Microsoft.NET.Runtime.RuntimeConfigParser.Task version 6.0.0-preview.6.21352.12...
Pack Microsoft.NET.Runtime.RuntimeConfigParser.Task version 6.0.0-preview.6.21352.12 is already installed.
Writing workload pack installation record for Microsoft.NET.Runtime.RuntimeConfigParser.Task version 6.0.0-preview.6.21352.12...
Installing pack Microsoft.NET.Runtime.MonoAOTCompiler.Task version 6.0.0-preview.6.21352.12...
Pack Microsoft.NET.Runtime.MonoAOTCompiler.Task version 6.0.0-preview.6.21352.12 is already installed.
Writing workload pack installation record for Microsoft.NET.Runtime.MonoAOTCompiler.Task version 6.0.0-preview.6.21352.12...
Installing pack Microsoft.Maui.Core.Ref.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Core.Ref.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Core.Runtime.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Core.Runtime.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Controls.Ref.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Controls.Ref.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Controls.Runtime.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Controls.Runtime.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Essentials.Ref.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Essentials.Ref.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Essentials.Runtime.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Essentials.Runtime.ios version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.iOS.Sdk version 15.0.100-preview.6.63...
Pack Microsoft.iOS.Sdk version 15.0.100-preview.6.63 is already installed.
Writing workload pack installation record for Microsoft.iOS.Sdk version 15.0.100-preview.6.63...
Installing pack Microsoft.iOS.Windows.Sdk version 15.0.100-preview.6.63...
Pack Microsoft.iOS.Windows.Sdk version 15.0.100-preview.6.63 is already installed.
Writing workload pack installation record for Microsoft.iOS.Windows.Sdk version 15.0.100-preview.6.63...
Installing pack Microsoft.iOS.Ref version 15.0.100-preview.6.63...
Pack Microsoft.iOS.Ref version 15.0.100-preview.6.63 is already installed.
Writing workload pack installation record for Microsoft.iOS.Ref version 15.0.100-preview.6.63...
Installing pack Microsoft.iOS.Templates version 15.0.100-preview.6.63...
Pack Microsoft.iOS.Templates version 15.0.100-preview.6.63 is already installed.
Writing workload pack installation record for Microsoft.iOS.Templates version 15.0.100-preview.6.63...
Installing pack Microsoft.NETCore.App.Runtime.Mono.ios-arm version 6.0.0-preview.6.21352.12...
Pack Microsoft.NETCore.App.Runtime.Mono.ios-arm version 6.0.0-preview.6.21352.12 is already installed.
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.Mono.ios-arm version 6.0.0-preview.6.21352.12...
Installing pack Microsoft.NETCore.App.Runtime.Mono.ios-arm64 version 6.0.0-preview.6.21352.12...
Pack Microsoft.NETCore.App.Runtime.Mono.ios-arm64 version 6.0.0-preview.6.21352.12 is already installed.
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.Mono.ios-arm64 version 6.0.0-preview.6.21352.12...
Installing pack Microsoft.NETCore.App.Runtime.Mono.iossimulator version 6.0.0-preview.6.21352.12...
Pack Microsoft.NETCore.App.Runtime.Mono.iossimulator version 6.0.0-preview.6.21352.12 is already installed.
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.Mono.iossimulator version 6.0.0-preview.6.21352.12...
Installing pack Microsoft.NETCore.App.Runtime.Mono.iossimulator-x86 version 6.0.0-preview.6.21352.12...
Pack Microsoft.NETCore.App.Runtime.Mono.iossimulator-x86 version 6.0.0-preview.6.21352.12 is already installed.
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.Mono.iossimulator-x86 version 6.0.0-preview.6.21352.12...
Installing pack Microsoft.NETCore.App.Runtime.AOT.Cross.ios-arm version 6.0.0-preview.6.21352.12...
Pack Microsoft.NETCore.App.Runtime.AOT.Cross.ios-arm version 6.0.0-preview.6.21352.12 is already installed.
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.AOT.Cross.ios-arm version 6.0.0-preview.6.21352.12...
Installing pack Microsoft.NETCore.App.Runtime.AOT.Cross.ios-arm64 version 6.0.0-preview.6.21352.12...
Pack Microsoft.NETCore.App.Runtime.AOT.Cross.ios-arm64 version 6.0.0-preview.6.21352.12 is already installed.
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.AOT.Cross.ios-arm64 version 6.0.0-preview.6.21352.12...
Installing pack Microsoft.NETCore.App.Runtime.AOT.Cross.iossimulator version 6.0.0-preview.6.21352.12...
Pack Microsoft.NETCore.App.Runtime.AOT.Cross.iossimulator version 6.0.0-preview.6.21352.12 is already installed.
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.AOT.Cross.iossimulator version 6.0.0-preview.6.21352.12...
Installing pack Microsoft.NETCore.App.Runtime.AOT.Cross.iossimulator-x86 version 6.0.0-preview.6.21352.12...
Pack Microsoft.NETCore.App.Runtime.AOT.Cross.iossimulator-x86 version 6.0.0-preview.6.21352.12 is already installed.
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.AOT.Cross.iossimulator-x86 version 6.0.0-preview.6.21352.12...
Installing pack Microsoft.Maui.Core.Ref.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Core.Ref.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Core.Runtime.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Core.Runtime.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Controls.Ref.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Controls.Ref.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Controls.Runtime.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Controls.Runtime.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Essentials.Ref.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Essentials.Ref.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Essentials.Runtime.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Essentials.Runtime.maccatalyst version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.MacCatalyst.Sdk version 15.0.100-preview.6.63...
Pack Microsoft.MacCatalyst.Sdk version 15.0.100-preview.6.63 is already installed.
Writing workload pack installation record for Microsoft.MacCatalyst.Sdk version 15.0.100-preview.6.63...
Installing pack Microsoft.MacCatalyst.Ref version 15.0.100-preview.6.63...
Pack Microsoft.MacCatalyst.Ref version 15.0.100-preview.6.63 is already installed.
Writing workload pack installation record for Microsoft.MacCatalyst.Ref version 15.0.100-preview.6.63...
Installing pack Microsoft.MacCatalyst.Templates version 15.0.100-preview.6.63...
Pack Microsoft.MacCatalyst.Templates version 15.0.100-preview.6.63 is already installed.
Writing workload pack installation record for Microsoft.MacCatalyst.Templates version 15.0.100-preview.6.63...
Installing pack Microsoft.NETCore.App.Runtime.Mono.maccatalyst version 6.0.0-preview.6.21352.12...
Pack Microsoft.NETCore.App.Runtime.Mono.maccatalyst version 6.0.0-preview.6.21352.12 is already installed.
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.Mono.maccatalyst version 6.0.0-preview.6.21352.12...
Installing pack Microsoft.NETCore.App.Runtime.AOT.Cross.maccatalyst version 6.0.0-preview.6.21352.12...
Pack Microsoft.NETCore.App.Runtime.AOT.Cross.maccatalyst version 6.0.0-preview.6.21352.12 is already installed.
Writing workload pack installation record for Microsoft.NETCore.App.Runtime.AOT.Cross.maccatalyst version 6.0.0-preview.6.21352.12...
Installing pack Microsoft.Maui.Core.Ref.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Core.Ref.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Core.Runtime.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Core.Runtime.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Controls.Ref.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Controls.Ref.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Controls.Runtime.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Controls.Runtime.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Essentials.Ref.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Essentials.Ref.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Installing pack Microsoft.Maui.Essentials.Runtime.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Writing workload pack installation record for Microsoft.Maui.Essentials.Runtime.win version 6.0.100-preview.6.1003+sha.5c159aabf-azdo.4977641...
Garbage collecting for SDK feature bands 6.0.100...
Uninstalling workload pack Microsoft.NETCore.App.Runtime.AOT.Cross.tvossimulator version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.tvOS.Templates version 15.0.100-preview.6.63.
Uninstalling workload pack Microsoft.macOS.Templates version 12.0.100-preview.6.63.
Uninstalling workload pack Microsoft.macOS.Ref version 12.0.100-preview.6.63.
Uninstalling workload pack Microsoft.tvOS.Sdk version 15.0.100-preview.6.63.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.tvos-arm64 version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.tvossimulator version 6.0.0-preview.6.21352.12.
Uninstalling workload pack Microsoft.tvOS.Ref version 15.0.100-preview.6.63.
Uninstalling workload pack Microsoft.macOS.Sdk version 12.0.100-preview.6.63.
Uninstalling workload pack Microsoft.NETCore.App.Runtime.AOT.Cross.tvos-arm64 version 6.0.0-preview.6.21352.12.

Successfully installed workload(s) maui.

# ~/Projects/github.com/yamachu/MAUICameraSetting $ [to-preview6]
 dotnet workload list
Workload Id
-----------
maui

But dotnet workload update command still failed.

@lewing
Copy link
Member

lewing commented Jul 16, 2021

@dsplaisted unless the resolver looks for an advertising manifest in the feeds is there anyway to resolve this chicken and egg problem.

@dsplaisted
Copy link
Member

I'm not sure exactly what's going on here, it looks like it's getting a mix of preview 6 and preview 7 manifests. Ideally if it gets one preview 7 manifest it should get all of them. Did the Preview 7 version of the microsoft.net.workload.mono.toolchain manifest get pushed to a feed which otherwise only has the preview 6 manifests?

@lewing
Copy link
Member

lewing commented Jul 16, 2021

@dsplaisted the issue is that we had to split the workload into two workloads for VS and now microsoft.net.workload.mono.toolchain depends on microsoft.net.workload.emscripten but Preview6 has no baseline manifest for that so it errors out even though the dependency is listed and there is a manifest in the feed. I'm mostly curious if this sort of scenario is something that might eventually be supported.

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged Request triage from a team member label Jul 16, 2021
@lewing lewing transferred this issue from dotnet/runtime Jul 16, 2021
@dsplaisted
Copy link
Member

No, I don't think we'd support this kind of change within the same feature band (ie in a patch to the SDK release). Changes to the structure of the workloads and manifests would need to wait for a new feature release of the .NET SDK.

It's also OK to make these changes during previews, though as we've found it can be kind of painful.

@lewing
Copy link
Member

lewing commented Jul 16, 2021

Understood, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Workloads untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

4 participants