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

Cannot install MS GDI+ (gdiplus) #2104

Open
Speykious opened this issue Jul 31, 2023 · 1 comment
Open

Cannot install MS GDI+ (gdiplus) #2104

Speykious opened this issue Jul 31, 2023 · 1 comment

Comments

@Speykious
Copy link

Speykious commented Jul 31, 2023

Using the latest winetricks version and a 64-bit prefix, I cannot install GDI+.
Other useful info: I'm on Arch Linux and cabextract is at version 1.11.

I get a SHA256 mismatch, and when I try to continue anyway, cabextract doesn't find any valid cabinets:

------------------------------------------------------
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.
------------------------------------------------------
Using winetricks 20230212-next - sha256sum: e4b10eefc4a5823dde1fb6cf53b38df2077fb96af3e571d3b5e94e70969c63a6 with wine-8.13 and WINEARCH=win64
winetricks GUI enabled, using zenity 3.44.1
Executing mkdir -p /home/speykious/.cache/winetricks
------------------------------------------------------
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 w_do_call gdiplus
/tmp/winetricks.wsW71iQf/no_win64_warnings exists, not issuing 64-bit prefix warning
Executing load_gdiplus 
grep: warning: stray \ before /
Executing mkdir -p /home/speykious/.cache/winetricks/win7sp1
Executing cd /home/speykious/.cache/winetricks/win7sp1
Downloading http://download.windowsupdate.com/msdownload/update/software/svpk/2011/02/windows6.1-kb976932-x86_c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa.exe to /home/speykious/.cache/winetricks/win7sp1
Executing cd /home/speykious
------------------------------------------------------
SHA256 mismatch!

URL: http://download.windowsupdate.com/msdownload/update/software/svpk/2011/02/windows6.1-kb976932-x86_c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa.exe
Downloaded: e6f30a5a0878deffbcc6faef01e5be7ec9407295574201bdaa417ae35d2febdf
Expected: e5449839955a22fc4dd596291aff1433b998f9797e1c784232226aba1f8abd97

This is often the result of an updated package such as vcrun2019.
If you are willing to accept the risk, you can bypass this check.
Alternatively, you may use the --force option to ignore this check entirely.

Continue anyway?
------------------------------------------------------
Executing cabextract -q --keep-symlinks -d /home/speykious/.local/share/wineprefixes/bruh/dosdevices/c:/windows/temp/_bruh -L -F x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_72d18a4386696c80/gdiplus.dll /home/speykious/.cache/winetricks/win7sp1/windows6.1-KB976932-X86.exe
/home/speykious/.cache/winetricks/win7sp1/windows6.1-KB976932-X86.exe: no valid cabinets found
------------------------------------------------------
warning: Note: command cabextract -q --keep-symlinks -d /home/speykious/.local/share/wineprefixes/bruh/dosdevices/c:/windows/temp/_bruh -L -F x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_72d18a4386696c80/gdiplus.dll /home/speykious/.cache/winetricks/win7sp1/windows6.1-KB976932-X86.exe returned status 1. Aborting.
------------------------------------------------------

I'll note that i seems like the obtained hash has changed every time for every download.

I've also tried to fix everything I could by looking at previous issues: removing the cache because maybe a file was corrupted there, making a brand new prefix to download it, doing a sed on the checksum, self-updating wineprefix... Nothing worked. :(

@austin987
Copy link
Contributor

grep: warning: stray \ before /

is suspicious; can you attach a log with winetricks -v?

Are you using firejail, by chance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants