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

[Package Issue]: Electrum.Electrum #94840

Closed
2 tasks done
w3lld0ne opened this issue Jan 27, 2023 · 16 comments
Closed
2 tasks done

[Package Issue]: Electrum.Electrum #94840

w3lld0ne opened this issue Jan 27, 2023 · 16 comments
Labels
Area-External Installer-Issue Issue with the package's installer. Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@w3lld0ne
Copy link
Contributor

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

No applicable update found.

Brief description of your issue

Problem:
image

Please note that Electrum was initially installed via their site, not via WinGet.

Steps to reproduce

Install Electrum v4.3.1 from their site and try to update it via WinGet.

Actual behavior

"No applicable upgrade found." message displayed.

Expected behavior

Package has been updated.

Environment

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

Windows: Windows.Desktop v10.0.19045.2486
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

Screenshots and Logs

2023-01-27 22:10:02.842 [CORE] WinGet, version [1.4.10173], activity [{7C9341D2-AE8A-4A82-A5DB-9882988C2B66}]
2023-01-27 22:10:02.843 [CORE] OS: Windows.Desktop v10.0.19045.2486
2023-01-27 22:10:02.843 [CORE] Command line Args: "C:\Users\user\AppData\Local\Microsoft\WindowsApps\winget.exe" update Electrum.Electrum
2023-01-27 22:10:02.843 [CORE] Package: Microsoft.DesktopAppInstaller v1.19.10173.0
2023-01-27 22:10:02.843 [CORE] IsCOMCall:0; Caller: winget-cli
2023-01-27 22:10:02.845 [CLI ] WinGet invoked with arguments: 'update' 'Electrum.Electrum'
2023-01-27 22:10:02.845 [CLI ] Found subcommand: update
2023-01-27 22:10:02.845 [CLI ] Leaf command to execute: root:upgrade
2023-01-27 22:10:02.848 [CLI ] Executing command: upgrade
2023-01-27 22:10:02.849 [REPO] GetCurrentSourceRefs: Source named 'microsoft.builtin.desktop.frameworks' from origin Default is hidden and is dropped.
2023-01-27 22:10:02.849 [REPO] Default source requested, multiple sources available, adding all to source references.
2023-01-27 22:10:02.849 [REPO] Adding to source references msstore
2023-01-27 22:10:02.849 [REPO] Adding to source references winget
2023-01-27 22:10:02.849 [REPO] Source past auto update time [5 mins]; it has been at least 12 mins
2023-01-27 22:10:02.850 [REPO] Source past auto update time [5 mins]; it has been at least 12 mins
2023-01-27 22:10:03.091 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2023-01-27 22:10:03.092 [CORE] Found matching extension.
2023-01-27 22:10:03.095 [CORE] Downloading to path: C:\Users\user\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix
2023-01-27 22:10:03.095 [CORE] Started applying motw to C:\Users\user\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix with zone: 3
2023-01-27 22:10:03.096 [CORE] Finished applying motw
2023-01-27 22:10:03.096 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/source.msix
2023-01-27 22:10:03.773 [CORE] Download completed.
2023-01-27 22:10:03.774 [CORE] Starting AddPackage operation #0: file:///C:/Users/user/AppData/Local/Temp/WinGet/Microsoft.Winget.Source_8wekyb3d8bbwe.msix SkipSmartScreen: 1
2023-01-27 22:10:03.774 [CORE] Begin waiting for operation #0
2023-01-27 22:10:03.774 [CORE] Begin blocking for operation #0
2023-01-27 22:10:04.356 [CORE] Successfully completed #0
2023-01-27 22:10:04.362 [REPO] Multiple sources available, creating aggregated source.
2023-01-27 22:10:04.362 [REPO] Adding to aggregated source: msstore
2023-01-27 22:10:04.362 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2023-01-27 22:10:05.102 [REPO] Response status: 200
2023-01-27 22:10:05.102 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2023-01-27 22:10:05.146 [REPO] Response status: 200
2023-01-27 22:10:05.146 [REPO] Adding to aggregated source: winget
2023-01-27 22:10:05.151 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2023-01-27 22:10:05.151 [CORE] Found matching extension.
2023-01-27 22:10:05.164 [REPO] Opening SQLite Index for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2023.127.2100.984_neutral__8wekyb3d8bbwe\Public\index.db'
2023-01-27 22:10:05.164 [SQL ] Opening SQLite connection #1: 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2023.127.2100.984_neutral__8wekyb3d8bbwe\Public\index.db' [1, 40]
2023-01-27 22:10:05.165 [REPO] Opened SQLite Index with version [1.6], last write [2023-01-27 21:59:19.000]
2023-01-27 22:10:05.195 [REPO] Creating PredefinedInstalledSource with filter [None]
2023-01-27 22:10:05.195 [REPO] Creating new SQLite Index [4294967295.4294967295] at ':memory:'
2023-01-27 22:10:05.195 [SQL ] Opening SQLite connection #2: ':memory:' [6, 0]
2023-01-27 22:10:05.226 [REPO] Reading MSI UpgradeCodes
2023-01-27 22:10:05.238 [REPO] Examining ARP entries for Machine | X64
2023-01-27 22:10:05.285 [REPO] Examining ARP entries for Machine | X86
2023-01-27 22:10:05.340 [REPO] Reading MSI UpgradeCodes
2023-01-27 22:10:05.351 [REPO] Examining ARP entries for User | X64
2023-01-27 22:10:05.566 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\user\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2023-01-27 22:10:05.566 [SQL ] Opening SQLite connection #3: 'C:\Users\user\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db' [2, 0]
2023-01-27 22:10:05.567 [REPO] Opened SQLite Index with version [1.5], last write [2023-01-09 02:44:18.000]
2023-01-27 22:10:05.596 [REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch
2023-01-27 22:10:05.640 [REPO] Response status: 200
2023-01-27 22:10:05.643 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\user\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2023-01-27 22:10:05.643 [SQL ] Opening SQLite connection #4: 'C:\Users\user\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db' [2, 0]
2023-01-27 22:10:05.644 [REPO] Opened SQLite Index with version [1.5], last write [2023-01-27 21:57:33.000]
2023-01-27 22:10:05.693 [CLI ] Found one app. App id: Electrum.Electrum App name: Electrum
2023-01-27 22:10:05.694 [REPO] Downloading manifest
2023-01-27 22:10:05.694 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/e/Electrum/Electrum/4.3.3/8dd6-Electrum.Electrum.yaml
2023-01-27 22:10:06.274 [CORE] Download hash: 097027a95337e6114374c16f1ee4c92be9ff20273284d6a1f1fb271a3492f3cb
2023-01-27 22:10:06.274 [CORE] Download completed.
2023-01-27 22:10:06.274 [CLI ] Starting installer selection.
2023-01-27 22:10:06.274 [CLI ] Installer [X86,nullsoft,Machine,] not applicable: Installer scope does not match currently installed scope: Machine != User
2023-01-27 22:10:06.275 [REPO] Downloading manifest
2023-01-27 22:10:06.275 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/e/Electrum/Electrum/4.3.2/0917-Electrum.Electrum.yaml
2023-01-27 22:10:06.833 [CORE] Download hash: 19252d2611d12060e12ea82cf9317d5e81a434c5f5617f8303e96c6676e6a977
2023-01-27 22:10:06.833 [CORE] Download completed.
2023-01-27 22:10:06.833 [CLI ] Starting installer selection.
2023-01-27 22:10:06.833 [CLI ] Installer [X86,nullsoft,Machine,] not applicable: Installer scope does not match currently installed scope: Machine != User
2023-01-27 22:10:06.838 [CLI ] Terminating context: 0x8a15002b at D:\a_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\UpdateFlow.cpp:87

@w3lld0ne w3lld0ne added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Jan 27, 2023
@ghost ghost added the Needs-Triage This work item needs to be triaged by a member of the core team. label Jan 27, 2023
@mdanish-kh
Copy link
Contributor

mdanish-kh commented Jan 27, 2023

2023-01-27 22:10:06.833 [CLI ] Installer [X86,nullsoft,Machine,] not applicable: Installer scope does not match currently installed scope: Machine != User

This tells me it's a scope related issue. Tested some versions of Electrum, none of them install in machine scope for me. Changing scope to user may be the fix here.

Edit: Nvm it does install in machine scope but I couldn't see the ARP entries in Control Panel for other users

@w3lld0ne
Copy link
Contributor Author

2023-01-27 22:10:06.833 [CLI ] Installer [X86,nullsoft,Machine,] not applicable: Installer scope does not match currently installed scope: Machine != User

Realized I should append "--scope Machine" (although this is very unintuitive as no message in the cmd hints about this), so tried to invoke winget update Electrum.Electrum --scope Machine now, however "No installed package found matching input criteria." error is returned and new logs are here:

2023-01-27 22:17:31.291 [CORE] WinGet, version [1.4.10173], activity [{950F99AC-32E9-4433-8193-100EC3C5EC86}]
2023-01-27 22:17:31.291 [CORE] OS: Windows.Desktop v10.0.19045.2486
2023-01-27 22:17:31.291 [CORE] Command line Args: "C:\Users\user\AppData\Local\Microsoft\WindowsApps\winget.exe" update Electrum.Electrum --scope Machine
2023-01-27 22:17:31.291 [CORE] Package: Microsoft.DesktopAppInstaller v1.19.10173.0
2023-01-27 22:17:31.291 [CORE] IsCOMCall:0; Caller: winget-cli
2023-01-27 22:17:31.293 [CLI ] WinGet invoked with arguments: 'update' 'Electrum.Electrum' '--scope' 'Machine'
2023-01-27 22:17:31.293 [CLI ] Found subcommand: update
2023-01-27 22:17:31.293 [CLI ] Leaf command to execute: root:upgrade
2023-01-27 22:17:31.297 [CLI ] Executing command: upgrade
2023-01-27 22:17:31.297 [REPO] GetCurrentSourceRefs: Source named 'microsoft.builtin.desktop.frameworks' from origin Default is hidden and is dropped.
2023-01-27 22:17:31.297 [REPO] Default source requested, multiple sources available, adding all to source references.
2023-01-27 22:17:31.297 [REPO] Adding to source references msstore
2023-01-27 22:17:31.297 [REPO] Adding to source references winget
2023-01-27 22:17:31.297 [REPO] Multiple sources available, creating aggregated source.
2023-01-27 22:17:31.297 [REPO] Adding to aggregated source: msstore
2023-01-27 22:17:31.297 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2023-01-27 22:17:32.107 [REPO] Response status: 200
2023-01-27 22:17:32.107 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2023-01-27 22:17:32.153 [REPO] Response status: 200
2023-01-27 22:17:32.153 [REPO] Adding to aggregated source: winget
2023-01-27 22:17:32.161 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2023-01-27 22:17:32.161 [CORE] Found matching extension.
2023-01-27 22:17:32.173 [REPO] Opening SQLite Index for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2023.127.2100.984_neutral__8wekyb3d8bbwe\Public\index.db'
2023-01-27 22:17:32.173 [SQL ] Opening SQLite connection #1: 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2023.127.2100.984_neutral__8wekyb3d8bbwe\Public\index.db' [1, 40]
2023-01-27 22:17:32.173 [REPO] Opened SQLite Index with version [1.6], last write [2023-01-27 21:59:19.000]
2023-01-27 22:17:32.461 [REPO] Creating PredefinedInstalledSource with filter [Machine]
2023-01-27 22:17:32.461 [REPO] Creating new SQLite Index [4294967295.4294967295] at ':memory:'
2023-01-27 22:17:32.461 [SQL ] Opening SQLite connection #2: ':memory:' [6, 0]
2023-01-27 22:17:32.493 [REPO] Reading MSI UpgradeCodes
2023-01-27 22:17:32.505 [REPO] Examining ARP entries for Machine | X64
2023-01-27 22:17:32.552 [REPO] Examining ARP entries for Machine | X86
2023-01-27 22:17:32.649 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(1) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.649 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.Wallet_8wekyb3d8bbwe
2023-01-27 22:17:32.651 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(2) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.651 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.Print3D_8wekyb3d8bbwe
2023-01-27 22:17:32.652 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(3) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.652 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe
2023-01-27 22:17:32.654 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(4) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.654 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.Xbox.TCUI_8wekyb3d8bbwe
2023-01-27 22:17:32.655 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(5) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.655 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe
2023-01-27 22:17:32.657 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(6) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.657 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.BingWeather_8wekyb3d8bbwe
2023-01-27 22:17:32.658 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(7) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.658 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.SkypeApp_kzf8qxf38zg5c
2023-01-27 22:17:32.660 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(8) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.660 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.Office.OneNote_8wekyb3d8bbwe
2023-01-27 22:17:32.661 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(9) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.661 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.XboxGameOverlay_8wekyb3d8bbwe
2023-01-27 22:17:32.663 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(10) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.663 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for microsoft.windowscommunicationsapps_8wekyb3d8bbwe
2023-01-27 22:17:32.664 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(11) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.664 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for 9426MICRO-STARINTERNATION.DragonCenter_kzh8wxbdkxb8p
2023-01-27 22:17:32.666 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(12) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.666 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.ScreenSketch_8wekyb3d8bbwe
2023-01-27 22:17:32.668 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(13) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.668 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.WindowsCamera_8wekyb3d8bbwe
2023-01-27 22:17:32.669 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(14) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.669 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe
2023-01-27 22:17:32.671 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(15) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.671 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.MixedReality.Portal_8wekyb3d8bbwe
2023-01-27 22:17:32.672 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(16) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.672 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.People_8wekyb3d8bbwe
2023-01-27 22:17:32.674 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(17) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.674 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.WebMediaExtensions_8wekyb3d8bbwe
2023-01-27 22:17:32.675 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(18) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.676 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.Microsoft3DViewer_8wekyb3d8bbwe
2023-01-27 22:17:32.681 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(19) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.681 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.MSPaint_8wekyb3d8bbwe
2023-01-27 22:17:32.682 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(20) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.682 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe
2023-01-27 22:17:32.684 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(21) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.684 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.Getstarted_8wekyb3d8bbwe
2023-01-27 22:17:32.686 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(22) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.686 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.ZuneMusic_8wekyb3d8bbwe
2023-01-27 22:17:32.687 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(23) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.687 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.549981C3F5F10_8wekyb3d8bbwe
2023-01-27 22:17:32.689 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(24) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.689 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.XboxApp_8wekyb3d8bbwe
2023-01-27 22:17:32.697 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(25) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.697 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.GetHelp_8wekyb3d8bbwe
2023-01-27 22:17:32.699 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(26) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.699 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.ZuneVideo_8wekyb3d8bbwe
2023-01-27 22:17:32.700 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(27) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.700 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.StorePurchaseApp_8wekyb3d8bbwe
2023-01-27 22:17:32.702 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(28) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.702 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe
2023-01-27 22:17:32.703 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(29) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.703 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.XboxIdentityProvider_8wekyb3d8bbwe
2023-01-27 22:17:32.705 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(30) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.705 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.XboxGamingOverlay_8wekyb3d8bbwe
2023-01-27 22:17:32.707 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(31) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.707 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.WindowsCalculator_8wekyb3d8bbwe
2023-01-27 22:17:32.710 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(32) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.710 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.WindowsAlarms_8wekyb3d8bbwe
2023-01-27 22:17:32.711 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(33) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.711 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.WindowsMaps_8wekyb3d8bbwe
2023-01-27 22:17:32.713 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(34) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.713 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.Windows.Photos_8wekyb3d8bbwe
2023-01-27 22:17:32.716 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(35) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.716 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.YourPhone_8wekyb3d8bbwe
2023-01-27 22:17:32.718 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(36) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.718 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe
2023-01-27 22:17:32.719 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(37) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.719 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.WindowsStore_8wekyb3d8bbwe
2023-01-27 22:17:32.721 [FAIL] WindowsPackageManager.dll!00007FFDDFBE249D: LogHr(38) tid(21e8) 80070490 Element not found.

2023-01-27 22:17:32.721 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
2023-01-27 22:17:32.825 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\user\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2023-01-27 22:17:32.825 [SQL ] Opening SQLite connection #3: 'C:\Users\user\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db' [2, 0]
2023-01-27 22:17:32.826 [REPO] Opened SQLite Index with version [1.5], last write [2023-01-09 02:44:18.000]
2023-01-27 22:17:32.855 [REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch
2023-01-27 22:17:32.901 [REPO] Response status: 200
2023-01-27 22:17:32.903 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\user\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2023-01-27 22:17:32.903 [SQL ] Opening SQLite connection #4: 'C:\Users\user\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db' [2, 0]
2023-01-27 22:17:32.904 [REPO] Opened SQLite Index with version [1.5], last write [2023-01-27 21:57:33.000]
2023-01-27 22:17:32.948 [CLI ] No app found matching input criteria
2023-01-27 22:17:32.952 [CLI ] Terminating context: 0x8a150014 at D:\a_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\WorkflowBase.cpp:337

@w3lld0ne
Copy link
Contributor Author

w3lld0ne commented Jan 27, 2023

This tells me it's a scope related issue. Tested some versions of Electrum, none of them install in machine scope for me. Changing scope to user may be the fix here.

Hey, thanks for your reply, didn't see it before sending my comment. I have tried '--scope User' also, but this leads to "No applicable upgrade found." error again (and AFAIK User scope is the default anyways?).

With "--scope User" I get next lines (message about required scope is a new one):

2023-01-27 22:33:20.990 [CLI ] Installer [X86,nullsoft,Machine,] not applicable: Installer scope does not match currently installed scope: Machine != User
2023-01-27 22:33:20.990 [CLI ] Installer [X86,nullsoft,Machine,] not applicable: Installer scope does not match required scope: Machine != User

@mdanish-kh
Copy link
Contributor

mdanish-kh commented Jan 27, 2023

For --scope user to work, it needs to be defined in the manifest. Currently the value is set to machine.

Also, as a temporary workaround the --force argument can be used with winget install to force an installation.

@denelon denelon removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Jan 27, 2023
@w3lld0ne
Copy link
Contributor Author

w3lld0ne commented Jan 27, 2023

nvm, winget install Electrum.Electrum --scope Machine --force actually did it. thanks.

@mdanish-kh
Copy link
Contributor

@w3lld0ne We should keep the issue open to investigate the actual underlying issue as what I suggested is only a workaround. This should not require a forced install.

@w3lld0ne
Copy link
Contributor Author

Sure, no problem.

@w3lld0ne w3lld0ne reopened this Jan 28, 2023
@mdanish-kh
Copy link
Contributor

[Policy] Installer-Issue

The issue is with the installer that performs a machine-wide install but writes its uninstall entries to HKEY_CURRENT_USER making WinGet think that it's a user-scoped install.

This is a reverse case of microsoft/winget-cli#3011 (installer performs a per-user install but writes uninstall entries to HKEY_LOCAL_MACHINE) but with the same result of users not being able to perform an upgrade.

@microsoft-github-policy-service microsoft-github-policy-service bot added Installer-Issue Issue with the package's installer. Area-External Needs-Author-Feedback This needs a response from the author. labels Mar 12, 2023
@sitiom
Copy link
Contributor

sitiom commented Mar 26, 2023

Again, unlike microsoft/winget-cli#3011 (MSIs), this is resolvable upstream (microsoft/winget-cli#3011 (comment)). I suggest opening up an issue in https://github.com/spesmilo/electrum

@microsoft-github-policy-service microsoft-github-policy-service bot added the No-Recent-Activity No activity has occurred on this work item for seven days. label Apr 21, 2023
@microsoft-github-policy-service
Copy link
Contributor

Hello @w3lld0ne,

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

Template: msftbot/noRecentActivity

1 similar comment
@microsoft-github-policy-service
Copy link
Contributor

Hello @w3lld0ne,

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

Template: msftbot/noRecentActivity

@mdanish-kh
Copy link
Contributor

[Policy] reset feedback

@microsoft-github-policy-service microsoft-github-policy-service bot removed No-Recent-Activity No activity has occurred on this work item for seven days. Needs-Author-Feedback This needs a response from the author. labels Apr 22, 2023
@w3lld0ne
Copy link
Contributor Author

I've created the issue in Electrum repo.

Copy link
Contributor

Hello @w3lld0ne,

This issue has been identified as requiring a fix from a third party or external repository. Since there has been no recent activity on this issue, it will be automatically closed.

Template: msftbot/noRecentActivity/areaExternal

1 similar comment
Copy link
Contributor

Hello @w3lld0ne,

This issue has been identified as requiring a fix from a third party or external repository. Since there has been no recent activity on this issue, it will be automatically closed.

Template: msftbot/noRecentActivity/areaExternal

@denelon denelon added this to the 1.7 Packages milestone Dec 7, 2023
@sitiom
Copy link
Contributor

sitiom commented Dec 8, 2023

Bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-External Installer-Issue Issue with the package's installer. Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

4 participants