winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit ecc2314ecdc3ad7fe428f84a4f8932e7fb235a18
parent 90be304ae65cb8a43c23b1eb3d4545cb6e9a8ccd
Author: Kaleb Luedtke <trenlymc@gmail.com>
Date:   Wed, 21 Feb 2024 11:54:56 -0600

Add Troubleshooting Step for CDN (#4188)

<!-- To check a checkbox place an "x" between the brackets. e.g: [x] -->

- [x] I have signed the [Contributor License
Agreement](https://cla.opensource.microsoft.com/microsoft/winget-pkgs).
- [x] This pull request is related to an issue.
  * #4187
  * https://github.com/microsoft/winget-cli/issues/3832
  * https://github.com/microsoft/winget-cli/issues/3706
  * https://github.com/microsoft/winget-cli/issues/4117

-----

###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/4188)

---------

Co-authored-by: Muhammad Danish <mdanishkhdev@gmail.com>
Diffstat:
M.github/actions/spelling/expect.txt | 1+
Mdoc/troubleshooting/README.md | 13+++++++++++++
2 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt @@ -144,6 +144,7 @@ fuzzer fzanollo gcpi GESMBH +getwinget GHS gity goku diff --git a/doc/troubleshooting/README.md b/doc/troubleshooting/README.md @@ -42,6 +42,19 @@ After the package is provisioned, the users need to log into their Windows accou ## Common Issues +### Executing `winget` exits with no message + +If no output is displayed, it is likely that the version of WinGet on your system is using a retired Content Delivery Network (CDN). +You can check which version of WinGet is on your machine using `winget --info`. If the version is lower than `1.6.3482`, take the following troubleshooting steps. + +1. Install the latest version of WinGet using one of the below methods + * a. Through the Microsoft Store by installing the latest version of [App Installer](https://apps.microsoft.com/detail/9NBLGGH4NNS1) + * b. Through installing the MSIX package found in the [GitHub releases](https://github.com/microsoft/winget-cli/releases) + * c. Through installing the MSIX package from https://aka.ms/getwinget +2. Force a source update using `winget source update` + +If the above guidelines do not resolve the problem, please open an issue with details of the Windows version and App Installer version you are using. + ### Executing `winget` doesn't display help The following errors are displayed when executed in CMD.