winget-cli: Cant add winget source

Brief description of your issue

when i would like to add the winget source again i get the following error.

winget source add --name winget https://winget.azureedge.net/cache
Quelle wird hinzugefügt:
  winget -> https://winget.azureedge.net/cache
Unerwarteter Fehler beim Ausführen des Befehls:
0x8051100f : unknown error

Source List:

Name    Argument
-----------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0

Steps to reproduce

winget source add --name winget https://winget.azureedge.net/cache

Expected behavior

adds the source

Actual behavior

get the above error

Environment

Windows: Windows.Desktop v10.0.22000.318
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.18.2691.0

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 7
  • Comments: 16 (3 by maintainers)

Most upvoted comments

I’m also having the same problem. Apparently Winget CDN is down: https://cdn.winget.microsoft.com/cache.

According to #2666 , the CDN might be down in some countries.

Oh, I found out that if i run winget source reset --force, the https://cdn.winget.microsoft.com/cache source gets back

Had the same issue, ran winget source reset --force to get the source back but still have the current issue

winget upgrade
Failed in attempting to update the source: winget
Failed when searching source; results will not be included: winget
No installed package found matching input criteria