microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.7k stars 4.54k forks source link

Download request failed. Returned status: 404 #152915

Open denelon opened 6 months ago

denelon commented 6 months ago

We've gotten reports from users who are getting an error when they try to run any command where the manifest needs to be downloaded and it fails.

The work-around is to remove and re-add the manifest. The publishing pipeline should be able to test for this scenario to ensure the manifest has been published and the index is correctly pointing to the URL so this doesn't impact customers.

denelon commented 6 months ago

This was previously reported for Citrix.Workspace in:

I was able to get a solid reproduction today with Microsoft.Azd.

PckgrTom commented 6 months ago

What is the most efficient way to use the workaround? Do we need to fully delete the manifest, wait for it to be approved then submit again or can we modify the current manifest?

stephengillie commented 6 months ago

What is the most efficient way to use the workaround? Do we need to fully delete the manifest, wait for it to be approved then submit again or can we modify the current manifest?

The workflow that has been succesful for me:

This got Microsoft.Azd to show again, and hopefully should work for every package. I believe this is only a workaround as a larger fix is implemented.

Oddballalex36 commented 6 months ago

doing any of the steps others have done does nothing im still getting the 404 error when i try to upgrade software through winget

KitKat31337 commented 6 months ago

This is also affecting winget export

3xploiton3 commented 6 months ago

image

lucivskvn commented 5 months ago

Recently, I got this issue when try to use “winget upgrade --all

Download request status is not success. 0x80190194 : Not found (404).

I see Denelon said “The work-around is to remove and re-add the manifest” but I can't find how to do it after some reading on the

https://github.com/microsoft/winget-cli/blob/master/doc/troubleshooting/README.md#executing-winget-exits-with-no-message

I see command “winget source update” and after I use it now the issue is resolved, and I can upgrade all the package without issue (Just sharing).

danielfdickinson commented 3 months ago

FYI I did updates on some machines over the past few hours and have started seeing this error. I therefore suspect one of these has a bad manifest:

