Wine makes on 64 bit systems troubles

Bug #934854 reported by Removed by request
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wine1.4 (Ubuntu)
Fix Released
Medium
Scott Ritchie

Bug Description

I'm using Ubuntu 12.04 dev (amd64) with wine1.4 1.4~rc4-0ubuntu1. On 64 bit installations wine1.4 can't open 32 bit appliactions. I have deleted ~/.wine and started a windows 32 bit application:

sworddragon@ubuntu:/wine/drive_c/Programme/GUILD WARS$ wine64 Gw.exe
wine: created the configuration directory '/home/sworddragon/.wine'
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/sworddragon/.wine' has been updated.

Nothing happened after this. Even if I call the command again there is no output anymore and no wine processes are running. I have deleted ~/.wine again and tried to call wine1.4 with 32 bit compatibility:

sworddragon@ubuntu:/wine/drive_c/Programme/GUILD WARS$ WINEARCH=win32 wine64 Gw.exe
wine: created the configuration directory '/home/sworddragon/.wine'
wine: '/home/sworddragon/.wine' is a 32-bit installation, it cannot support 64-bit applications.

I have figured out that wine1.4 depends on wine1.4-dev but wine1.4-i386 comes before wine1.4-dev in the list of dependencies. I have enabled i386 for multiarch and tried to install wine1.4-i386 but I got some errors:

sworddragon@ubuntu:~$ sudo apt-get install wine1.4-i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine1.4-i386:i386 : Depends: libgl1-mesa-glx:i386 but it is not going to be installed or
                              libgl1:i386
                     Depends: libglu1-mesa:i386 but it is not going to be installed or
                              libglu1:i386
 x11-utils : Depends: libgl1-mesa-glx but it is not going to be installed or
                      libgl1
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

It seems it is currently not possible to install wine1.4 from the official repository and get 32 bit applications running on 64 bit systems.

Related branches

summary: - Wine makes on 64 bit troubles
+ Wine makes on 64 bit systems troubles
Revision history for this message
Scott Ritchie (scottritchie) wrote :

Are you sure this isn't due to archive skew? apt-get -f install should try to install the dependent i386 packages, but they must be exactly the same version number as the 64-bit versions on your system.

When someone uploads a new package, say, libglu1-mesa, sometimes the i386 build finishes before the amd64 one, or vice-versa, and you get a situation like you've witnessed.

Can you try again please?

That said, I'm considering just hard-depending wine1.4:amd64 on wine1.4-i386 to avoid situations like the above where you get stuck with 64-bit-only wine entirely. The downside is wine would be uninstallable whenever the archive was skewed (which is often during the development release, but fortunately never in a stable release).

