urgent winget install julia -s msstore wants to install other software
running winget install julia -s msstore seems to install a random other software "Julian Date Selector [9NSGP4VDNW0R] Version Unknown".
There seems to have been a similar issue in the past (https://github.com/microsoft/winget-cli/issues/2005 or https://github.com/JuliaLang/juliaup/issues/258)
For the full context, see below (unfortunately in German):
winget install julia -s msstore
Gefunden Julian Date Selector [9NSGP4VDNW0R] Version Unknown
Dieses Paket wird über den Microsoft Store bereitgestellt. “winget” muss das Paket möglicherweise im Auftrag des aktuellen Benutzers aus dem Microsoft Store abrufen.
Vereinbarungen für Julian Date Selector [9NSGP4VDNW0R] Version Unknown
Version: Unknown
Herausgeber: James Flippin
Herausgeber-URL: https://www.flippintechnologies.com/calendardatetojuliandateselector
Herausgeber-Support-URL: mailto:[email protected]
Lizenz: ms-windows-store://pdp/?ProductId=9NSGP4VDNW0R
Datenschutz-URL: https://github.com/TexasPaladin/GeneralLIcenseInfo/blob/main/LicenseandPrivacystatement.txt
Vereinbarungen:
Category: Business
Pricing: Free
Free Trial: No
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
Seizure Warning: https://aka.ms/microsoft-store-seizure-warning
Store License Terms: https://aka.ms/microsoft-store-license
Der Herausgeber verlangt, dass Sie die oben genannten Informationen anzeigen und den Vereinbarungen vor der Installation zustimmen.
Stimmen Sie den Bedingungen zu?
[Y] Ja [N] Nein:
Thanks for the report! Could you fill out an bug report issue at https://github.com/microsoft/winget-cli/issues with "URGENT" in the title? I know they have an old, closed issue there (as you linked already), but I think a new one may be required to trigger their response process for this problem. Since I'm not the one encountering the issue, it seems better if you file the report. (Or anyone else who can reproduce the problem.)
I am not seeing similar behavior.
❯ winget install julia -s msstore
Found Julia [9NJNWW8PVKMN] Version Unknown
This package is provided through Microsoft Store. winget may need to acquire the package from Microsoft Store on behalf of the current user.
Agreements for Julia [9NJNWW8PVKMN] Version Unknown
Version: Unknown
Publisher: Julia Computing, Inc.
Publisher Url: https://julialang.org/
License: ms-windows-store://pdp/?ProductId=9NJNWW8PVKMN
Privacy Url: https://juliacomputing.com/privacy/
Agreements:
Category: Developer tools
Pricing: Free
Free Trial: No
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
Seizure Warning: https://aka.ms/microsoft-store-seizure-warning
Store License Terms: https://aka.ms/microsoft-store-license
The publisher requires that you view the above information and accept the agreements before installing.
Do you agree to the terms?
[Y] Yes [N] No:
Potentially Relevant Info: OS: Windows 10 Shell: Powershell 7
Seems we could change the install instructions to
winget install 9NJNWW8PVKMN -s msstore
which is precise but opaque.
Not sure if we can use any other ID from here:
PS C:\Users\ian> winget search julia
Name Id Version Match Source
----------------------------------------------------------------------------
Julia 9NJNWW8PVKMN Unknown msstore
Visual Watermark 9PC2SV51W159 Unknown msstore
Julian Date Selector 9NSGP4VDNW0R Unknown msstore
Julia Julialang.Julia 1.11.4 winget
Julia Julialang.Juliaup 1.17.13.0 winget
Quarto Posit.Quarto 1.6.42 Tag: julia winget
Prospect Mail JulianAlarcon.ProspectMail 0.5.4 winget
Works fine for me as well. I tried this on a Windows 11 machine with PowerShell and I get the same output as @jordancluts
Since the behavior can't be reproduced, I suspect that this may have been related to an older version of winget-cli. I will close this issue for now and will check tomorrow if this was indeed the cause (it was not on my machine, and I will only have access tomorrow). Sorry for the false alarm and thanks to everyone for checking!
I just checked on another machine. The error seems to persist also for an up to date version of winget-cli. Please see below for full info:
PS C:\Users\usr> winget install julia -s msstore
Die Quelle "msstore" erfordert, dass Sie die folgenden Vereinbarungen vor der Verwendung anzeigen.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
Die Quelle erfordert, dass die geografische Region des aktuellen Computers aus 2 Buchstaben an den Back-End-Dienst gesendet wird, damit er ordnungsgemäß funktioniert (z. B. „US“).
Stimmen Sie allen Nutzungsbedingungen der Quelle zu?
[Y] Ja [N] Nein: y
Gefunden Julian Date Selector [9NSGP4VDNW0R] Version Unknown
Dieses Paket wird über den Microsoft Store bereitgestellt. “winget” muss das Paket möglicherweise im Auftrag des aktuellen Benutzers aus dem Microsoft Store abrufen.
Vereinbarungen für Julian Date Selector [9NSGP4VDNW0R] Version Unknown
Version: Unknown
Herausgeber: James Flippin
Herausgeber-URL: https://www.flippintechnologies.com/calendardatetojuliandateselector
Herausgeber-Support-URL: mailto:[email protected]
Lizenz: ms-windows-store://pdp/?ProductId=9NSGP4VDNW0R
Datenschutz-URL: https://github.com/TexasPaladin/GeneralLIcenseInfo/blob/main/LicenseandPrivacystatement.txt
Vereinbarungen:
Category: Business
Pricing: Free
Free Trial: No
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
Seizure Warning: https://aka.ms/microsoft-store-seizure-warning
Store License Terms: https://aka.ms/microsoft-store-license
Der Herausgeber verlangt, dass Sie die oben genannten Informationen anzeigen und den Vereinbarungen vor der Installation zustimmen.
Stimmen Sie den Bedingungen zu?
[Y] Ja [N] Nein: n
Paketvereinbarungen wurden nicht akzeptiert. Der Vorgang wurde abgebrochen.
PS C:\Users\usr> winget --info
Windows-Paket-Manager v1.10.340
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.
Windows: Windows.Desktop v10.0.26100.3476
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.25.340.0
[...]
Cross-posting the relevant information from the issue at WinGet CLI - This is caused by the Microsoft Store APIs returning different results for the "DE" (German) market and the "US" market.
@IanButterworth - updating the install instructions to reference 9NJNWW8PVKMN instead of julia would likely solve the problem, at least based on my testing with the APIs.
Can’t we use the ID Julialang.Julia instead of 9NJNWW8PVKMN?
That didn't work for me, I think because its source isn't msstore (in the table)
https://github.com/JuliaLang/www.julialang.org/pull/2275 https://github.com/JuliaLang/julia/pull/57978
@ajinkya-k - That would install from -s winget and not -s msstore. Additionally, it would probably be recommended to use Julialang.Juliaup instead, if going from -s winget, and then using Juliaup to manage the installed version
Makes sense. Btw using the ID Julia in the US market seems to install JuliaUp anyways so I assumed Julialang.Julia also just defaults to actually installing juliaup
@LukasBarner can you check if this command installs the correct thing:
winget install --name Julia --id 9NJNWW8PVKMN -e -s msstore
Oh boy we have a bigger issue! Julia with that ID (9NJNWW8PVKMN ) does not even show up in the german market (I changed my laptop region to germany):
@IanButterworth @davidanthoff
@ajinkya-k - what if you do winget search 9NJNWW8PVKMN with your region as Germany?
this is strange:
this is strange:
The Microsoft Store APIs are quite strange, I don’t fully understand them; However, searching and installing by the ID is usually the most reliable
Is this perhaps an encoding problem?
this is strange:
I could also reproduce this behavior.
The winstore issue is being looked into. It seems julia may have been removed because of a missed EU mandatory information deadline (that they didn't email us about)