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.5k stars 1.39k forks source link

0x8a15000f : Data required by the source is missing #4551

Closed aaamrh closed 1 week ago

aaamrh commented 1 week ago

Brief description of your issue

I buy a new computer (windows), i want to install fnm. i type the command in the powershell : winget install Schniz.fnm

but i got error: 0x8a15000f : Data required by the source is missing

Steps to reproduce

winget install Schniz.fnm

Expected behavior

success

Actual behavior

I tried a lot of ways , winget source reset --force and so on, it didn't work

Environment

Windows 程序包管理器 v1.2.10691
版权所有 (C) Microsoft Corporation。保留所有权利。

Windows: Windows.Desktop v10.0.22631.3447
程序包: Microsoft.DesktopAppInstaller v1.17.10691.0

日志: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

链接
----------------------------------------------------------------------------
隐私声明             https://aka.ms/winget-privacy
许可协议             https://aka.ms/winget-license
第三方声明           https://aka.ms/winget-3rdPartyNotice
主页                 https://aka.ms/winget
Windows 应用商店条款 https://www.microsoft.com/en-us/storedocs/terms-of-sale
stephengillie commented 1 week ago

I tried this in a VM, but couldn't replicate the issue: image

Edit: Some troubleshooting steps - do any of these sound like something that you could try in your environment?

aaamrh commented 1 week ago

I tried this in a VM, but couldn't replicate the issue: image

Edit: Some troubleshooting steps - do any of these sound like something that you could try in your environment?

Thank you for your help ! 😁

Here is the result of the command I executed.

Snipaste_2024-06-13_23-17-05

more info :

input: winget source list output:

msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget  https://winget.azureedge.net/cache

I visited the link, and I would like to see the content of this page

image

image

Trenly commented 1 week ago

@aaamrh - Have you tried updating to the latest version of WinGet? Versions of WinGet older than 1.6.3842 are no longer supported

denelon commented 1 week ago

This does look like the new computer had WinGet 1.2 and hadn't yet been updated by the Microsoft Store.

Both of the URLs are "base" URLs for the source(s). The "winget" source needs the path to the preindexed package appended, and the "msstore" source needs to be one of the endpoints to get a response.

aaamrh commented 1 week ago

@aaamrh - Have you tried updating to the latest version of WinGet? Versions of WinGet older than 1.6.3842 are no longer supported

Thank you for your help !😊

winget -v v1.7.11261

aaamrh commented 1 week ago

This does look like the new computer had WinGet 1.2 and hadn't yet been updated by the Microsoft Store.

Both of the URLs are "base" URLs for the source(s). The "winget" source needs the path to the preindexed package appended, and the "msstore" source needs to be one of the endpoints to get a response.

Thank you for your help !😊

image

whindsaks commented 1 week ago

This does look like the new computer had WinGet 1.2 and hadn't yet been updated by the Microsoft Store.

This is pretty sad because the store makes you agree to something on the command line. Anything with a script that does something like Winget install -s winget foo is just broken now on all older machines out of the box...