Sha256sum mismatch installing vcrun2019

Questions about Wine on Linux
Locked
Samathy
Newbie
Newbie
Posts: 3
Joined: Sun Mar 07, 2021 7:08 pm

Sha256sum mismatch installing vcrun2019

Post by Samathy »

Hi all,

I am trying to install Mod Organizer 2 so I can mod Fallout 4 on my Linux machine but I get this error when finishing the installation through Lutris:

Code: Select all

warning: sha256sum mismatch! Rename /home/{user}/.cache/winetricks/vcrun2019/vc_redist.x86.exe and try again.
I have tried:
  • Renaming the file
  • Deleting the folder
  • Updating Winetricks through

    Code: Select all

     winetricks --self-update
  • Installing Winetricks through apt and updating everything
  • Manually compiling(?) vcrun2019 with

    Code: Select all

     cabextract -q vc_redist.x86.exe 
    and

    Code: Select all

     winetricks vcrun2019 
    source: viewtopic.php?t=16479
But I still get the same error..

Here is the last bit of the console:

Code: Select all

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/samtheon/Games/mod-organizer-2
------------------------------------------------------
warning: sha256sum mismatch! Rename /home/{user}/.cache/winetricks/vcrun2019/vc_redist.x86.exe and try again.
------------------------------------------------------
I feel like this is a newbie mistake and any help would be appreciated!
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Sha256sum mismatch installing vcrun2019

Post by jkfloris »

It looks like Microsoft has updated its Visual C++ packages. A workaround is:

Code: Select all

sudo sed -i 's/50a3e92ade4c2d8f310a2812d46322459104039b9deadbd7fdd483b5c697c0c8/4521ed84b9b1679a706e719423d54ef5e413dc50dde1cf362232d7359d7e89c4/g' /usr/bin/winetricks
sudo sed -i 's/b1a32c71a6b7d5978904fb223763263ea5a7eb23b2c44a0d60e90d234ad99178/f299953673de262fefad9dd19bfbe6a5725a03ae733bebfec856f1306f79c9f7/g' /usr/bin/winetricks
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Sha256sum mismatch installing vcrun2019

Post by jkfloris »

Samathy
Newbie
Newbie
Posts: 3
Joined: Sun Mar 07, 2021 7:08 pm

Re: Sha256sum mismatch installing vcrun2019

Post by Samathy »

Thanks for your reply!

The fix worked, I was able to use the commands 'cabextract -q vc_redist.x86.exe' and 'winetricks vcrun2019' successfully however I cannot install Mod Organizer 2 as it still throws the same error.

As this appears to be a problem with their installer (maybe using the old sums?) I will raise it on their Github.
Samathy
Newbie
Newbie
Posts: 3
Joined: Sun Mar 07, 2021 7:08 pm

Re: Sha256sum mismatch installing vcrun2019

Post by Samathy »

Solved the issue, turns out Lutris uses its own version of Winetricks that has to be updated seperately. Thanks for your help!
Retrograde_i486
Newbie
Newbie
Posts: 1
Joined: Thu Mar 25, 2021 12:50 pm

Re: Sha256sum mismatch installing vcrun2019

Post by Retrograde_i486 »

Samathy wrote: Tue Mar 09, 2021 10:43 pm Solved the issue, turns out Lutris uses its own version of Winetricks that has to be updated seperately. Thanks for your help!
Can you explain how you did this? I'm trying to get MO2 installed as well and running into the same problem, can't seem to figure out quite how to get Lutris to update winetricks so that the checksums match.
Locked