Open totallytavi opened 1 week ago
I was trying to fix the msstore path because one package wouldn't install. I've tried the steps in #4785, #4676 and #3303. None of them worked. I accidentally removed the msstore from the sources list and tried to add it back to my discovery of this.
Could you try winget source reset
?
PS C:\ManVal> winget source reset
The following sources will be reset if the --force option is given:
Name Argument Explicit
--------------------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0 false
winget https://cdn.winget.microsoft.com/cache false
Source got re-added, but I'm still experiencing an issue with the source not installing a package
~
❯ winget source reset
The following sources will be reset if the --force option is given:
Name Argument Explicit
------------------------------------------------------
winget https://cdn.winget.microsoft.com/cache false
~
❯ winget source reset --force
Resetting all sources...Done
~
❯ winget source list
Name Argument Explicit
--------------------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0 false
winget https://cdn.winget.microsoft.com/cache false
~
❯ winget install 9nblggh5fv99 -s msstore
The `msstore` source requires that you view the following agreements before using.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US").
Do you agree to all the source agreements terms?
[Y] Yes [N] No: Y
Failed when searching source: msstore
An unexpected error occurred while executing the command:
0x8a150044 : The rest API endpoint is not found.
No packages were found among the working sources.
The winget source reset --force
command was designed to ensure the default sources "winget" and "msstore" are both reset for client devices. As long as there are no Group Policy Objects (GPOs) preventing the addition of unauthorized sources.
Brief description of your issue
The
msstore
is returning 500 Internal Server Error when attempting to be added as a sourceSteps to reproduce
Expected behavior
Source is added and can be used to install packages
Actual behavior
Environment