microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
22.54k stars 1.39k forks source link

Download request status is not success. #4440

Open 3xploiton3 opened 1 month ago

3xploiton3 commented 1 month ago

Brief description of your issue

winget upgrade failed

Steps to reproduce

winget upgrade --all

Expected behavior

success

Actual behavior

An unexpected error occurred while executing the command: Download request status is not success. 0x80190194 : Not found (404).

image

Environment

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

Windows: Windows.Desktop v10.0.22621.3527
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.11132.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
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
github-actions[bot] commented 1 month ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

latexalpha commented 1 month ago

I encounered this problem after the upgradation of winget-cli.

denelon commented 1 month ago

Can you share the logs for this? I'm not able to determine if it was the cache or an individual package.

3xploiton3 commented 1 month ago

WinGet-2024-05-03-17-16-23.314.log WinGetCOM-2024-05-03-16-32-05.815.log

mdanish-kh commented 1 month ago

I'm seeing it with some other packages as well. One user reported a similar case with PackageID IDMComputerSolutions,Inc.UltraEdit in https://github.com/microsoft/winget-pkgs/issues/152059

KnifMelti commented 1 month ago

I'm seeing it with some other packages as well. One user reported a similar case with PackageID IDMComputerSolutions,Inc.UltraEdit in microsoft/winget-pkgs#152059

And in my case this seems to be a flaw of winget export -o https://github.com/microsoft/winget-pkgs/issues/152059#issuecomment-2093417362

denelon commented 1 month ago

The error seems to have been downloading the Grammarly manifest.

Can you update the PreIndexed package and still reproduce this error?

Run winget source update and then run winget upgrade --all again?

horihiro commented 1 month ago

I also saw this error, but the following steps didn't resolve this.

Run winget source update and then run winget upgrade --all again?

In my case, Clink@v1.6.13's manifest cannot be downloaded according to the following winget's log

2024-05-07 10:38:12.683 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/c/chrisant996/Clink/1.6.13/acb0 2024-05-07 10:38:13.252 [CORE] Download request failed. Returned status: 404 2024-05-07 10:38:13.252 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(148)\WindowsPackageManager.dll!00007FFDC49E8767: (caller: 00007FFDC4B6E797) Exception(24) tid(3b14) 80190194 見つかりません (404)。 Msg:[Download request status is not success.]

After upgrading the Clink to 1.6.13 manually, this issue was resolved.

mazansm commented 1 month ago

winget upgrade --all was failing for me also.

The below info for clink resolved my issues as well.

Thanks!

I also saw this error, but the following steps didn't resolve this.

Run winget source update and then run winget upgrade --all again?

In my case, Clink@v1.6.13's manifest cannot be downloaded according to the following winget's log

2024-05-07 10:38:12.683 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/c/chrisant996/Clink/1.6.13/acb0 2024-05-07 10:38:13.252 [CORE] Download request failed. Returned status: 404 2024-05-07 10:38:13.252 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(148)\WindowsPackageManager.dll!00007FFDC49E8767: (caller: 00007FFDC4B6E797) Exception(24) tid(3b14) 80190194 見つかりません (404)。 Msg:[Download request status is not success.]

After upgrading the Clink to 1.6.13 manually, this issue was resolved.

jbrown9100 commented 1 month ago

I am receiving the exact same issue. I don't know if it is related but I cannot update anything in the Windows Store either. I don't see anything meaningful in my system logs.

denelon commented 1 month ago

This appears to be an issue with our publishing pipelines:

denelon commented 1 month ago

We should also improve the error message so the user can tell what failed in the CLI rather than a "generic" 404.

horihiro commented 1 month ago

We should also improve the error message so the user can tell what failed in the CLI rather than a "generic" 404.

@denelon And it's better upgrading for other packages is not blocked by this issue for the certain package.

csvn commented 1 month ago

I got the same error when updating a single package. Trying to upgrade v1.43.3 to v1.43.4. Running winget source update did not help.

winget upgrade --id DenoLand.Deno
An unexpected error occurred while executing the command:
Download request status is not success.
0x80190194 : Not found (404).