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

Unable to install with winget on Windows 11 #4099

Closed
wukefe opened this issue Jan 13, 2024 · 11 comments
Closed

Unable to install with winget on Windows 11 #4099

wukefe opened this issue Jan 13, 2024 · 11 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@wukefe
Copy link

wukefe commented Jan 13, 2024

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

@wukefe wukefe added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Jan 13, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Jan 13, 2024
@vineeththomasalex
Copy link

/logs

@vineeththomasalex vineeththomasalex added Needs-Author-Feedback Issue needs attention from issue or PR author and removed Needs-Triage Issue need to be triaged labels Jan 22, 2024
@vineeththomasalex
Copy link

vineeththomasalex commented Jan 22, 2024

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

@vineeththomasalex vineeththomasalex added the Needs-Triage Issue need to be triaged label Jan 22, 2024
@wukefe
Copy link
Author

wukefe commented Jan 23, 2024

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

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Author-Feedback Issue needs attention from issue or PR author label Jan 23, 2024
@vineeththomasalex
Copy link

@denelon Would you be able to help @wukefe make an issue about this on the Winget repo?

I'll close this one as External.

@vineeththomasalex vineeththomasalex closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 2024
@vineeththomasalex vineeththomasalex removed the Needs-Triage Issue need to be triaged label Jan 24, 2024
@denelon denelon reopened this Jan 24, 2024
@denelon denelon transferred this issue from microsoft/devhome Jan 24, 2024
@denelon
Copy link
Contributor

denelon commented Jan 24, 2024

@wukefe what version of WinGet do you have installed? Can you share the output from winget --info?

@wukefe
Copy link
Author

wukefe commented Jan 24, 2024

>> 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

@denelon
Copy link
Contributor

denelon commented Jan 24, 2024

It looks like you have an older version of WinGet. Could you try upgrading?

You can either:

@wukefe
Copy link
Author

wukefe commented Jan 24, 2024

Thanks! I will try it later today and will let you know.

@wukefe
Copy link
Author

wukefe commented Jan 26, 2024

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.

@vineeththomasalex
Copy link

@wukefe Is this still an issue for you?

@wukefe
Copy link
Author

wukefe commented May 2, 2024

@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.

@wukefe wukefe closed this as completed May 2, 2024
@denelon denelon added this to the 1.8 Client milestone May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

3 participants