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

WinGet source update failes #3963

Closed
BlockyTheDev opened this issue Dec 8, 2023 · 17 comments
Closed

WinGet source update failes #3963

BlockyTheDev opened this issue Dec 8, 2023 · 17 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@BlockyTheDev
Copy link

Brief description of your issue

Winget failes at updating the source winget with the message Abgebrochen (== Cancelled), the source msstore is working without problems. A reinstallation didn't help.

WinGet-2023-12-09-00-16-31.196.log

Steps to reproduce

  1. Execute the command winget source update
  2. Look at the result message

Expected behavior

The source updates for the source winget aren't failing.

Actual behavior

Winget failes at updating the source winget with the message Abgebrochen (== Cancelled).

Environment

Windows-Paket-Manager v1.6.3133
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.22631.2792
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.21.3133.0

WinGet-Verzeichnisse
-----------------------------------------------------------------------------------------------------------------------
Protokolle                                   %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\Local…
Benutzereinstellungen                        %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\Local…
Verzeichnis für portierbare Links (Benutzer) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portables Linkverzeichnis (Computer)         C:\Program Files\WinGet\Links
Portierbarer Paketstamm (Benutzer)           %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portierbarer Paketstamm                      C:\Program Files\WinGet\Packages
Portierbares Paketstamm (x86)                C:\Program Files (x86)\WinGet\Packages
Installationsprogrammdownloads               %USERPROFILE%\Downloads

Links
-----------------------------------------------------------------------------------------
Datenschutzerklärung              https://aka.ms/winget-privacy
Lizenzvereinbarung                https://aka.ms/winget-license
Hinweise von Drittanbietern       https://aka.ms/winget-3rdPartyNotice
Startseite                        https://aka.ms/winget
Windows Store-Nutzungsbedingungen https://www.microsoft.com/en-us/storedocs/terms-of-sale

Administratoreinstellung                  Status
-----------------------------------------------------
LocalManifestFiles                        Deaktiviert
BypassCertificatePinningForMicrosoftStore Deaktiviert
InstallerHashOverride                     Deaktiviert
LocalArchiveMalwareScanOverride           Deaktiviert
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Dec 8, 2023
@PinkSerenity
Copy link

PinkSerenity commented Dec 8, 2023

Try https://cdn.winget.microsoft.com/cache/source.msix. If it doesn't work and returns an error or downloads a file with a size of 0 Bytes (as it does for me), then it's the CDN acting up again (at least from what I've gathered looking at past issues).

@denelon
Copy link
Contributor

denelon commented Dec 9, 2023

Try uninstalling and reinstalling the source.
winget uninstall Microsoft.Winget.Source_8wekyb3d8bbwe
Then run winget source reset --force as an administrator.

@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. and removed Needs-Triage Issue need to be triaged labels Dec 9, 2023
@trparky
Copy link

trparky commented Dec 9, 2023

It's 0 Bytes here, the CDN is broken again.

@amnweb
Copy link

amnweb commented Dec 9, 2023

Yeah same here, two days winget does not work, it's something that shouldn't happen often, MS really should monitoring this CDN

@grubeninspekteur
Copy link

Would be great if Winget caught this error and printed something like "malformed package". Or at least print the URL it's downloading from and the number of bytes like apt update does.

@amnweb
Copy link

amnweb commented Dec 9, 2023

Or give us the option to change the mirror/source or country, because via VPN winget works now.

@BlockyTheDev
Copy link
Author

Try https://cdn.winget.microsoft.com/cache/source.msix. If it doesn't work and returns an error or downloads a file with a size of 0 Bytes (as it does for me), then it's the CDN acting up again (at least from what I've gathered looking at past issues).

File size of 0 Byte

Try uninstalling and reinstalling the source. winget uninstall Microsoft.Winget.Source_8wekyb3d8bbwe Then run winget source reset --force as an administrator.

Same error

@trparky
Copy link

trparky commented Dec 9, 2023

Yeah same here, two days winget does not work, it's something that shouldn't happen often, MS really should monitoring this CDN

I agree. This is Microsoft here, not some two-bit little company that only has four or five people working for it; this is a global company and if Microsoft expects WinGet to become nothing more than some little hobby project, they need to take it a hell of a lot more serious than they have been.

Come on Microsoft, fix this!

@MichelMichels
Copy link

Same issue here in Belgium. I don't know if this is geographically related.

@trparky
Copy link

trparky commented Dec 9, 2023

Nope, I'm in the US.

@PinkSerenity
Copy link

It's resolved on my end. Interestingly, the WinGet executable that's shipped with marticliment/WingetUI has worked all the time.

@BlockyTheDev
Copy link
Author

On my side it is fixed, too. I will leave this open as it got the label "Issue-Bug" and I think there should be done something to avoid a so long location-dependent downtime especially in such a big company and/or a better information message instead of the general message that the source couldn't be updated.

@datdeep
Copy link

datdeep commented Dec 17, 2023

You can also try the solution in the comment below if none of the other solutions work: #3652 (comment)

@amnweb
Copy link

amnweb commented Dec 17, 2023

You can also try the solution in the comment below if none of the other solutions work: #3652 (comment)

I believe here it's not a problem on our side, because this domain already resolved with the correct IP. The problem is with the CDN and cache.

@datdeep
Copy link

datdeep commented Dec 18, 2023

You can also try the solution in the comment below if none of the other solutions work: #3652 (comment)

I believe here it's not a problem on our side, because this domain already resolved with the correct IP. The problem is with the CDN and cache.

I don't know why but if I turn on WARP VPN or edit host file, everything works normally. Don't know if Microsoft add Vietnam to blocked list 🤣

@denelon
Copy link
Contributor

denelon commented Mar 6, 2024

I believe this issue has been resolved and was related to CDN issues we were having in the past.

@huyz
Copy link

huyz commented Aug 18, 2024

Hey everyone in Vietnam, try FPT instead of Viettel. The FPT connection to Microsoft's CDN works without VPN.

(I don't know about VNPT.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

9 participants