juliaup icon indicating copy to clipboard operation
juliaup copied to clipboard

urgent winget install julia -s msstore wants to install other software

Open LukasBarner opened this issue 9 months ago • 20 comments

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:

LukasBarner avatar Apr 01 '25 15:04 LukasBarner

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.)

StefanKarpinski avatar Apr 01 '25 16:04 StefanKarpinski

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

jordancluts avatar Apr 01 '25 17:04 jordancluts

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

IanButterworth avatar Apr 01 '25 17:04 IanButterworth

Works fine for me as well. I tried this on a Windows 11 machine with PowerShell and I get the same output as @jordancluts

ajinkya-k avatar Apr 01 '25 17:04 ajinkya-k

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!

LukasBarner avatar Apr 01 '25 17:04 LukasBarner

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
[...]

LukasBarner avatar Apr 01 '25 19:04 LukasBarner

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.

Trenly avatar Apr 01 '25 21:04 Trenly

Can’t we use the ID Julialang.Julia instead of 9NJNWW8PVKMN?

ajinkya-k avatar Apr 01 '25 21:04 ajinkya-k

That didn't work for me, I think because its source isn't msstore (in the table)

IanButterworth avatar Apr 01 '25 21:04 IanButterworth

https://github.com/JuliaLang/www.julialang.org/pull/2275 https://github.com/JuliaLang/julia/pull/57978

IanButterworth avatar Apr 01 '25 21:04 IanButterworth

@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

Trenly avatar Apr 01 '25 21:04 Trenly

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

ajinkya-k avatar Apr 01 '25 21:04 ajinkya-k

@LukasBarner can you check if this command installs the correct thing:

 winget install --name Julia --id 9NJNWW8PVKMN -e -s msstore

ajinkya-k avatar Apr 01 '25 22:04 ajinkya-k

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 image

ajinkya-k avatar Apr 01 '25 22:04 ajinkya-k

@ajinkya-k - what if you do winget search 9NJNWW8PVKMN with your region as Germany?

Trenly avatar Apr 01 '25 22:04 Trenly

this is strange:

Image

ajinkya-k avatar Apr 01 '25 22:04 ajinkya-k

this is strange:

Image

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

Trenly avatar Apr 01 '25 23:04 Trenly

Is this perhaps an encoding problem?

ajinkya-k avatar Apr 01 '25 23:04 ajinkya-k

this is strange:

Image

I could also reproduce this behavior.

LukasBarner avatar Apr 02 '25 11:04 LukasBarner

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)

IanButterworth avatar Apr 02 '25 16:04 IanButterworth