Cannot create 32bit wineprefix (Ubuntu package problem?)

Questions about Wine on Linux
Locked
Christoph Korn

Cannot create 32bit wineprefix (Ubuntu package problem?)

Post by Christoph Korn » Fri May 18, 2012 4:58 pm

Hello,

the problem is that I cannot create 32bit wineprefix.
In short this is all what happens (run directly in my $HOME directory):
korn@pc:~$ mkdir foo ; WINEPREFIX=$(pwd)/foo WINEARCH=win32 wineboot
wine: WINEARCH set to win32 but '/home/korn/foo' is a 64-bit installation.

As you see although the foo directory did not yet exist wineboot claims that
there is a 64-bit installation.

After asking the question on #winehq I got some hints that maybe the Ubuntu
installation of wine does not include the i386 parts.

I use the official Ubuntu wine ppa for my installation:
https://launchpad.net/~ubuntu-wine/+archive/ppa

From there I have these Wine packages installed:
$ dpkg -l | grep wine
ii wine
1.5.4-0ubuntu1~ppa1~precise1+pulse17 Microsoft Windows Compatibility Layer
(meta-package)
ii wine-gecko1.5 1.5-0ubuntu1~ppa1~precise1
Microsoft Windows compatibility layer (embedded web browser)
ii wine-gecko1.5:i386 1.5-0ubuntu1~ppa1~precise1
Microsoft Windows compatibility layer (embedded web browser)
ii wine1.5
1.5.4-0ubuntu1~ppa1~precise1+pulse17 Microsoft Windows Compatibility Layer
(Binary Emulator and Library)
ii wine1.5-amd64
1.5.4-0ubuntu1~ppa1~precise1+pulse17 Microsoft Windows Compatibility Layer
(64-bit support)
ii wine1.5-i386:i386
1.5.4-0ubuntu1~ppa1~precise1+pulse17 Microsoft Windows Compatibility Layer
(32-bit support)
ii winetricks 0.0+20120308
Microsoft Windows Compatibility Layer (winetricks)

These are the specific versions:
$ LANG=C apt-cache policy wine wine1.5 wine1.5-amd64 wine1.5-i386 winetricks
wine:
Installed: 1.5.4-0ubuntu1~ppa1~precise1+pulse17
Candidate: 1.5.4-0ubuntu1~ppa1~precise1+pulse17
Version table:
*** 1.5.4-0ubuntu1~ppa1~precise1+pulse17 0
500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main
amd64 Packages
100 /var/lib/dpkg/status
1.4-0ubuntu4 0
500 http://de.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
wine1.5:
Installed: 1.5.4-0ubuntu1~ppa1~precise1+pulse17
Candidate: 1.5.4-0ubuntu1~ppa1~precise1+pulse17
Version table:
*** 1.5.4-0ubuntu1~ppa1~precise1+pulse17 0
500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main
amd64 Packages
100 /var/lib/dpkg/status
wine1.5-amd64:
Installed: 1.5.4-0ubuntu1~ppa1~precise1+pulse17
Candidate: 1.5.4-0ubuntu1~ppa1~precise1+pulse17
Version table:
*** 1.5.4-0ubuntu1~ppa1~precise1+pulse17 0
500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main
amd64 Packages
100 /var/lib/dpkg/status
wine1.5-i386:i386:
Installed: 1.5.4-0ubuntu1~ppa1~precise1+pulse17
Candidate: 1.5.4-0ubuntu1~ppa1~precise1+pulse17
Version table:
*** 1.5.4-0ubuntu1~ppa1~precise1+pulse17 0
500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main
i386 Packages
100 /var/lib/dpkg/status
winetricks:
Installed: 0.0+20120308
Candidate: 0.0+20120308
Version table:
*** 0.0+20120308 0
500 http://de.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
100 /var/lib/dpkg/status
0.0+20120308~ppa1 0
500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main
amd64 Packages

As you see everything (except of winetricks) is installed from the PPA.

Does someone else using this repository does have this problem?
Please be sure that you have the wine1.5-i386 package installed.
My OS obviously is Ubuntu 12.04.

It is really easy to test please use my command above.

Thanks
Christoph

User avatar
dimesio
Moderator
Moderator
Posts: 12677
Joined: Tue Mar 25, 2008 10:30 pm

Re: Cannot create 32bit wineprefix (Ubuntu package problem?)

Post by dimesio » Fri May 18, 2012 7:10 pm

Christoph Korn wrote: korn@pc:~$ mkdir foo ; WINEPREFIX=$(pwd)/foo WINEARCH=win32 wineboot
wine: WINEARCH set to win32 but '/home/korn/foo' is a 64-bit installation.

As you see although the foo directory did not yet exist wineboot claims that
there is a 64-bit installation.
On the contrary, it did exist: you created it with mkdir. You need to let Wine create the directory.

http://bugs.winehq.org/show_bug.cgi?id=29661

Henry
Newbie
Newbie
Posts: 3
Joined: Mon Jun 25, 2012 12:42 pm

Re: Cannot create 32bit wineprefix (Ubuntu package problem?)

Post by Henry » Tue Apr 30, 2013 2:20 pm

dimesio wrote:
Christoph Korn wrote: korn@pc:~$ mkdir foo ; WINEPREFIX=$(pwd)/foo WINEARCH=win32 wineboot
wine: WINEARCH set to win32 but '/home/korn/foo' is a 64-bit installation.

As you see although the foo directory did not yet exist wineboot claims that
there is a 64-bit installation.
On the contrary, it did exist: you created it with mkdir. You need to let Wine create the directory.

http://bugs.winehq.org/show_bug.cgi?id=29661
thx, Ive been fighting with this for a week :(

Locked