microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.63k stars 4.48k forks source link

[Package Issue]: Mega.MEGASync #64093

Closed FlawlessCasual17 closed 2 years ago

FlawlessCasual17 commented 2 years ago

Please confirm these before moving forward

Category of the issue

Installer hash mismatch.

Brief description of your issue

Winget installs a version of MegaSync that does not match the hash online.

Steps to reproduce

  1. Go to powershell
  2. Enter this into the terminal:
    PS C:\Users\krist> sudo winget install -e --id Mega.MEGASync
  3. Then you should get this output
    Found MEGAsync [Mega.MEGASync] Version 4.6.6.0
    This application is licensed to you by its owner.
    Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
    Downloading https://mega.nz/MEGAsyncSetup64.exe
    ██████████████████████████████  49.1 MB / 49.1 MB
    Installer hash does not match; this cannot be overridden when running as admin

Actual behavior

Winget installs a version of MegaSync that does not match the hash online.

Expected behavior

I expected Winget to properly install MegaSync as it has done before last week.

Environment

Windows Package Manager v1.2.10941
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19044.1706
Package: Microsoft.DesktopAppInstaller v1.17.10941.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Any other software? 
ScoopInstaller, gsudo (installed with scoop).

Screenshots and Logs

PS C:\Users\krist> sudo winget install -e --id Mega.MEGASync
Found MEGAsync [Mega.MEGASync] Version 4.6.6.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://mega.nz/MEGAsyncSetup64.exe
  ██████████████████████████████  49.1 MB / 49.1 MB
Installer hash does not match; this cannot be overridden when running as admin

(WindowsTerminal)o6Q5K3_06-21-2022

jedieaston commented 2 years ago

This was resolved by https://github.com/microsoft/winget-pkgs/pull/64117, I believe, can you give it another shot?

FlawlessCasual17 commented 2 years ago

I tried doing it again in PowerShell, this is what happened:

PS C:\Users\krist> sudo winget install -e --id Mega.MEGASync
Found MEGAsync [Mega.MEGASync] Version 4.6.6.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://mega.nz/MEGAsyncSetup64.exe
  ██████████████████████████████  49.1 MB / 49.1 MB
Installer hash does not match; this cannot be overridden when running as admin
PS C:\Users\krist> winget install -e --id Mega.MEGASync
Found MEGAsync [Mega.MEGASync] Version 4.6.6.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://mega.nz/MEGAsyncSetup64.exe
  ██████████████████████████████  49.1 MB / 49.1 MB
Installer hash does not match; to override this check use --force
PS C:\Users\krist>
denelon commented 2 years ago
MegaSync4 6 7

@KrisSchneider your cache might not be updated yet. When you see MEGASync 4.6.7 with winget search Mega.MegaSync it should be resolved.

Running winget source update will refresh the cache.

FlawlessCasual17 commented 2 years ago

After running winget source update, my issue is now fixed. Thank you to those that helped me, I can now successfully install Megasync without any issues. (WindowsTerminal)B4G386_06-22-2022

hueldoeu commented 5 months ago

very strange problem. when i check for updates image mega says it's up 2 date. but on winget (or unigetui) i always see sometimes updates available for Mega.MEGASync, which i skip.