Repository navigation
Open
Labels
Issue-BugIt either shouldn't be doing this or needs an investigation.
Description
Brief description of your issue
Failed in attempting to update the source: winget
when running anything
Steps to reproduce
Run a winget command
Expected behavior
No Errors
Actual behavior
Failed in attempting to update the source: winget
Environment
Windows Package Manager v1.5.2201
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22621.2134
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.20.2201.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
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 DisabledReacted by Wes Higbee and Huy Z
Activity
stephengillie commentedon Aug 17, 2023
brookst commentedon Sep 13, 2023
I'm seeing the same. Here's an extract from my logs with a really weird error:
The file
C:/Users/Tim/AppData/Local/Temp/WinGet/Microsoft.Winget.Source_8wekyb3d8bbwe.msixis 0B but downloading fromhttps://cdn.winget.microsoft.com/cache/source.msixgives an 8MB file which I assume is correct.The log seems to indicate that the source download was complete. I would have expected some kind of error with the download if it wrote zero bytes of data from the request. It looks like it just tries to parse it regardless and of course can't read anything.
g0t4 commentedon Sep 26, 2023
Sounds like there are currently CDN issues: #3652 (comment)
HenkPoley commentedon Sep 27, 2023
What resolved "Failed in attempting to update the source: winget" for me:
No clue why this is necessary. Source list remains the same:
Yes, I did run the command mention at the top here: #3652 (comment)
But I was running a more recent version anyways (1.5? 1.6.??).