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

P.S.A. Original CDN will be retired #3652

Closed
denelon opened this issue Sep 21, 2023 · 98 comments
Closed

P.S.A. Original CDN will be retired #3652

denelon opened this issue Sep 21, 2023 · 98 comments
Assignees
Labels
Public-Service-Announcement Issue is a public service announcement
Milestone

Comments

@denelon
Copy link
Contributor

denelon commented Sep 21, 2023

We will be retiring the CDN used by earlier versions of WinGet.

Please upgrade to WinGet 1.6 or WinGet 1.7-preview (or later as new releases come out).

You can update "App Installer" via the Microsoft Store.
You can also use https://aka.ms/getwinget to install the latest available stable version.
For preview builds, you can use https://aka.ms/getwingetpreview.

Note: The default behavior on a new Windows installation is to have the Microsoft Store check for updates and to install the latest version of WinGet. This should affect less than 2% of devices. WinGet can be updated by updating the App Installer in the Microsoft Store. It is also possible to run winget install "App Installer" -s msstore --force via the command-line.

New Windows installs (Azure Virtual Desktop for example) may have an earlier version of WinGet (delivered via App Installer) and they may not function correctly to download the default "winget" source. Updating the client to the latest version via the Microsoft Store, or GitHub will mitigate the issue.

Several users have reported issues with getting source updates to function after installing the latest version of WinGet. We're looking into the root cause.

If you run winget source update --force in an administrator terminal/shell it should resolve the issue.
If that doesn't work, try powershell -command Add-AppxPackage https://cdn.winget.microsoft.com/cache/source.msix

Latest Update:
CDN Migration is complete

@denelon denelon added the Public-Service-Announcement Issue is a public service announcement label Sep 21, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Sep 21, 2023
@denelon denelon pinned this issue Sep 21, 2023
@denelon denelon removed the Needs-Triage Issue need to be triaged label Sep 21, 2023
@denelon denelon changed the title P.S.A Original CDN will be retired P.S.A. Original CDN will be retired Sep 21, 2023
@denelon
Copy link
Contributor Author

denelon commented Sep 25, 2023

Some users may see HTTP 429 Server Busy errors temporarily as we work on the CDN changes.

@denelon
Copy link
Contributor Author

denelon commented Sep 26, 2023

We're getting blocked messages from the CDN.
We're working on the issue.

image

@denelon
Copy link
Contributor Author

denelon commented Sep 26, 2023

It should be back up now.

@paulkram
Copy link

Hi,
for me it is still broken using winget v1.5.2201 and winget source URL https://cdn.winget.microsoft.com/cache

Any updates?

@dan-mba
Copy link

dan-mba commented Sep 26, 2023

I am getting occasional successes

When it succeeds, the log shows the following:

2023-09-26 10:33:57.597 [CORE] WinINet downloading from url: https://winget-cache-pme-cxfsgwfxarb8hwg0.z01.azurefd.net/cache/source.msix
2023-09-26 10:33:57.978 [CORE] Download completed.

When it fails, the log shows:

2023-09-26 12:28:38.062 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/source.msix
2023-09-26 12:28:38.320 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(127)\WindowsPackageManager.dll!00007FF9697E405E: (caller: 00007FF9697E44A9) Exception(2) tid(1830) 8A15002E 
2023-09-26 12:28:38.328 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(562)\WindowsPackageManager.dll!00007FF969A75F74: (caller: 00007FF969806B2F) LogHr(2) tid(1830) 8A15002E     Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(127)\WindowsPackageManager.dll!00007FF9697E405E: (caller: 00007FF9697E44A9) Exception(2) tid(1830) 8A15002E ] 

2023-09-26 12:28:38.328 [REPO] Failed to update source: winget

I am using WinGet, version [1.6.2631] on Windows 11

@denelon
Copy link
Contributor Author

denelon commented Sep 26, 2023

Can you share the response from https://cdn.winget.microsoft.com/cache/source.msix when this happens?

@paulkram
Copy link

