winget-cli
winget-cli copied to clipboard
Unable to install with winget on Windows 11
Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
Followed the instructions from README:
winget install --id Microsoft.DevHome -e
Expected result
Install the package
Actual result
Failed in attempting to update the source: winget
Failed when searching source: winget
An unexpected error occurred while executing the command:
0x8a15000f : Data required by the source is missing
No packages were found among the working sources.
But I can see winget has been installed in /c/Users/<user>/AppData/Local/Microsoft/WindowsApps/winget
.
Included System Information
Windows 11 Version 10.0.22631 Build 22631
Included Extensions Information
No response
/logs
Hi @wukefe , for now it seems that the error is in Winget. You might receive more help in the Winget repository. https://github.com/microsoft/winget-cli
Hi @vineeththomasalex, winget is new to me. Do you know how to make it work to install devhome?
Here is what I tried, but the package was still not found:
winget source reset --force
winget source update
winget install --id Microsoft.DevHome -e
@denelon Would you be able to help @wukefe make an issue about this on the Winget repo?
I'll close this one as External.
@wukefe what version of WinGet do you have installed? Can you share the output from winget --info
?
>> winget --info
Windows Package Manager v1.4.11071
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22631.3007
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.11071.0
Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
It looks like you have an older version of WinGet. Could you try upgrading?
You can either:
- Upgrade App Installer via the Microsoft Store
- Install the latest via https://aka.ms/getwinget or https://github.com/microsoft/winget-cli/releases/latest
Thanks! I will try it later today and will let you know.
I tried Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
to install the latest winget, but the installation was unsuccessful and no error messages were available (disappeared silently). Anyway, I will try another way to install DevHome.
@wukefe Is this still an issue for you?
@vineeththomasalex Sorry about my late reply. It turns out that it worked after I tried with my personal laptop without admin controls. It no longer blocks me.