microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.51k stars 4.4k forks source link

[Package Issue]: Telerik.Fiddler.Everywhere.Insiders - No installed package found matching input criteria. #67570

Open mdanish-kh opened 2 years ago

mdanish-kh commented 2 years ago

Please confirm these before moving forward

Category of the issue

Installation issue.

Brief description of your issue

Winget believes Telerik.Fiddler.Everywhere.Insiders is not installed when it is.

What I Did

Telerik.Fiddler.Everywhere.Insiders was previously getting updated to Telerik.Fiddler.Everywhere latest version when using winget upgrade --all instead of the latest insiders version. I added ARP entries for each of the Telerik.Fiddler.Everywhere.Insiders packages in PRs from #67415 to #67434. Now, after adding the appropriate ARP entries, Winget returns No installed package found matching input criteria. message on the command winget upgrade Telerik.Fiddler.Everywhere.Insiders when the package is installed on my machine and an update exists for the same package.

Steps to reproduce

  1. Install Fiddler Everywhere Insiders old release by winget install Telerik.Fiddler.Everywhere.Insiders --version 1.1.0-insiders
  2. Upgrade Fiddler Everywhere to latest 3.3.1-insiders release by winget upgrade Telerik.Fiddler.Everywhere.Insiders
 ~ winget install Telerik.Fiddler.Everywhere.Insiders --version 1.1.0-insiders
Found Fiddler Everywhere Insiders [Telerik.Fiddler.Everywhere.Insiders] Version 1.1.0-insiders
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://downloads.getfiddler.com/win/Fiddler%20Everywhere%201.1.0-insiders.exe
  ██████████████████████████████  89.5 MB / 89.5 MB
Successfully verified installer hash
Starting package install...
Successfully installed
 ~ winget upgrade Telerik.Fiddler.Everywhere.Insiders
No installed package found matching input criteria.
 ~

Actual behavior

No installed package found matching input criteria.

Expected behavior

1.1.0-insiders getting updated to latest 3.3.1-insiders release.

Environment

Windows Package Manager (Preview) v1.3.431-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19044.1826
Package: Microsoft.DesktopAppInstaller v1.18.431.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

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

Screenshots and Logs

Control Panel

image

Winget

~ winget upgrade Telerik.Fiddler.Everywhere.Insiders
No installed package found matching input criteria.

Winget list output

 ~ winget list
Name                                    Id                                                  Version             Source
-----------------------------------------------------------------------------------------------------------------------
MSI Viewer                              40885WilliamKent2015.MSIViewer_vv14yhe95nw30        2.0.1.0
Fiddler Everywhere 1.1.0-insiders       8652495b-663c-5255-8c97-412896fbef82                1.1.0-insiders
Disney+                                 Disney.37853FC22B2CE_6rarf9sa4v8jt                  1.33.1.0
Git                                     Git.Git                                             2.37.1              winget
Microsoft Edge                          Microsoft.Edge                                      103.0.1264.71       winget
Microsoft Edge Update                   Microsoft Edge Update                               1.3.165.21
Microsoft Edge WebView2 Runtime         Microsoft.EdgeWebView2Runtime                       103.0.1264.71       winget
Cortana                                 Microsoft.549981C3F5F10_8wekyb3d8bbwe               4.2204.13303.0
MSN Weather                             Microsoft.BingWeather_8wekyb3d8bbwe                 4.53.41681.0
App Installer                           Microsoft.DesktopAppInstaller_8wekyb3d8bbwe         1.18.431.0
Get Help                                Microsoft.GetHelp_8wekyb3d8bbwe                     10.2204.1222.0
Microsoft Tips                          Microsoft.Getstarted_8wekyb3d8bbwe                  10.2205.0.0
HEIF Image Extensions                   Microsoft.HEIFImageExtension_8wekyb3d8bbwe          1.0.43012.0
Paint 3D                                Microsoft.MSPaint_8wekyb3d8bbwe                     6.2203.1037.0
3D Viewer                               Microsoft.Microsoft3DViewer_8wekyb3d8bbwe           7.2107.7012.0
Microsoft Edge                          Microsoft.MicrosoftEdge.Stable_8wekyb3d8bbwe        103.0.1264.71
Office                                  Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe          18.2205.1091.0
Microsoft Solitaire Collection          Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bb… 4.13.7040.0
Microsoft Sticky Notes                  Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe        4.5.5.0
Mixed Reality Portal                    Microsoft.MixedReality.Portal_8wekyb3d8bbwe         2000.21051.1282.0
OneNote for Windows 10                  Microsoft.Office.OneNote_8wekyb3d8bbwe              16001.14326.21066.0
Microsoft People                        Microsoft.People_8wekyb3d8bbwe                      10.2105.4.0
Snip & Sketch                           Microsoft.ScreenSketch_8wekyb3d8bbwe                10.2008.2277.0
Skype                                   Microsoft.SkypeApp_kzf8qxf38zg5c                    15.86.3409.0
Store Experience Host                   Microsoft.StorePurchaseApp_8wekyb3d8bbwe            12203.44.0.0
VP9 Video Extensions                    Microsoft.VP9VideoExtensions_8wekyb3d8bbwe          1.0.51171.0
Microsoft Pay                           Microsoft.Wallet_8wekyb3d8bbwe                      2.4.18324.0
Web Media Extensions                    Microsoft.WebMediaExtensions_8wekyb3d8bbwe          1.0.42192.0
Webp Image Extensions                   Microsoft.WebpImageExtension_8wekyb3d8bbwe          1.0.42351.0
Microsoft Photos                        Microsoft.Windows.Photos_8wekyb3d8bbwe              2022.30060.30007.0
Windows Clock                           Microsoft.WindowsAlarms_8wekyb3d8bbwe               11.2205.23.0
Windows Calculator                      Microsoft.WindowsCalculator_8wekyb3d8bbwe           10.2103.8.0
Windows Camera                          Microsoft.WindowsCamera_8wekyb3d8bbwe               2021.105.10.0
Feedback Hub                            Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe          1.2203.761.0
Windows Maps                            Microsoft.WindowsMaps_8wekyb3d8bbwe                 10.2104.2.0
Windows Voice Recorder                  Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe        10.2103.28.0
Microsoft Store                         Microsoft.WindowsStore_8wekyb3d8bbwe                22205.1401.13.0
Windows Terminal                        Microsoft.WindowsTerminal                           1.14.1962.0         winget
Windows Package Manager Source (winget) Microsoft.Winget.Source_8wekyb3d8bbwe               2022.726.1706.610
Xbox TCUI                               Microsoft.Xbox.TCUI_8wekyb3d8bbwe                   1.24.10001.0
Xbox Console Companion                  Microsoft.XboxApp_8wekyb3d8bbwe                     48.89.25001.0
Xbox Game Bar Plugin                    Microsoft.XboxGameOverlay_8wekyb3d8bbwe             1.54.4001.0
Xbox Game Bar                           Microsoft.XboxGamingOverlay_8wekyb3d8bbwe           5.822.6271.0
Xbox Identity Provider                  Microsoft.XboxIdentityProvider_8wekyb3d8bbwe        12.90.14001.0
Xbox Game Speech Window                 Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe     1.21.13002.0
Phone Link                              Microsoft.YourPhone_8wekyb3d8bbwe                   1.22052.553.0
Groove Music                            Microsoft.ZuneMusic_8wekyb3d8bbwe                   10.22031.10091.0
Movies & TV                             Microsoft.ZuneVideo_8wekyb3d8bbwe                   10.22041.10091.0
Mozilla Firefox                         Mozilla.Firefox                                     102.0.1             winget
Mozilla Maintenance Service             MozillaMaintenanceService                           102.0.1
Oh My Posh                              JanDeDobbeleer.OhMyPosh                             8.22.1              winget
Spotify Music                           SpotifyAB.SpotifyMusic_zpdnekdrzrea0                1.190.859.0

