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 update to 4.5.8 #190968

Closed
2 tasks done
UsefulVid opened this issue Nov 13, 2024 · 6 comments
Closed
2 tasks done

[Package Issue]: Electrum.Electrum update to 4.5.8 #190968

UsefulVid opened this issue Nov 13, 2024 · 6 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

@UsefulVid
Copy link

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

winget upgrade Electrum --source=winget

Es wurde kein anwendbares Upgrade gefunden.
In einer konfigurierten Quelle ist eine neuere Paketversion verfügbar, die jedoch nicht auf Ihr System oder Ihre Anforderungen zutrifft.

Copilot says this is the original English message

No applicable upgrade found.
A newer version of a package is available from a configured source, but it does not match your system or requirements.

Issue appears after:
#190737

Steps to reproduce

winget upgrade Electrum --source=winget
my source version is 4.5.5

Actual behavior

Error message and no update

Expected behavior

Update successful

Environment

Windows-Paket-Manager v1.9.25180
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.22631.4317
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.24.25180.0

WinGet-Verzeichnisse
-----------------------------------------------------------------------------------------------------------------------------------------
Protokolle                                   %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
Benutzereinstellungen                        %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Verzeichnis für portierbare Links (Benutzer) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portables Linkverzeichnis (Computer)         C:\Program Files\WinGet\Links
Portierbarer Paketstamm (Benutzer)           %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portierbarer Paketstamm                      C:\Program Files\WinGet\Packages
Portierbares Paketstamm (x86)                C:\Program Files (x86)\WinGet\Packages
Installationsprogrammdownloads               %USERPROFILE%\Downloads

Links
-----------------------------------------------------------------------------------------
Datenschutzerklärung              https://aka.ms/winget-privacy
Lizenzvereinbarung                https://aka.ms/winget-license
Hinweise von Drittanbietern       https://aka.ms/winget-3rdPartyNotice
Startseite                        https://aka.ms/winget
Windows Store-Nutzungsbedingungen https://www.microsoft.com/en-us/storedocs/terms-of-sale

Administratoreinstellung                  Status
-----------------------------------------------------
LocalManifestFiles                        Deaktiviert
BypassCertificatePinningForMicrosoftStore Deaktiviert
InstallerHashOverride                     Deaktiviert
LocalArchiveMalwareScanOverride           Deaktiviert
ProxyCommandLineOptions                   Deaktiviert
DefaultProxy                              Deaktiviert

Screenshots and Logs

No applicable upgrade found.
A newer version of a package is available from a configured source, but it does not match your system or requirements.

@UsefulVid UsefulVid added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Nov 13, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Nov 13, 2024
@damn-good-b0t
Copy link
Contributor

Looks like Electrum installs in user scope while the manifests only have one installer which specifies scope: machine.
I suspect that this is the cause of the mismatch. It needs to be investigated whether only recent package manifest are wrong or if this is an issue with all manifests.

Did Electrum upgrade correctly in the past?

Image

@stephengillie stephengillie added Help-Wanted This is a good candidate work item from the community. and removed Needs-Triage This work item needs to be triaged by a member of the core team. labels Nov 13, 2024
@UsefulVid
Copy link
Author

@damn-good-b0t not sure how I did it last time

@mdanish-kh
Copy link
Contributor

[Policy] Installer-Issue
[Policy] Area-External

Electrum installs machine-wide (installs in Program Files (x86)), but writes its registry entries to HKEY_CURRENT_USER, making WinGet think that it's a user-scoped install when it's actually not. I don't think WinGet can do much here to reason about this scenario. One thing may be possible to just remove Scope: from the manifest entirely and make WinGet treat it as Scope: Any. This would break anyone using --scope machine or --scope user with winget install Electrum.Electrum, but I think this should unblock the upgrade scenario. The root problem, however, should be brought up with the publisher to fix

Related to:

@mdanish-kh
Copy link
Contributor

As an immediate workaround, try using winget upgrade Electrum.Electrum --force

@mdanish-kh
Copy link
Contributor

@UsefulVid - PR #192076 was merged and published. Let me know if that solved the upgrade issue. I cannot repro anymore at my end

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback This needs a response from the author. label Nov 18, 2024
@UsefulVid
Copy link
Author

Update worked now! Thanks for the fast resolution

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention This work item needs to be reviewed by a member of the core team. and removed Needs-Author-Feedback This needs a response from the author. Needs-Attention This work item needs to be reviewed by a member of the core team. Help-Wanted This is a good candidate work item from the community. labels Nov 18, 2024
@denelon denelon added this to the 1.10 Packages milestone Dec 3, 2024
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

5 participants