You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installing Rancher
azure-arm: The msstore source requires that you view the following agreements before using.
azure-arm: Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
azure-arm: The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US").
azure-arm:
azure-arm: Failed when searching source: winget
azure-arm: An unexpected error occurred while executing the command:
azure-arm: 0x8a15000f : Data required by the source is missing
azure-arm:
azure-arm: No packages were found among the working sources.
==> azure-arm: Provisioning step had errors: Running the cleanup provisioner, if present...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is my code to get winget installed which worked:
Write-Host 'Install NuGet'
"Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force"
Write-Host "Install UI.XAML"
$url = "https://www.nuget.org/api/v2/package/Microsoft.UI.Xaml/2.7.1"
$zipFile = "Microsoft.UI.Xaml.2.7.1.nupkg.zip"
Invoke-WebRequest -Uri $url -OutFile $zipFile
Expand-Archive $zipFile
Add-AppxPackage "Microsoft.UI.Xaml.2.7.1.nupkg\tools\AppX\x64\Release\Microsoft.UI.Xaml.2.7.appx"
Write-Host "Install VC.Libs"
Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile Microsoft.VCLibs.x64.14.00.Desktop.appx
Add-AppxPackage 'https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx'
Write-Host "Install WinGet"
$latestWingetMsixBundleUri = $ (Invoke-RestMethod https://api.github.com/repos/microsoft/winget-cli/releases/latest).assets.browser_download_url | Where-Object {$_.EndsWith(".msixbundle")}
$latestWingetMsixBundle = $latestWingetMsixBundleUri.Split("/")[-1]
Write-Information "Downloading winget to artifacts directory..."
Invoke-WebRequest -Uri $latestWingetMsixBundleUri -OutFile "./$latestWingetMsixBundle"
Add-AppxPackage $latestWingetMsixBundle
When i run commands like these:
Write-Host "Installing Rancher"
winget install rancher-desktop --silent --accept-source-agreements --accept-package-agreements
I keep getting this error:
Installing Rancher
azure-arm: The msstore source requires that you view the following agreements before using.
azure-arm: Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
azure-arm: The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US").
azure-arm:
azure-arm: Failed when searching source: winget
azure-arm: An unexpected error occurred while executing the command:
azure-arm: 0x8a15000f : Data required by the source is missing
azure-arm:
azure-arm: No packages were found among the working sources.
==> azure-arm: Provisioning step had errors: Running the cleanup provisioner, if present...
What am i doing wrong? Can someone help please?
Beta Was this translation helpful? Give feedback.
All reactions