Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed when searching source; results will not be included: msstore #4676

Closed
jeffwlawson opened this issue Jul 25, 2024 · 9 comments
Closed
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. msstore Issue related to "msstore" REST source
Milestone

Comments

@jeffwlawson
Copy link

Brief description of your issue

Failed when searching source; results will not be included: msstore. I tried running winget source reset --force but that did not solve the issue.

image

I notice in the log file it mentions that, "Did not find Id [9N8CNV1VCPT6] in tracked source: msstore". I tracked this down to the app PDFgear. But I'm still able to find it in the msstore and it shows as installed.

image

So I'm not exactly sure what the issue is or how to resolve it.

Steps to reproduce

Run winget upgrade

Expected behavior

Allow updating apps form the msstore

Actual behavior

Failed when searching source; results will not be included: msstore

Environment

winget --info
Windows Package Manager v1.8.1911
Windows: Windows.Desktop v10.0.22621.3880
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0
Copy link

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.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Jul 25, 2024
@yoichiozaki
Copy link

looks to same here for me...

@denelon
Copy link
Contributor

denelon commented Jul 25, 2024

Can you run the command with "--verbose-logs --logs" and share the log file when this happens?

@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. msstore Issue related to "msstore" REST source labels Jul 25, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage Issue need to be triaged label Jul 25, 2024
@denelon denelon added the Needs-Author-Feedback Issue needs attention from issue or PR author label Jul 25, 2024
@jeffwlawson
Copy link
Author

So I did a little more searching this morning and found issue #3575 where is was suggested to run the command Get-AppxPackage *appInstaller* | Reset-AppxPackage.

This seemed to fix the problem for me, although I don't really know how or why.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention Issue needs attention from Microsoft and removed Needs-Author-Feedback Issue needs attention from issue or PR author labels Jul 25, 2024
@denelon
Copy link
Contributor

denelon commented Jul 25, 2024

There is also a "repair" command in WinGet. I'd be curious if you ran into another device in this state if running winget repair Microsoft.AppInstaller would have worked.

@denelon denelon removed the Needs-Attention Issue needs attention from Microsoft label Jul 25, 2024
@jeffwlawson
Copy link
Author

If it happens again, I'll give that command a try. Thanks for your help.

@denelon denelon added this to the 1.9 Client milestone Jul 29, 2024
@mahvili
Copy link

mahvili commented Aug 8, 2024

@jacktose
Copy link

jacktose commented Aug 8, 2024

@denelon

There is also a "repair" command in WinGet. I'd be curious if you ran into another device in this state if running winget repair Microsoft.AppInstaller would have worked.

It didn't work for me (Win 10):

PS C:\Users\jacktose> winget upgrade
Failed when searching source; results will not be included: msstore
Name                   Id                 Version Available Source
------------------------------------------------------------------
Python 3.12.4 (64-bit) Python.Python.3.12 3.12.4  3.12.5    winget
1 upgrades available.
1 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.

PS C:\Users\jacktose> Get-AppxPackage *appInstaller* | Reset-AppxPackage
Reset-AppxPackage: The term 'Reset-AppxPackage' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

PS C:\Users\jacktose> winget repair Microsoft.AppInstaller
Found App Installer [Microsoft.AppInstaller]
Starting package repair...
  ▎                               1%
Repair failed with exit code: 0x80073d02 : The package could not be installed because resources it modifies are currently in use.

Edit: My fix was to uninstall (winget uninstall --id Microsoft.AppInstaller) & reinstall App Installer.

@Spongman
Copy link

winget repair isn't in the version of winget that ships with win11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. msstore Issue related to "msstore" REST source
Projects
None yet
Development

No branches or pull requests

6 participants