Chrome and firefox are happy and can download it. Winget failes, saying it can't download it. Is there a possibility to get more details?

@TimoS254
Copy link

TimoS254 commented Sep 26, 2023

I also have problems with updating the winget source.
Im using the winget version v1.7.2491-preview on Windows 10 v10.0.19045.3448

I also tried resetting the source with winget source reset --force however this doesnt seem to fix the problem.

The error message in log is as follows:
WinGet-2023-09-27-00-03-25.257.log

winget source url:
winget https://cdn.winget.microsoft.com/cache

@mkstephenson
Copy link

mkstephenson commented Sep 26, 2023

I am also getting errors when attempting to update my winget sources, winget source update results in a cancelled for winget and the error log contains a lot of the following:
[FAIL] WindowsPackageManager.dll!00007FFAADFB30C2: ReturnHr(1) tid(2b34) 80072EE7 Msg:[winrt::hresult_error: The server name or address could not be resolved].

From the same Powershell Core console using Invoke-WebRequest, I get a 200 OK for https://cdn.winget.microsoft.com/cache/source.msix, so the DNS resolution seems to work fine outside of winget.

Running v1.7.2491-preview on Windows 10 from Germany.

@primeinc
Copy link

> winget source list
Name    Argument
-----------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget  https://cdn.winget.microsoft.com/cache

> winget -v
v1.6.2631

> winget source update
Updating all sources...
Updating source: msstore...
Done
Updating source: winget...
Cancelled

Getting the same error, browser says Service Unavailable
The request is blocked.
20230926T233325Z-n49rqu44d57szba50635s1eqsw00000001kg00000001et9w

WinGet-2023-09-26-19-28-18.552.log

@jozephbrasil
Copy link

@primeinc same here. Did you find a way to fix it?

@paulkram
Copy link

@denelon When it's not working, I see 429ers like you posted #3652 (comment)

@HenkPoley
Copy link

HenkPoley commented Sep 27, 2023

@dan-mba @primeinc I've written my solution to "Failed in attempting to update the source: winget" here: #3525 (comment)

It should work, but not the first time I had to coax winget to keep updating 🙈

@mkstephenson
Copy link

Hmmm, now I'm getting request blocked (Service unavailable) answers from that URL...

@vortex852456
Copy link

image
image

Got this error since my first request this day...

@Lusiiky
Copy link

Lusiiky commented Sep 27, 2023

Since yesterday evening (around 5pm - UTC+2), I've been getting the error Failed in attempting to update the source: winget whenever I try a command like winget upgrade.

Current Location: Dunkerque, France
The problem doesn't seem to be present on my computers in Arlon, Belgium or Capellen, Luxembourg.

Sources:

Nom     Argument
-----------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget  https://cdn.winget.microsoft.com/cache

Logs:

2023-09-27 09:26:00.429 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFD55151415: (caller: 00007FFD552B65F4) Exception(1) tid(938) 8051100F 
2023-09-27 09:26:00.429 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(53)\WindowsPackageManager.dll!00007 FFD553E9136: (caller: 00007FFD552B2907) LogHr(1) tid(938) 8051100F Msg:[PreIndexedPackageInfo failed on primary location -- D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007 FFD55151415: (caller: 00007FFD552B65F4) Exception(1) tid(938) 8051100F ] 

2023-09-27 09:26:00.459 [FAIL] WindowsPackageManager.dll!00007FFD553BFB12: ReturnHr(1) tid(938) 801901AD Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\HttpStream\HttpClientWrapper.cpp(52)\WindowsPackageManager.dll!00007 FFD553B6E0E: (caller: 00007FFD550FB960) Exception(2) tid(938) 801901AD ] 

2023-09-27 09:26:00.459 [FAIL] WindowsPackageManager.dll!00007FFD55155EE7: LogHr(2) tid(938) 801901AD 
2023-09-27 09:26:00.460 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(64)\WindowsPackageManager.dll!00007 FFD553E9193: (caller: 00007FFD552B2907) LogHr(3) tid(938) 801901AD Msg:[PreIndexedPackageInfo failed on alternate location -- winrt::hresult_error: The text associated with this error code could not be found]. 