New version: Discord.Discord.Canary version 1.0.415 (https://github.com/microsoft/winget-pkgs/pull/163906[)](https://github.com/microsoft/winget-pkgs/commit/affcd3dda1ce028f4daae96ee53af37456146938) spectopo spectopo committed Jul 19, 2024 · Update: Mozilla.Firefox.DeveloperEdition version 129.0 (129.0b6) (https://github.com/microsoft/winget-pkgs/pull/163894[)](https://github.com/microsoft/winget-pkgs/commit/20c9b94e6479b3c337c225cc903b196a9e63f11f) spectopo spectopo committed Jul 19, 2024 New version: Dapr.CLI.Preview version 1.14.0-rc.6 (https://github.com/microsoft/winget-pkgs/pull/163908[)](https://github.com/microsoft/winget-pkgs/commit/31e02ae7402f64c86cbe07d6b7aa2ce958575c34) dapr-bot dapr-bot committed Jul 19, 2024 · New version: Microsoft.EdgeDriver version 126.0.2592.113 (https://github.com/microsoft/winget-pkgs/pull/163889[)](https://github.com/microsoft/winget-pkgs/commit/0afe80c3cde4db772d658472f8a6424ec2a74322) spectopo spectopo committed Jul 19, 2024 · New version: Google.Chrome.Canary version 128.0.6606.0 (https://github.com/microsoft/winget-pkgs/pull/163904[)](https://github.com/microsoft/winget-pkgs/commit/fff5fb762fdb4773ae587e3bdfce1ecd5033a857) spectopo spectopo committed Jul 19, 2024 New version: Discord.Discord.Development version 1.0.868 (https://github.com/microsoft/winget-pkgs/pull/163903[)](https://github.com/microsoft/winget-pkgs/commit/dc0f48b081a17d473e4e7b55e46fc15a9cd14170) spectopo spectopo committed Jul 19, 2024 Automatic deletion of AdGuard.AdGuard.Nightly 7.18.4780.0 (https://github.com/microsoft/winget-pkgs/pull/163902[)](https://github.com/microsoft/winget-pkgs/commit/23755e64c8e1b9854dce27b7a7187b63d916bcdf) wingetbot wingetbot committed Jul 19, 2024 Update okibcn.nano version 7.2-22.1 (https://github.com/microsoft/winget-pkgs/pull/163901[)](https://github.com/microsoft/winget-pkgs/commit/d8154101c7b95326d6e337bb8bb83c3c9804aa64) RoscoP RoscoP committed Jul 19, 2024 New version: Discord.Discord.Development version 1.0.867 (https://github.com/microsoft/winget-pkgs/pull/163897[)](https://github.com/microsoft/winget-pkgs/commit/5665ef62feb42d043e2a08ff9d5b6cfc93438e09) spectopo spectopo committed Jul 19, 2024 New version: EclipseAdoptium.Temurin.22.JRE version 22.0.2.9 (https://github.com/microsoft/winget-pkgs/pull/163898[)](https://github.com/microsoft/winget-pkgs/commit/727bdfc93fa5c466f545785970c054d672394bc4) spectopo spectopo committed Jul 19, 2024 New version: binjr.core-x64 version 3.19.0 (https://github.com/microsoft/winget-pkgs/pull/163900[)](https://github.com/microsoft/winget-pkgs/commit/bf9303ce89e3f246c8f0ed84ff32e511e6cb6ba4) binjr-bot binjr-bot committed Jul 19, 2024 New version: EclipseAdoptium.Temurin.22.JDK version 22.0.2.9 (https://github.com/microsoft/winget-pkgs/pull/163899[)](https://github.com/microsoft/winget-pkgs/commit/0e9497b1890568571826201f17586a702bd28181) spectopo spectopo committed Jul 19, 2024 New version: Ryujinx.Ryujinx version 1.1.1354 (https://github.com/microsoft/winget-pkgs/pull/163895[)](https://github.com/microsoft/winget-pkgs/commit/53380e6aff8f16ddba69b1a09c33e241849d8bb0) Exorcism0666 Exorcism0666 committed Jul 19, 2024 New version: Streamlink.Streamlink version 6.8.3-1 (https://github.com/microsoft/winget-pkgs/pull/163890[)](https://github.com/microsoft/winget-pkgs/commit/3db6650a868f4a919ff89065286007c0c9e6d4c5) fancybody fancybody committed Jul 19, 2024 New version: AdGuard.dnsproxy version 0.72.1 (https://github.com/microsoft/winget-pkgs/pull/163892[)](https://github.com/microsoft/winget-pkgs/commit/b510cef3f639c0d61c36bf508e4578debd438e16) damn-good-b0t damn-good-b0t committed Jul 19, 2024 New version: Ryujinx.Ryujinx.Ava version 1.1.1354 (https://github.com/microsoft/winget-pkgs/pull/163896[)](https://github.com/microsoft/winget-pkgs/commit/d74c09cc1fa4b6b11df8c7ea187b265fd6c42ca7) Exorcism0666 Exorcism0666 committed Jul 19, 2024 New version: Brave.Brave.Nightly version 127.1.70.6 (https://github.com/microsoft/winget-pkgs/pull/163888[)](https://github.com/microsoft/winget-pkgs/commit/83c0297297cd55467e240185c0a36ba4bd640fc1) spectopo spectopo committed Jul 19, 2024 New version: Fork.Fork version 1.99.3 (https://github.com/microsoft/winget-pkgs/pull/163891[)](https://github.com/microsoft/winget-pkgs/commit/29d4410dcdfe221fa8e883aa7af7e97095753038) damn-good-b0t damn-good-b0t committed Jul 19, 2024 Add Stoplight.Prism 5.11.0 (https://github.com/microsoft/winget-pkgs/pull/163885[)](https://github.com/microsoft/winget-pkgs/commit/c4a9deddae10d3e499aca26bfb5413afc293eee3) rodrigoborgesdeoliveira rodrigoborgesdeoliveira committed Jul 19, 2024 Add version: Coder.Coder version 2.12.4 (https://github.com/microsoft/winget-pkgs/pull/163882[)](https://github.com/microsoft/winget-pkgs/commit/233c3de18158eb4b78e03b75c1b91f3b4f605ac2) cdrci cdrci committed Jul 19, 2024 New version: WestWind.MarkdownMonster version 3.3.15.0 (https://github.com/microsoft/winget-pkgs/pull/163858[)](https://github.com/microsoft/winget-pkgs/commit/a7dc0ed0a554d3b245c0dfe885607e9009ced0dc) aisgbnokstephengillie aisgbnok and stephengillie committed Jul 19, 2024 New version: OpenJS.NodeJS version 22.5.1 (https://github.com/microsoft/winget-pkgs/pull/163876[)](https://github.com/microsoft/winget-pkgs/commit/a941c771d3b7f082e4a9bbff9a5cf986bcd13443) aisgbnok aisgbnok committed Jul 19, 2024 ·

danielfdickinson commented 3 months ago

Note that the error (for me) is only occurring with winget update --scope machine --all as an administrator. winget update --all as a standard user works (with UAC prompting for the machine scoped packages).

I did notice that winget update --scope machine showed gnupg.gnupg where winget update does not.

RoscoP commented 3 months ago

No background on this bug, just saw it referenced on my PR. For my PR, I added a new manifest (with a more correct version 7.2-22.1) that has the same download urls as the old manifest. I also removed the old manifest (7.2) in the PR. Maybe that can help narrow down a repro case. ID: okibcn.nano #163901