Winetricks 32/64 error

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
d107
Newbie
Newbie
Posts: 2
Joined: Sun Aug 16, 2020 12:35 am

Winetricks 32/64 error

Post by d107 »

The infamous Winetricks issue running both architectures. I've searched many articles on this and am stumped. I'd like to keep each Wine version, for compatibility with different apps and games including alot of stuff in Lutris and PoL that work fine.

Winetricks worked fine with Wine3. All this started when I installed Wine 5.

Any tips are appreciated...

Code: Select all

d107@Limon:~/.wine$ wine --version
wine-5.0.2
d107@Limon:~/.wine$ winetricks
------------------------------------------------------
wine cmd.exe /c echo '%ProgramFiles%' returned empty string, error message "wine: '/home/d107/.wine' is a 64-bit installation, it cannot be used with a 32-bit wineserver." 
------------------------------------------------------
d107@Limon:~/.wine$ dpkg -l | grep wine
ii  fonts-wine                                    3.0-1ubuntu1                                             all          Windows API implementation - fonts
ii  libwine:amd64                                 3.0-1ubuntu1                                             amd64        Windows API implementation - library
ii  libwine:i386                                  3.0-1ubuntu1                                             i386         Windows API implementation - library
ii  libwine-development:amd64                     3.6-1                                                    amd64        Windows API implementation - library
ii  q4wine                                        1.3.6-2                                                  amd64        Qt GUI for wine (WINE)
ii  wine-stable:i386                              5.0.2~bionic                                             i386         WINE Is Not An Emulator - runs MS Windows programs
ii  wine-stable-i386:i386                         5.0.2~bionic                                             i386         WINE Is Not An Emulator - runs MS Windows programs
ii  wine32:i386                                   3.0-1ubuntu1                                             i386         Windows API implementation - 32-bit binary loader
ii  wine64                                        3.0-1ubuntu1                                             amd64        Windows API implementation - 64-bit binary loader
ii  winehq-stable                                 5.0.2~bionic                                             amd64        WINE Is Not An Emulator - runs MS Windows programs
ii  winetricks                                    0.0+20180217-1                                           all          package manager for Wine to install software easily
d107@Limon:~/.wine$ ls drive_c
'GOG Games'   msdia80.dll   ProgramData  'Program Files'  'Program Files (x86)'   users   windows
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Winetricks 32/64 error

Post by spoon0042 »

You somehow have a mix of winehq and Ubuntu packages installed; you can uninstall the Ubuntu ones if that isn't intentional. It's possible to do that but if you don't need to it just confuses things. Bigger problem is you're missing the wine-stable-amd64 package which is most likely why that wineprefix isn't working. edit: I see now you have the 32-bit wine-stable installed, doing a 'apt install wine-stable:amd64' should fix that.
d107
Newbie
Newbie
Posts: 2
Joined: Sun Aug 16, 2020 12:35 am

Re: Winetricks 32/64 error

Post by d107 »

Thank you spoon0042!

sudo apt install wine-stable:amd64
... seems to have, mostly, fixed it.

I still get a warning, though when I OK on it, I'm launched into the usual Winetricks UI. I'm assuming that this is ok to ignore.

d107@Limon:~$ winetricks
------------------------------------------------------
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 20180217 - sha256sum: 1b156c616174f41df79d72a90c52eb2b110c63a6e8ecb865d303a8f9f0908924 with wine-5.0.2 and WINEARCH=win64
Gtk-Message: 16:03:44.318: GtkDialog mapped without a transient parent. This is discouraged.
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Winetricks 32/64 error

Post by spoon0042 »

Yeah that's just a warning, if things are working don't worry about it. If something isn't working though you may want to try with a 32-bit prefix is all.
Locked