Package versions

 ~ winget show Telerik.Fiddler.Everywhere.Insiders --versions
Found Fiddler Everywhere Insiders [Telerik.Fiddler.Everywhere.Insiders]
Version
--------------
3.3.1-insiders
3.3.0-insiders
3.2.1-insiders
3.2.0-insiders
3.1.1-insiders
3.1.0-insiders
3.0.1-insiders
2.0.3-insiders
2.0.2-insiders
1.6.1-insiders
1.6.0-insiders
1.5.1-insiders
1.5.0-insiders
1.4.1-insiders
1.4.0-insiders
1.3.0-insiders
1.2.1-insiders
1.2.0-insiders
1.1.1-insiders
1.1.0-insiders
denelon commented 2 years ago

@mdanish-kh can you run winget upgrade Telerik.Fiddler.Everywhere.Insiders --verbose-logs and share the log file output. I'm curious if it's a user vs. machine thing or if it's something else. I see the AppsAndFeatures entries in the oldest and latest manifests, so I'm not sure what's happening in this case. I also noticed there are no AppsAndFeatures entries in the non-insider versions, but that shouldn't be causing the problem.

Also, are you running in user mode or administrator mode when running the commands?

mdanish-kh commented 2 years ago

@mdanish-kh can you run winget upgrade Telerik.Fiddler.Everywhere.Insiders --verbose-logs and share the log file output. I'm curious if it's a user vs. machine thing or if it's something else. I see the AppsAndFeatures entries in the oldest and latest manifests, so I'm not sure what's happening in this case. I also noticed there are no AppsAndFeatures entries in the non-insider versions, but that shouldn't be causing the problem.

Also, are you running in user mode or administrator mode when running the commands?

As the log file is quite lengthy, I'll upload it as a file instead of pasting it as text.

Log file

WinGet-2022-07-27-00-24-09.025.log

I ran the above commands in user mode. However, repeating the same steps in administrator mode after uninstalling the package didn't help either. image

Trenly commented 2 years ago

I wonder if its because of the ProductCode. The release version and Insiders version both use the same product code. Granted the release version doesn’t have the product code specified, it could be something weird like that

OfficialEsco commented 2 years ago

I currently cannot test this as Sandbox won't cooperate 🤬 WindowsSandboxClient_cHcpeC8LZU

However from the winget list mdanish-kh shared it seems like the package is not even detected I can't recall, but do we have a package with the same DisplayName schema?

Branch Field Value
Stable PackageName Fiddler Everywhere
Insider PackageName Fiddler Everywhere Insider
Stable ARP DisplayName Fiddler Everywhere 3.3.1
Insider ARP DisplayName Fiddler Everywhere 1.1.0-insiders

In theory both Packages should match Telerik.Fiddler.Everywhere UNLESS a exact match by the ARP fields. The question is, did the ARP ProductCode cause a conflict with the PackageName matching with Telerik.Fiddler.Everywhere while the ARP ProductCode matched with Telerik.Fiddler.Everywhere.Insiders?

Oh and there is another issue, they cannot be installed side by side since they both install to %LocalAppData%\Programs\Fiddler Everywhere, so maybe this is a job for Channel in the future?

mdanish-kh commented 1 year ago

@denelon - Is this issue somehow related to https://github.com/microsoft/winget-cli-restsource/issues/166 ?

denelon commented 1 year ago

That's not likely unless you have added a REST source with a manifest that isn't matching. The default "winget" source is a PreIndexed package and not a REST source.