2023-09-27 09:26:00.460 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(66)\WindowsPackageManager.dll!00007FFD552B6745: (caller: 00007FFD552B2907) Exception(3) tid(938) 8051100F 
2023-09-27 09:26:00.460 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(53)\WindowsPackageManager.dll!00007 FFD553E69B1: (caller: 00007FFD5529D6C2) LogHr(4) tid(938) 8051100F Msg:[D:\a\_work1\\s\external\pkg\src\sAppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(66)\WindowsPackageManager.dll!00007 FFD552B6745: (caller: 00007FFD552B2907) Exception(3) tid(938) 8051100F ] 

2023-09-27 09:26:00.460 [REPO] Source add/update failed, waiting a bit and retrying: winget
2023-09-27 09:26:02.498 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007FFD55151415: (caller: 00007FFD552B65F4) Exception(4) tid(938) 8051100F 

2023-09-27 09:26:02.498 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(53)\WindowsPackageManager.dll!00007 FFD553E9136: (caller: 00007FFD552B2907) LogHr(5) tid(938) 8051100F Msg:[PreIndexedPackageInfo failed on primary location -- D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(313)\WindowsPackageManager.dll!00007 FFD55151415: (caller: 00007FFD552B65F4) Exception(4) tid(938) 8051100F ] 

2023-09-27 09:26:02.672 [FAIL] WindowsPackageManager.dll!00007FFD553BFB12: ReturnHr(2) tid(938) 801901AD Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\HttpStream\HttpClientWrapper.cpp(52)\WindowsPackageManager.dll!00007 FFD553B6E0E: (caller: 00007FFD550FB960) Exception(5) tid(938) 801901AD ] 

2023-09-27 09:26:02.672 [FAIL] WindowsPackageManager.dll!00007FFD55155EE7: LogHr(6) tid(938) 801901AD 
2023-09-27 09:26:02.672 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(64)\WindowsPackageManager.dll!00007 FFD553E9193: (caller: 00007FFD552B2907) LogHr(7) tid(938) 801901AD Msg:[PreIndexedPackageInfo failed on alternate location -- winrt::hresult_error: The text associated with this error code could not be found]. 
2023-09-27 09:26:02.672 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(66)\WindowsPackageManager.dll!00007FFD552B6745: (caller: 00007FFD552B2907) Exception(6) tid(938) 8051100F 
2023-09-27 09:26:02.672 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(562)\WindowsPackageManager.dll!00007 FFD553E5F74: (caller: 00007FFD55176B2F) LogHr(8) tid(938) 8051100F Msg:[D:\a\_work1\\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\PreIndexedPackageSourceFactory.cpp(66)\WindowsPackageManager.dll!00007 FFD552B6745: (caller: 00007FFD552B2907) Exception(6) tid(938) 8051100F ] 

2023-09-27 09:26:02.672 [REPO] Failed to update source: winget

Environment

Gestionnaire de package Windows v1.6.2631
Copyright (c) Microsoft Corporation. Tous droits réservés.

Windows: Windows.Desktop v10.0.22621.2361
Architecture du système : X64
Package : Microsoft.DesktopAppInstaller v1.21.2631.0

Répertoires Winget
-----------------------------------------------------------------------------------------------------------------------------------------
Journaux                                     %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
Paramètres utilisateurs                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Répertoire des liens portables (utilisateur) %LOCALAPPDATA%\Microsoft\WinGet\Links
Répertoire des liens portables (ordinateur)  C:\Program Files\WinGet\Links
Racine de package portable (utilisateur)     %LOCALAPPDATA%\Microsoft\WinGet\Packages
Racine du package portable                   C:\Program Files\WinGet\Packages
Racine de package portable (x86)             C:\Program Files (x86)\WinGet\Packages
Téléchargements du programme d’installation  D:\Users\Lusiiky\Downloads

