Maui: Workload installation failed: The transaction has aborted
See original GitHub issuehello I have problem with workload install maui I’ve tried to fix it but all my attempts were failed same problem appears with maui-check command or dotnet workload install maui command I need your help
Installing pack Microsoft.NETCore.App.Runtime.Mono.android-arm64 version 6.0.0-preview.7.21377.19… Workload installation failed: The transaction has aborted.
this what appears exactly
! Attempt to fix? [y/n] (y): y » Attempting to fix: .NET SDK - Workloads (6.0.100-preview.7.21379.14) SHELL: C:\Program Files\dotnet\dotnet.exe workload repair --source “https://api.nuget.org/v3/index.json” --source “https://pkgs.dev.azure.com/dnceng/public/_packaging/6.0.100-preview.7.21379.14-shipping-1/nuget/v3/index.json”
Repairing workload installation for workloads: Garbage collecting for SDK feature bands …
Successfully repaired worklods:
SHELL: C:\Program Files\dotnet\dotnet.exe workload update --sdk-version 6.0.100-preview.7.21379.14 --no-cache --disable-parallel --from-rollback-file “C:\Users\halis\AppData\Local\Temp\maui-check-dotnet-work-dir\workload.json” --source “https://api.nuget.org/v3/index.json” --source “https://pkgs.dev.azure.com/dnceng/public/_packaging/6.0.100-preview.7.21379.14-shipping-1/nuget/v3/index.json”
No workloads installed for this feature band. To update from the previous SDK, include the --from-previous-sdk option. Updated advertising manifest microsoft.net.sdk.android. Updated advertising manifest microsoft.net.sdk.ios. Updated advertising manifest microsoft.net.sdk.maccatalyst. Updated advertising manifest microsoft.net.sdk.macos. Updated advertising manifest microsoft.net.sdk.maui. Updated advertising manifest microsoft.net.sdk.tvos. Updated advertising manifest microsoft.net.workload.emscripten. Updated advertising manifest microsoft.net.workload.mono.toolchain. Installing workload manifest microsoft.net.sdk.android version 30.0.100-preview.7.110. Installing workload manifest microsoft.net.sdk.ios version 15.0.100-preview.7.230. Installing workload manifest microsoft.net.sdk.maccatalyst version 15.0.100-preview.7.230. Installing workload manifest microsoft.net.sdk.tvos version 15.0.100-preview.7.230. Installing workload manifest microsoft.net.sdk.macos version 12.0.100-preview.7.230. Installing workload manifest microsoft.net.sdk.maui version 6.0.100-preview.7.1345. Installing workload manifest microsoft.net.workload.mono.toolchain version 6.0.0-preview.7.21377.19. Installing workload manifest microsoft.net.workload.emscripten version 6.0.0-preview.7.21377.2. No workloads installed for this feature band. To update from the previous SDK, include the --from-previous-sdk option. Garbage collecting for SDK feature bands …
Successfully updated workload(s): .
SHELL: C:\Program Files\dotnet\dotnet.exe workload install --sdk-version 6.0.100-preview.7.21379.14 --no-cache --disable-parallel android-aot ios maccatalyst tvos macos maui wasm-tools --skip-manifest-update --source “https://api.nuget.org/v3/index.json” --source “https://pkgs.dev.azure.com/dnceng/public/_packaging/6.0.100-preview.7.21379.14-shipping-1/nuget/v3/index.json”
Installing pack Microsoft.Android.Sdk version 30.0.100-preview.7.110… Writing workload pack installation record for Microsoft.Android.Sdk version 30.0.100-preview.7.110… Installing pack Microsoft.Android.Sdk.BundleTool version 30.0.100-preview.7.110… Writing workload pack installation record for Microsoft.Android.Sdk.BundleTool version 30.0.100-preview.7.110… Installing pack Microsoft.Android.Ref version 30.0.100-preview.7.110… Writing workload pack installation record for Microsoft.Android.Ref version 30.0.100-preview.7.110… Installing pack Microsoft.Android.Runtime.android-arm version 30.0.100-preview.7.110… Writing workload pack installation record for Microsoft.Android.Runtime.android-arm version 30.0.100-preview.7.110… Installing pack Microsoft.Android.Runtime.android-arm64 version 30.0.100-preview.7.110… Writing workload pack installation record for Microsoft.Android.Runtime.android-arm64 version 30.0.100-preview.7.110… Installing pack Microsoft.Android.Runtime.android-x86 version 30.0.100-preview.7.110… Writing workload pack installation record for Microsoft.Android.Runtime.android-x86 version 30.0.100-preview.7.110… Installing pack Microsoft.Android.Runtime.android-x64 version 30.0.100-preview.7.110… Writing workload pack installation record for Microsoft.Android.Runtime.android-x64 version 30.0.100-preview.7.110… Installing pack Microsoft.Android.Templates version 30.0.100-preview.7.110… Writing workload pack installation record for Microsoft.Android.Templates version 30.0.100-preview.7.110… Installing pack Microsoft.NETCore.App.Runtime.Mono.android-arm version 6.0.0-preview.7.21377.19… Workload installation failed, rolling back installed packs… Uninstalling workload pack Microsoft.Android.Sdk version 30.0.100-preview.7.110. Uninstalling workload pack Microsoft.Android.Sdk.BundleTool version 30.0.100-preview.7.110. Uninstalling workload pack Microsoft.Android.Ref version 30.0.100-preview.7.110. Uninstalling workload pack Microsoft.Android.Runtime.android-arm version 30.0.100-preview.7.110. Uninstalling workload pack Microsoft.Android.Runtime.android-arm64 version 30.0.100-preview.7.110. Uninstalling workload pack Microsoft.Android.Runtime.android-x86 version 30.0.100-preview.7.110. Uninstalling workload pack Microsoft.Android.Runtime.android-x64 version 30.0.100-preview.7.110. Uninstalling workload pack Microsoft.Android.Templates version 30.0.100-preview.7.110. Uninstalling workload pack Microsoft.NETCore.App.Runtime.Mono.android-arm64 version 6.0.0-preview.7.21377.19. Rolling back pack Microsoft.Android.Sdk installation… Rolling back pack Microsoft.Android.Sdk.BundleTool installation… Rolling back pack Microsoft.Android.Ref installation… Rolling back pack Microsoft.Android.Runtime.android-arm installation… Rolling back pack Microsoft.Android.Runtime.android-arm64 installation… Rolling back pack Microsoft.Android.Runtime.android-x86 installation… Rolling back pack Microsoft.Android.Runtime.android-x64 installation… Rolling back pack Microsoft.Android.Templates installation… Rolling back pack Microsoft.NETCore.App.Runtime.Mono.android-arm installation… Writing workload pack installation record for Microsoft.NETCore.App.Runtime.Mono.android-arm version 6.0.0-preview.7.21377.19… Installing pack Microsoft.NETCore.App.Runtime.Mono.android-arm64 version 6.0.0-preview.7.21377.19… Workload installation failed: The transaction has aborted. install Install a workload.
Usage: dotnet [options] workload install [<WORKLOAD_ID>…]
Arguments: <WORKLOAD_ID> The NuGet Package Id of the workload to install.
Options: –sdk-version <VERSION> The version of the SDK. –configfile <FILE> The NuGet configuration file to use. -s, --source <SOURCE> The NuGet package source to use during the restore. –skip-manifest-update Skip updating the workload manifests. –from-cache <from-cache> Complete the operation from cache (offline). –download-to-cache <download-to-cache> Download packages needed to install a workload to a folder which can be used for offline installation. –include-previews Allow prerelease workload manifests. –temp-dir <temp-dir> Configure the temporary directory used for this command (must be secure). –disable-parallel Prevent restoring multiple projects in parallel. –ignore-failed-sources Treat package source failures as warnings. –no-cache Do not cache packages and http requests. –interactive Allows the command to stop and wait for user input or action (for example to complete authentication). -v, --verbosity <d|detailed|diag|diagnostic|m|minimal|n|normal|q|quiet> Set the MSBuild verbosity level. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]. -?, -h, --help Show help and usage information
Fix failed - Workload Install failed: dotnet workload install --sdk-version 6.0.100-preview.7.21379.14 --no-cache --disable-parallel android-aot ios maccatalyst tvos macos maui wasm-tools --skip-manifest-update --source "https://api.nuget.org/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/6.0.100-preview.7.21379.14-shipping-1/nuget/v3/index.json"
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
! There were one or more problems detected. Please review the errors and correct them and run maui-check again.
Press enter to exit…
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:33 (18 by maintainers)
Top GitHub Comments
Thanks for providing the info, @StevenTCramer! Is @mattleibow’s observation relevant to you as well? Are you physically located far away from Redmond, WA?
@jonlipsky Great, then it seems likely that #21102 will fix this for you.