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]: Ubisoft.Connect #202277

Open
2 tasks done
sebbu2 opened this issue Dec 26, 2024 · 4 comments
Open
2 tasks done

[Package Issue]: Ubisoft.Connect #202277

sebbu2 opened this issue Dec 26, 2024 · 4 comments
Labels
Error-Hash-Mismatch The InstallerSHA256 Hash specified in the manifest doesn't match with the InstallerURL hash Package-Update This package needs to be updated

Comments

@sebbu2
Copy link

sebbu2 commented Dec 26, 2024

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

Installer hash mismatch.

Brief description of your issue

Ubisoft.Connect has been updated to 159.2.11504.0
the setup url stays the same and doesn't contain any version information.

Steps to reproduce

winget upgrade --all

Actual behavior

(1/1) Trouvé Ubisoft Connect [Ubisoft.Connect] Version 159.1.0.11430
La licence d’utilisation de cette application vous est octroyée par son propriétaire.
Microsoft n’est pas responsable des paquets tiers et n’accorde pas de licences à ceux-ci.
Téléchargement en cours https://static3.cdn.ubi.com/orbit/launcher_installer/UbisoftConnectInstaller.exe
██████████████████████████████ 244 MB / 244 MB
Le code de hachage de l’installation ne correspond pas ; ceci ne peut pas être contourné lors d’une exécution en tant qu’administrateur

Expected behavior

Le code de hachage de l’installation a été vérifié avec succès
Démarrage du package d’installation... Merci de patienter.
Installé correctement

Environment

Gestionnaire de package Windows v1.9.25200
Copyright (c) Microsoft Corporation. Tous droits réservés.

Windows: Windows.Desktop v10.0.19045.5247
Architecture du système : X64
Package : Microsoft.DesktopAppInstaller v1.24.25200.0

Répertoires Winget
-----------------------------------------------------------------------------------------------------------------------------------------
Journaux                                     %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
Paramètres utilisateurs                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Répertoire des liens portables (utilisateur) %LOCALAPPDATA%\Microsoft\WinGet\Links
Répertoire des liens portables (ordinateur)  C:\Program Files\WinGet\Links
Racine de package portable (utilisateur)     %LOCALAPPDATA%\Microsoft\WinGet\Packages
Racine du package portable                   C:\Program Files\WinGet\Packages
Racine de package portable (x86)             C:\Program Files (x86)\WinGet\Packages
Téléchargements du programme d’installation  %USERPROFILE%\Downloads

Liens
---------------------------------------------------------------------------------------------
Déclaration de confidentialité        https://aka.ms/winget-privacy
Contrat de licence                    https://aka.ms/winget-license
Avis de tiers                         https://aka.ms/winget-3rdPartyNotice
Page d’accueil                        https://aka.ms/winget
Conditions générales du Windows Store https://www.microsoft.com/en-us/storedocs/terms-of-sale

Paramètre administrateur                  État
---------------------------------------------------
LocalManifestFiles                        Désactivé
BypassCertificatePinningForMicrosoftStore Désactivé
InstallerHashOverride                     Désactivé
LocalArchiveMalwareScanOverride           Désactivé
ProxyCommandLineOptions                   Désactivé
DefaultProxy                              Désactivé

Screenshots and Logs

2024-12-26 15:57:57.883 [CLI ] Generated temp download path: C:\Users\sebbu\AppData\Local\Temp\WinGet\Ubisoft.Connect.159.1.0.11430\aa3e768b812a0a45cbc4aba548da034b7aa924de1c63e6453c892d66ab6ca5ac
2024-12-26 15:57:57.939 [CORE] Downloading to path: C:\Users\sebbu\AppData\Local\Temp\WinGet\Ubisoft.Connect.159.1.0.11430\aa3e768b812a0a45cbc4aba548da034b7aa924de1c63e6453c892d66ab6ca5ac
2024-12-26 15:57:57.940 [CORE] DeliveryOptimization downloading from url: https://static3.cdn.ubi.com/orbit/launcher_installer/UbisoftConnectInstaller.exe
2024-12-26 15:58:09.061 [CORE] Download completed.
2024-12-26 15:58:10.645 [CORE] Started applying motw to C:\Users\sebbu\AppData\Local\Temp\WinGet\Ubisoft.Connect.159.1.0.11430\aa3e768b812a0a45cbc4aba548da034b7aa924de1c63e6453c892d66ab6ca5ac with zone: 3
2024-12-26 15:58:10.647 [CORE] Finished applying motw
2024-12-26 15:58:10.648 [CLI ] Package hash verification failed. SHA256 in manifest [aa3e768b812a0a45cbc4aba548da034b7aa924de1c63e6453c892d66ab6ca5ac] does not match download [74cf049886dde1258a9e1b7a576dcfb7067408cfe8c22236c6a63bf14d7b8acc] with file size [256628640] and content type []

@sebbu2 sebbu2 added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Dec 26, 2024
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Triage This work item needs to be triaged by a member of the core team. Package-Update This package needs to be updated Error-Hash-Mismatch The InstallerSHA256 Hash specified in the manifest doesn't match with the InstallerURL hash and removed Issue-Bug It either shouldn't be doing this or needs an investigation. labels Dec 26, 2024
@stephengillie stephengillie removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Dec 26, 2024
@Dragon1573
Copy link
Contributor

