-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Comments
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 Edit: Nvm it does install in machine scope but I couldn't see the ARP entries in Control Panel for other users |
Realized I should append "--scope Machine" (although this is very unintuitive as no message in the cmd hints about this), so tried to invoke 2023-01-27 22:17:31.291 [CORE] WinGet, version [1.4.10173], activity [{950F99AC-32E9-4433-8193-100EC3C5EC86}] 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 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.Print3D_8wekyb3d8bbwe 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 [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 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe 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 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.SkypeApp_kzf8qxf38zg5c 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 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.XboxGameOverlay_8wekyb3d8bbwe 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 [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 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.ScreenSketch_8wekyb3d8bbwe 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 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe 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 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.People_8wekyb3d8bbwe 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.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 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.MSPaint_8wekyb3d8bbwe 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 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.Getstarted_8wekyb3d8bbwe 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 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.549981C3F5F10_8wekyb3d8bbwe 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 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.GetHelp_8wekyb3d8bbwe 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 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.StorePurchaseApp_8wekyb3d8bbwe 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 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.XboxIdentityProvider_8wekyb3d8bbwe 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 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.WindowsCalculator_8wekyb3d8bbwe 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 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.WindowsMaps_8wekyb3d8bbwe 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 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.YourPhone_8wekyb3d8bbwe 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 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.WindowsStore_8wekyb3d8bbwe 2023-01-27 22:17:32.721 [REPO] winrt::hresult_error[0x80070490: Element not found.] exception thrown when getting DisplayName for Microsoft.DesktopAppInstaller_8wekyb3d8bbwe |
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):
|
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. |
nvm, |
@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. |
Sure, no problem. |
[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. |
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 |
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
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 |
[Policy] reset feedback |
I've created the issue in Electrum repo. |
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
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 |
Bump |
Please confirm these before moving forward
Category of the issue
No applicable update found.
Brief description of your issue
Problem:
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
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
The text was updated successfully, but these errors were encountered: