You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failed in attempting to update the source: winget #3525
I'm seeing the same. Here's an extract from my logs with a really weird error:
2023-09-13 14:33:55.027 [CORE] Downloading to path: C:\Users\Tim\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix
2023-09-13 14:33:55.027 [CORE] Started applying motw to C:\Users\Tim\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix with zone: 3
2023-09-13 14:33:55.028 [CORE] Finished applying motw
2023-09-13 14:33:55.028 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/source.msix
2023-09-13 14:33:55.029 [CORE] Download completed.
2023-09-13 14:33:55.029 [CORE] Starting AddPackage operation #1: file:///C:/Users/Tim/AppData/Local/Temp/WinGet/Microsoft.Winget.Source_8wekyb3d8bbwe.msix SkipSmartScreen: 1
2023-09-13 14:33:55.030 [CORE] Begin waiting for operation #1
2023-09-13 14:33:55.030 [CORE] Begin blocking for operation #1
2023-09-13 14:33:55.034 [CORE] Deployment operation #1: Common::Deployment::MsixvcStagingSession::GetManifestReader in MsixvcStagingSession failed with error 0x80070570.
2023-09-13 14:33:55.034 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FFC895B14EF: (caller: 00007FFC895B1B7F) Exception(2) tid(cdd0) 80070570 The file or directory is corrupted and unreadable.
Msg:[Operation failed: Common::Deployment::MsixvcStagingSession::GetManifestReader in MsixvcStagingSession failed with error 0x80070570.]
2023-09-13 14:33:55.042 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(671)\WindowsPackageManager.dll!00007FFC8972B49E: (caller: 00007FFC89508C2A) LogHr(2) tid(cdd0) 80070570 The file or directory is corrupted and unreadable.
Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FFC895B14EF: (caller: 00007FFC895B1B7F) Exception(2) tid(cdd0) 80070570 The file or directory is corrupted and unreadable.
Msg:[Operation failed: Common::Deployment::MsixvcStagingSession::GetManifestReader in MsixvcStagingSession failed with error 0x80070570.]
]
2023-09-13 14:33:55.042 [REPO] Failed to update source: winget
The file C:/Users/Tim/AppData/Local/Temp/WinGet/Microsoft.Winget.Source_8wekyb3d8bbwe.msix is 0B but downloading from https://cdn.winget.microsoft.com/cache/source.msix gives 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.
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.??).