Liens
---------------------------------------------------------------------------------------------
Déclaration de confidentialité        https://aka.ms/winget-privacy
Contrat de licence                    https://aka.ms/winget-license
Avis de tiers                         https://aka.ms/winget-3rdPartyNotice
Page d’accueil                        https://aka.ms/winget
Conditions générales du Windows Store https://www.microsoft.com/en-us/storedocs/terms-of-sale

Paramètre administrateur                  État
---------------------------------------------------
LocalManifestFiles                        Désactivé
BypassCertificatePinningForMicrosoftStore Désactivé
InstallerHashOverride                     Désactivé
LocalArchiveMalwareScanOverride           Désactivé

https://cdn.winget.microsoft.com/cache/source.msix

Now: Fixed?

Before:
Title: Service Unavailable

The request is blocked.
20230927T083946Z-14menacuwh61m5ztc7ba47aryw00000000ug00000000qzz5

https://cdn.winget.microsoft.com/cache

Title: Page not found

Page not found
Oops! We weren't able to find your Azure Front Door Service configuration. If it's a new configuration that you recently created, it might not be ready yet. You should check again in a few minutes. If the problem persists, please contact Azure support.

Console:

GET https://cdn.winget.microsoft.com/cache 404 (Not Found)
cache:1 Access to font at 'https://azurefrontdoorpages.azureedge.net/pages/fonts/segoe-ui/west-european/normal/latest.woff' from origin 'https://cdn.winget.microsoft.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
UxFxStableCssWesternEuropean_6724ABFCA058F28804A76FD40AD14C9D7A6031D9.css:1     GET https://azurefrontdoorpages.azureedge.net/pages/fonts/segoe-ui/west-european/normal/latest.woff net::ERR_FAILED 404 (Not Found)
cache:1 Access to font at 'https://azurefrontdoorpages.azureedge.net/pages/fonts/segoe-ui/west-european/normal/latest.ttf' from origin 'https://cdn.winget.microsoft.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
UxFxStableCssWesternEuropean_6724ABFCA058F28804A76FD40AD14C9D7A6031D9.css:1     GET https://azurefrontdoorpages.azureedge.net/pages/fonts/segoe-ui/west-european/normal/latest.ttf net::ERR_FAILED 404 (Not Found)

@Diogo-Rossi
Copy link

I'm getting the same error as @Lusiiky, in 2 computers

@razvangoga
Copy link

razvangoga commented Sep 27, 2023

Same here (Germany) - ip is 37.201.XX.XX

@maddindeiss
Copy link

Can confirm this, I have the same error as @Lusiiky

@TimKarsten
Copy link

Current Location: Dunkerque, France
The problem doesn't seem to be present on my computers in Arlon, Belgium or Capellen, Luxembourg.

Same issue. My location is German, IP 88.69.183.xxx

I don't think it is the WinGet Version or that the entire CDN is down. We probably would see more tickets. Could it be that a specific mirror for a local IP range is the culprit?

@JustAnotherWinAdmin
Copy link

Same issue affecting multiple machines here in the UK.

@antoniogott
Copy link

antoniogott commented Sep 27, 2023

Same issue in Brazil, multiple computers under different ISPs

@shalinikhare27
Copy link

@denelon - I ran the following:

  1. powershell -command Add-AppxPackage https://github.com/microsoft/winget-cli/releases/latest/download/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle - This fetches the latest winget version. The output of running winget --version is v1.6.2771

  2. winget source list
    msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
    winget https://cdn.winget.microsoft.com/cache

  3. winget install --id Microsoft.Git --disable-interactivity --accept-source-agreements --accept-package-agreements - This failed with the following error:
    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.

These commands are run on Windows 10. This thread mentions installing the latest version of winget will solve the problem, but in my case I do have the latest version and it is still throwing this error.

How I fixed:
I ran powershell -command Add-AppxPackage https://cdn.winget.microsoft.com/cache/source.msix before running the git install step and then it magically worked.