Changed in wine1.4 (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Scott Ritchie (scottritchie)
Revision history for this message
Removed by request (removed3425744) wrote :
Download full text (7.9 KiB)

I have now installed Wine again and it still depends on wine1.4-dev. But the package wine1.4_1.4~rc5-0ubuntu1_amd64.deb doesn't contain a wine or wine1.4 executable. Trying to install wine1.4-i386 gives out of the box still an error message:

sworddragon@ubuntu:~/data$ sudo apt-get install wine1.4-i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine1.4-i386:i386 : Depends: libgl1-mesa-glx:i386 but it is not going to be installed or
                              libgl1:i386
                     Depends: libglu1-mesa:i386 but it is not going to be installed or
                              libglu1:i386
E: Unable to correct problems, you have held broken packages.

sudo apt-get install -f does nothing because all dependencies are already met. So I have forced the installation of wine1.4-i386:

sworddragon@ubuntu:~/data$ apt-get download wine1.4-i386
Get:1 Downloading wine1.4-i386 1.4~rc5-0ubuntu1 [19.6 MB]
Fetched 19.6 MB in 29s (668 kB/s)
sworddragon@ubuntu:~/data$ sudo dpkg --force-all -i wine1.4-i386_1.4~rc5-0ubuntu1_i386.deb
Selecting previously unselected package wine1.4-i386:i386.
(Reading database ... 83501 files and directories currently installed.)
Unpacking wine1.4-i386:i386 (from wine1.4-i386_1.4~rc5-0ubuntu1_i386.deb) ...
dpkg: wine1.4-i386:i386: dependency problems, but configuring anyway as you requested:
 wine1.4-i386:i386 depends on libasound2 (>= 1.0.23).
 wine1.4-i386:i386 depends on libc6 (>= 2.9).
 wine1.4-i386:i386 depends on libglib2.0-0 (>= 2.16.0).
 wine1.4-i386:i386 depends on libgphoto2-2 (>= 2.4.10.1).
 wine1.4-i386:i386 depends on libgphoto2-port0 (>= 2.4.10.1).
 wine1.4-i386:i386 depends on libgstreamer-plugins-base0.10-0 (>= 0.10.22).
 wine1.4-i386:i386 depends on libgstreamer0.10-0 (>= 0.10.26).
 wine1.4-i386:i386 depends on liblcms1 (>= 1.15-1).
 wine1.4-i386:i386 depends on libldap-2.4-2 (>= 2.4.7).
 wine1.4-i386:i386 depends on libmpg123-0 (>= 1.6.2).
 wine1.4-i386:i386 depends on libopenal1.
 wine1.4-i386:i386 depends on libsm6.
 wine1.4-i386:i386 depends on libx11-6.
 wine1.4-i386:i386 depends on libxext6.
 wine1.4-i386:i386 depends on libxml2 (>= 2.7.4).
 wine1.4-i386:i386 depends on zlib1g (>= 1:1.1.4).
Setting up wine1.4-i386:i386 (1.4~rc5-0ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Now an apt-get install -f tries to remove wine1.4-i386:i386 and install some other packages:

sworddragon@ubuntu:~/data$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following ext...

Read more...

Revision history for this message
Removed by request (removed3425744) wrote :

I have now tried to force the installation of libgl1-mesa-glx:i386 and libglu1-mesa:i386. After this I could install some dependencies with apt-get install -f. But libgl1-mesa-glx:i386 still depends on libdrm2:i386 (>= 2.3.1). But I can't force the installation with dpkg because there is a critical error:

sworddragon@ubuntu:~/data$ sudo dpkg --force-all -i libdrm2_2.4.30-1ubuntu1_i386.deb
Selecting previously unselected package libdrm2:i386.
(Reading database ... 84074 files and directories currently installed.)
Unpacking libdrm2:i386 (from libdrm2_2.4.30-1ubuntu1_i386.deb) ...
De-configuring libdrm2 ...
dpkg: error processing libdrm2:i386 (--install):
 libdrm2:i386 2.4.30-1ubuntu1 cannot be configured because libdrm2:amd64 is in a different version (2.4.30+git20120110.66518ab5-0ubuntu0sarvatt)
dpkg: error processing libdrm2 (--install):
 libdrm2:amd64 2.4.30+git20120110.66518ab5-0ubuntu0sarvatt cannot be configured because libdrm2:i386 is in a different version (2.4.30-1ubuntu1)
Errors were encountered while processing:
 libdrm2:i386
 libdrm2

Revision history for this message
Removed by request (removed3425744) wrote :

It seems somebody has now updated the packages because all dependencies are now solved correctly. Wine is running fine except that the warning still appears. But I will create a new ticket for this.

Changed in wine1.4 (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
benste (benste) wrote :
Revision history for this message
benste (benste) wrote :

PLEASE RE-OPEN !!

Revision history for this message
Removed by request (removed3425744) wrote :

The dependency problems from this ticket are already solved and for the new dependency problems are already new tickets existing. There is no need to reopen this ticket.

Revision history for this message
benste (benste) wrote :

which one is the one in use ? - sorry i only saw dependency issues - linked 2 as duplicate !

btw. discovered if i do it the other way around - it is the GNOME package which breaks dependecys with wine1.4

Revision history for this message
Removed by request (removed3425744) wrote :

None of them is a duplicate of this issue but #1004217 seems to be a duplicate of #994309. I have fixed this I recommend you to post in #994309.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.