Unable to reproduce the issue. 😞

14:40:19 D:\...\winget-pkgs  [master ≡] 1ms pwsh> winget download -s winget --skip-dependencies -e Ubisoft.Connect -v 159.2.11504.0
找不到匹配的版本: 159.2.11504.0
14:40:42 D:\...\winget-pkgs  [master ≡] 2.919s 0x8A150017 pwsh> winget download -s winget --skip-dependencies -e Ubisoft.Connect -v 159.1.0.11430
已找到 Ubisoft Connect [Ubisoft.Connect] 版本 159.1.0.11430
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
已跳过依赖项。
正在下载 https://static3.cdn.ubi.com/orbit/launcher_installer/UbisoftConnectInstaller.exe
  ██████████████████████████████   219 MB /  219 MB
已成功验证安装程序哈希
已下载安装程序: D:\Dragon1573\Downloads\Ubisoft.Connect_159.1.0.11430\Ubisoft Connect_159.1.0.11430_Machine_X86_nullsoft_en-US.exe

@AlexSchoenfeld
Copy link

AlexSchoenfeld commented Dec 31, 2024

I also have this issue with the hash verification.
Then manually uninstalled and reinstalled the latest version from the ubisoft website, which is 159.0.11374.

Still shows me the update of 159.1.0.11430 which I can't upgrade to (output partially in german):

Starting package update operation for package id=Ubisoft.Connect with Manager name=Winget
Given installation options are <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=True;RunAsAdministrator=False;Version=;Architecture=;InstallationScope=;InstallationScope=;CustomParameters=;RemoveDataOnUninstall=False>
Process Executable     : C:\Program Files\UniGetUI\Assets\Utilities\UniGetUI Elevator.exe
Process Call Arguments : "C:\Users\xxxxx\AppData\Local\Microsoft\WindowsApps\winget.exe"  update --id "Ubisoft.Connect" --exact --source winget --accept-source-agreements --disable-interactivity --interactive --include-unknown --accept-package-agreements --force
Working Directory      : C:\Users\xxxxx
Process Start Time     : 31.12.2024 22:23:18
Gefunden Ubisoft Connect [Ubisoft.Connect] Version 159.1.0.11430
Diese Anwendung wird von ihrem Besitzer an Sie lizenziert.
Microsoft ist nicht verantwortlich und erteilt keine Lizenzen für Pakete von Drittanbietern.
Download läuft https://static3.cdn.ubi.com/orbit/launcher_installer/UbisoftConnectInstaller.exe
█████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  76.0 MB /  244 MB
██████████████████████▒▒▒▒▒▒▒▒   182 MB /  244 MB
██████████████████████████████   244 MB /  244 MB
Der Installer-Hash stimmt nicht überein. Dies kann nicht außer Kraft gesetzt werden, wenn Sie ihn als Administrator ausführen.
Process Exit Code      : -1978335215
Process End Time       : 31.12.2024 22:23:29

By the way, I just noticed that @sebbu2 and me have the same file size (244 MB) but the one from @Dragon1573 differs (219 MB). Maybe the CDN is returning different installers for different regions (europe vs asia)?

@Dragon1573
Copy link
Contributor

@AlexSchoenfeld Successfully reproduced with my proxy. I think it might be the reason.

08:55:41 D:\Workloads 2.191s pwsh$ winget download -s winget --skip-dependencies -e Ubisoft.Connect -v 159.1.0.11430
已找到 Ubisoft Connect [Ubisoft.Connect] 版本 159.1.0.11430
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
已跳过依赖项。
正在下载 https://static3.cdn.ubi.com/orbit/launcher_installer/UbisoftConnectInstaller.exe
  ██████████████████████████████   244 MB /  244 MB
安装程序哈希不匹配;若要重写此检查,请使用 --ignore-security-hash

08:57:37 D:\Workloads 0ms 0x8A150011 pwsh$ # ^^^^^ Clash for Windows v0.20.29 enabled, TUN Mode enabled, Global Mode enabled, "Germany A" Node (118.91.186.58)

08:58:51 D:\Workloads 0ms 0x8A150011 pwsh$ # vvvvv Clash for Windows v0.20.29 enabled, TUN Mode enabled, Global Mode enabled, "Taiwan A, China" Node (103.127.219.14)

09:00:12 D:\Workloads 0ms 0x8A150011 pwsh$ winget download -s winget --skip-dependencies -e Ubisoft.Connect -v 159.1.0.11430
已找到 Ubisoft Connect [Ubisoft.Connect] 版本 159.1.0.11430
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
已跳过依赖项。
正在下载 https://static3.cdn.ubi.com/orbit/launcher_installer/UbisoftConnectInstaller.exe
  ██████████████████████████████   219 MB /  219 MB
已成功验证安装程序哈希
已下载安装程序: D:\Dragon1573\Downloads\Ubisoft.Connect_159.1.0.11430\Ubisoft Connect_159.1.0.11430_Machine_X86_nullsoft_en-US.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error-Hash-Mismatch The InstallerSHA256 Hash specified in the manifest doesn't match with the InstallerURL hash Package-Update This package needs to be updated
Projects
None yet
Development

No branches or pull requests

4 participants