Questions:

  1. Do we need to add the powershell command for https://cdn.winget.microsoft.com/cache/source.msix adding winget source for machines with latest winget versions as well?
  2. Is there any correlation to CDN retirement that can cause the issue with newer winget versions as well?

@cvladan
Copy link

cvladan commented Nov 7, 2023

OMG.
Was it so hard to give better message than "Cancelled"?

#1656

Dear Microsoft, you became a joke... so do your datacenter-corporate-bullshit and please, please just pay open-source project authors to do things efficiently - scoop.

@metayan
Copy link

metayan commented Nov 9, 2023

Thank you, @shalinikhare27 , for

powershell -command Add-AppxPackage https://cdn.winget.microsoft.com/cache/source.msix

This fixed the
Failed in attempting to update the source: winget
error, that has been pestering me for a long time.

@daniatic
Copy link

daniatic commented Nov 22, 2023

I came here from #1656 and none of the solutions here worked, but I found a solution, I want to share, that also could give some insights into the origin of my problem and maybe similar problems of others.

Winget and Teams simultaneously did not work starting from today. Winget having the problem with the source as described thouroughly above and in the other thread, and Teams (New) was nearly reacting, couldn't send or receive messages and showed the following message in the top: "We’ve run into a server error. Some functions might not work right now but you can continue to use the app." Even the Microsoft Store App told me I was offline and was unable to operate. Looking for a solution especially regarding teams I cam across following thread: https://answers.microsoft.com/en-us/msteams/forum/all/new-teams-weve-run-into-a-sever-error-every-day/275e8bb1-d260-4f06-a4e1-7eaa19852e35?page=3 and the last proposed solution to change Windows Internet Properties -> Connections -> LAN Settings -> Automatic Configuration and setting "Automatically detect settings", resolved all issues. Teams, winget and the Microsoft Store worked as nothing ever has happenend.

@StevieLamb
Copy link

@daniatic the "Automatically detect settings" can be a very risky option, particularly for "mobile" computers.

This instructs the computer to use the WPAD protocol, which can lead to disclosure of credentials to third parties, MitM attacks etc.

Evaluate the need to use this option very carefully before using it.

@daniatic
Copy link

daniatic commented Dec 9, 2023

@StevieLamb thank you very much for this information!

I will try turning it off again and hope that Teams and winget keep working.

Do you have any ideas why this setting could affect the proper workings of these two apps?

@StevieLamb
Copy link

@daniatic I'm somewhat confused it was suggested as a resolution to you, and that it in fact helped you: that setting should only be useful if:

you are on a network with a proxy
the proxy supports auto-discovery

If these things are true for you then at least it makes some sense, but in that event I'd recommend talking to whoever administers the proxy about how it should be configured so you can avoid using WPAD.

If these things are not true then I'm afraid I'm stumped as to why enabling this setting fixed your issue.

@daniatic
Copy link

daniatic commented Dec 9, 2023

Then we stay in the dark... This is my private notebook and I used it in my private home network, where there is no proxy or similar. Even in the office there is no proxy of which I know of. No matter where I was these days it did not work until I changed that setting and without restart or any other intervention it just worked afterwards.

I disabled it the moment you told me and for now it still works.

@datdeep
Copy link

datdeep commented Dec 15, 2023

I cannot run “winget upgrade” or “winget source update”. They all return an error or fail with a cancel status when I try to update the winget source.

After I turn on WARP (you can download it at cloudflarewarp), I can run “winget source update” and then “winget upgrade” and all winget commands run normally. I think you can use any VPN app. But with a free VPN app like WARP, we cannot choose which server or country to use, so it just randomly works sometimes and sometimes it does not.

Then I release that, when I do not turn on WARP VPN, if I ping cdn.winget.microsoft.com, it will ping 127.0.0.1 (I don’t know why). Even if I run ipconfig /flushdns, it still pings to 127.0.0.1. But when I turn on WARP VPN and ping cdn.winget.microsoft.com, it pings to another IP address than 127.0.0.1.

