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

Fixed Winget Installation Error #5962

Closed
wants to merge 4 commits into from

Conversation

Esai-Keshav
Copy link

The Winget installation command is missing the source flag I have added that

Description

The installation command is causing the error
winget install --id Starship.Starship

C:\Users\user>winget install --id Starship.Starship
Failed when searching source: msstore
An unexpected error occurred while executing the command:
WinHttpSendRequest: 12030: The connection with the server was terminated abnormally


The following packages were found among the working sources.
Please specify one of them using the --source option to proceed.
Name     Id                Source
---------------------------------
starship Starship.Starship winget

Motivation and Context

When I tried to install using the winget command it caused source not defined error. If the source is defined it will easy for installation.

Screenshots (if appropriate):

How Has This Been Tested?

  • I have tested using Windows

Checklist:

  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

Fixed : 
Failed when searching source: msstore
An unexpected error occurred while executing the command:
WinHttpSendRequest: 12030: The connection with the server was terminated abnormally
Fixed Winget package error
Formatted table in docs for winget
Formatted  Windows table correctly
@davidkna
Copy link
Member

davidkna commented May 5, 2024

Did you run some sort of utility to slim down Windows that could have uninstalled the MS store?

@Esai-Keshav
Copy link
Author

The installation the source is winget not Ms store

@davidkna
Copy link
Member

davidkna commented May 6, 2024

It just seems that rather than a general issue, this could be caused by issues with your system's configuration (even if winget is perhaps acting overzealously here).

@Esai-Keshav
Copy link
Author

It just seems that rather than a general issue, this could be caused by issues with your system's configuration (even if winget is perhaps acting overzealously here).

While installing using winget it is compulsory to define the source in the new update of winget

@davidkna
Copy link
Member

There does not seem to be the case on my system, both with the current stable and preview releases. I assume there is some issue around the Window Store on your system.

@davidkna davidkna closed this May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants