rockerbacon / modorganizer2-linux-installer

An easy-to-use Mod Organizer 2 installer for Linux
GNU General Public License v3.0
978 stars 79 forks source link

Sha256sum mismatch installing vcrun2019 #211

Closed SamathyTheManathy closed 3 years ago

SamathyTheManathy commented 3 years ago

I get this error when installing Mod Organizer 2 through Lutris:

"warning: sha256sum mismatch! Rename /home/{user}/.cache/winetricks/vcrun2019/vc_redist.x86.exe and try again."

I think this an issue with MO2 since I can manually compile(?) vcrun2019 with the commands "cabextract -q vc_redist.x86.exe" and "winetricks vcrun2019" and install vcrun2019 after changing the sha256sums in Winetricks (source: https://forum.winehq.org/viewtopic.php?f=2&t=35030).

Here is the last bit of the console regarding the error:

Using winetricks 20201206-next - sha256sum: 9bf0e0ff777d64a2474bac9b230eba25b335fb14af57918438db2521ce3ee879 with wine-5.0 (Ubuntu 5.0-3ubuntu1) and WINEARCH=win64 Executing w_do_call vcrun2019 Executing mkdir -p /home/{user}/.steam/debian-installation/steamapps/compatdata/377160

warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.

Executing load_vcrun2019

warning: Checksum for /home/{user}/.cache/winetricks/vcrun2019/vc_redist.x86.exe did not match, retrying download

Executing cd /home/{user}/.cache/winetricks/vcrun2019 Downloading https://aka.ms/vs/16/release/vc_redist.x86.exe to /home/{user}/.cache/winetricks/vcrun2019 --2021-03-08 19:14:46-- https://aka.ms/vs/16/release/vc_redist.x86.exe Resolving aka.ms (aka.ms)... 96.6.229.57 Connecting to aka.ms (aka.ms)|96.6.229.57|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://download.visualstudio.microsoft.com/download/pr/d64b93c3-f270-4750-9e75-bc12b2e899fb/4521ED84B9B1679A706E719423D54EF5E413DC50DDE1CF362232D7359D7E89C4/VC_redist.x86.exe [following] --2021-03-08 19:14:47-- https://download.visualstudio.microsoft.com/download/pr/d64b93c3-f270-4750-9e75-bc12b2e899fb/4521ED84B9B1679A706E719423D54EF5E413DC50DDE1CF362232D7359D7E89C4/VC_redist.x86.exe Resolving download.visualstudio.microsoft.com (download.visualstudio.microsoft.com)... 192.229.232.200, 2606:2800:147:ff8:129b:22eb:20b:1347 Connecting to download.visualstudio.microsoft.com (download.visualstudio.microsoft.com)|192.229.232.200|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 14308616 (14M) [application/octet-stream] Saving to: 'vc_redist.x86.exe’

 0K .......... .......... .......... .......... ..........  0% 1003K 14s

(All the downloading stuff) 13950K .......... .......... ... 100% 978K=10s

2021-03-08 19:14:57 (1.34 MB/s) - 'vc_redist.x86.exe’ saved [14308616/14308616]

Executing cd /home/{user}/Games/mod-organizer-2

warning: sha256sum mismatch! Rename /home/{user}/.cache/winetricks/vcrun2019/vc_redist.x86.exe and try again.

SamathyTheManathy commented 3 years ago

Found: https://github.com/rockerbacon/lutris-skyrimse-installers/issues/195#issuecomment-748339827

Had to update the version of Winetricks that Lutris is using, thanks Arcstur and kleshas!