So, I edit the host file and add “152.199.21.175 cdn.winget.microsoft.com”. All winget commands work fine without turning on WARP.

I hope this helps if you cannot fix the source error by using all other advice.

You can use this PowerShell command to add a host entry:

# Get the path of the host file
$file = "C:\Windows\System32\drivers\etc\hosts"

# Get the content of the host file as a string
$hostfile = Get-Content $file

# Append the entry to the host file
$hostfile += "152.199.21.175 cdn.winget.microsoft.com"

# Set the content of the host file back to disk
Set-Content -Path $file -Value $hostfile -Force

@b1t3z3r0
Copy link

b1t3z3r0 commented Jan 19, 2024

Guys, i was getting a "Failed in attempting to update the source: winget No applicable update found." error and the only way i managed to have winget working properly was by following this exact steps from Microsoft:
https://learn.microsoft.com/en-us/windows/iot/iot-enterprise/deployment/install-winget-windows-iot
Hope it helps

@x157
Copy link

x157 commented Jan 25, 2024

For anybody who still can't get this working...

I have a brand new Win 11 PC just unboxed today. Winget refused to update, I was having the same errors listed above.

The official Microsoft Install winget page says at the top "get App Installer from the Microsoft Store" (If it's already installed, make sure it is updated with the latest version.)

I did indeed have a version already installed, so I updated it.

After updating, I am able to winget source update from a non-elevated Powershell, and I can now see (and install!) a modern Powershell 7 via winget.

Screenshot 2024-01-24 162048

@martin-braun
Copy link

A fresh Windows 11 install is STILL affected. Why is this issue not pinned? Also, fix your product already. How can you screw up in such a way that the user has to repair the stock Windows to actually use it? Rhetorical question, nothing new with Microsoft.

@dustojnikhummer
Copy link

A fresh Windows 11 install is STILL affected. Why is this issue not pinned? Also, fix your product already. How can you screw up in such a way that the user has to repair the stock Windows to actually use it? Rhetorical question, nothing new with Microsoft.

When I asked for a PS script to update Winget, I got told "Use the Windows Store". Yes, thanks for making Winget useless on a clean install Microsoft, now I need to keep software binaries in my install scripts. Basically I just got told "you are using it wrong"

@martin-braun
Copy link

martin-braun commented Feb 11, 2024

@dustojnikhummer There are good reasons why I avoid Windows as much as possible and suggest against using it these days. Still have to deal with this telemetry bloat hog Windows shtt show. From stupid decisions in .NET (like not preinstalling .NET Core) to Candy Crush in the Start Menu. This OS is cancerous, unreasonable and degenerated (you can't even put the taskbar on top anymore) and I only install it as VM to compile software for it to serve users who don't know what they are doing to themselves.

Whenever possible I pick mingw as part of my compiler toolchain to avoid having to use Windows for more than testing.

@dustojnikhummer
Copy link

@dustojnikhummer There are good reasons why I avoid Windows as much as possible and suggest against using it these days. Still have to deal with this telemetry bloat hog Windows shtt show. From stupid decisions in .NET (like not preinstalling .NET Core) to Candy Crush in the Start Menu. This OS is cancerous, unreasonable and degenerated (you can't even put the taskbar on top anymore) and I only install it as VM to compile software for it to serve users who don't know what they are doing to themselves.

Whenever possible I pick mingw as part of my compiler toolchain to avoid having to use Windows for more than testing.

Yes, very helpful in corporate environment, thank you...

@jasonswearingen
Copy link

jasonswearingen commented Feb 21, 2024

I had this problem yesterday (winget not working due to wrong CDN), here is my description and solution: ChrisTitusTech/winutil#1082 (comment)

the TLDR is to install winget install -s msstore --id 9NBLGGH4NNS1 which updates winget to a version with the right cdn.

@dminhhoang26
Copy link

very tired, winget, windows. searching for many posts still getting stuck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Public-Service-Announcement Issue is a public service announcement
Projects
None yet
Development

No branches or pull requests