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

i think winget is broken beyond repair for me InternetOpenUrl() failed. 0x80072efd : unknown error Failed in attempting to update the source: winget #4994

Open
elvisisvan opened this issue Nov 20, 2024 · 1 comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback Issue needs attention from issue or PR author

Comments

@elvisisvan
Copy link

elvisisvan commented Nov 20, 2024

Brief description of your issue

i know, you've seen this same damn bug reported countless times but this one is different because i did my thorough research into no little amount of the same reports, hear me out:

i believe i have tried every publicly available ways to troubleshoot this without using vpn but still to no avail, winget consistently fails to update its own source;
Image

i have noticed winget runs flawlessly in a fresh installation of windows 10 21h2 but once i updated to 22h2, the moment the 22h2 install package reach 100% and conclude, winget breaks and start to show "Failed in attempting to update the source: winget" in response to any winget install command and along with that comes

An unexpected error occurred while executing the command:
InternetOpenUrl() failed.
0x80072efd : unknown error

Image

administrator powershell,
winget source reset --force; winget source update,
firewall,
SSL 3.0 + TLS 1.2,
replace source https://cdn.winget.microsoft.com/cache with https://winget.azureedge.net/cache,
ipconfig /flushdns,
troubleshoot internet connections,
update AppInstaller package in microsoft store,

i've tried it all, as of today this looks hopeless so far

Image

reference to the all sources i gathered troubleshooting methods from:
https://windowsloop.com/fix-failed-in-attempting-to-update-the-source-winget-error/#check-internet
#2956 (comment)
#566 (comment)
#1826 (comment)
#2666 (comment)

Steps to reproduce

winget intstall Microsoft.WindowsAppRuntime.1.5

Expected behavior

package Microsoft.WindowsAppRuntime.1.5 install successfully

Actual behavior

Failed in attempting to update the source: winget
An unexpected error occurred while executing the command:
InternetOpenUrl() failed.
0x80072efd : unknown error

Environment

Windows Package Manager v1.9.25200
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.5131
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.25200.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Nov 20, 2024
@mdanish-kh
Copy link
Contributor

I'm trying to see if this works: Can you manually download the source packages from https://cdn.winget.microsoft.com/cache/source2.msix, double-click to install and see if that works?

@microsoft-github-policy-service microsoft-github-policy-service bot added Issue-Bug It either shouldn't be doing this or needs an investigation. and removed Needs-Triage Issue need to be triaged labels Nov 20, 2024
@denelon denelon added the Needs-Author-Feedback Issue needs attention from issue or PR author label Nov 25, 2024
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. Needs-Author-Feedback Issue needs attention from issue or PR author
Projects
None yet
Development

No branches or pull requests

3 participants