Bug 10778

Summary: Can't start any Windows program using Wine64. Needs wine32, which refuses to be installed.
Product: Mageia Reporter: Peter Landgren <peter.talken>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: eeeemail
Version: 3   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Peter Landgren 2013-07-16 16:39:30 CEST
I have installed wine64, as I have a 64 bit system. But to run Windows 32 bit application I also nedd wine32, but it refuses to be installed. 
So I can't run any of the wien applications.

Reproducible: 

Steps to Reproduce:
Comment 1 claire robinson 2013-07-16 18:48:38 CEST
Do you have 'Core 32bit Release' and 'Core 32bit Updates' medias enabled?

$ urpmq --list-media active
Core Release
Core Updates
Nonfree Release
Nonfree Updates
Tainted Release
Tainted Updates
Core 32bit Release
Core 32bit Updates
Nonfree 32bit Release
Nonfree 32bit Updates
Tainted 32bit Release
Tainted 32bit Updates

CC: (none) => eeeemail

Comment 2 Peter Landgren 2013-07-16 19:07:25 CEST
This is what I have:
$ urpmq --list-media active
Core Release (distrib7)
Core Updates (distrib10)
Nonfree Release (distrib22)
Nonfree Updates (distrib25)
Tainted Release (distrib37)
Tainted Updates (distrib40)
Core 32bit Release (distrib9)
Core 32bit Updates (distrib12)
Nonfree 32bit Release (distrib24)
Nonfree 32bit Updates (distrib27)
Tainted 32bit Release (distrib39)
Tainted 32bit Updates (distrib42)
Comment 3 claire robinson 2013-07-17 08:26:49 CEST
Perhaps I've misunderstood your issue.

Wine64 does actually install wine32. Wine64 allows 64bit windows applications to run, rather than being the standard Wine for 64bit hosts.

32bit windows applications probably won't run on wine64. If you need to use them you should uninstall wine64 and simply install wine. After doing so you may find you need to remove your user settings in the ~/.wine directory.

Trying to install Wine on top of Wine64 is supposed to conflict as it's not possible to have both concurrently. (from packages at least)

# urpmi wine
The following packages have to be removed for others to be upgraded:
wine64-1.5.27-1.mga3.x86_64
 (due to conflicts with wine)
wine64-gecko-1.9-1.mga3.x86_64
 (due to missing wine64) (y/N) y
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core 32bit Release")
  libcups2                       1.5.4        9.mga3        i586    
  libgnutls28                    3.1.8        2.mga3        i586    
  libncurses5                    5.9          10.mga3       i586    
  libp11-kit0                    0.14         2.mga3        i586    
  libsane1                       1.0.23       7.mga3        i586    
  libtasn1_6                     3.2          2.mga3        i586    
  wine                           1.5.27       1.mga3        i586    
(medium "Tainted 32bit Updates")
  libosmesa8                     9.1.3        1.1.mga3.tai> i586
119MB of disk space will be freed.
4.2MB of packages will be retrieved.
Proceed with the installation of the 8 packages? (Y/n) y

This is normal.
Comment 4 Peter Landgren 2013-07-17 10:05:21 CEST
I uninstalled wine64 and tried to install wine, but then I get 
Ledsen, men följande paket kan inte väljas: which translates as
Sorry, but the following package can't be selected;
- wine-1.5.27-1.mga3.i586

If I try urpmi wine I get:
# urpmi wine
Följande paket kan inte installeras eftersom de är beroende av paket som
är äldre än de installerade paketen: which translates as
The following packages can't be installed as they are dependent of packages
which are older then the installed packages:
libdri-drivers-9.1.2-1.mga3.tainted
libmesagl1-9.1.2-1.mga3.tainted
libmesaglu1-9.0.0-2.mga3
wine32-1.5.27-1.mga3
wine-1.5.27-1.mga3
Fortsätt installation ändå? (J/n)
Proceed with the installation?
Comment 5 claire robinson 2013-07-17 11:07:43 CEST
There seems to be some problems with your media configuration Peter. The packages it is saying it can't find are the 32bit packages.

Could you add the result of 'urpmq --dump-config' please. 

Did you recently enable the 32bit medias? You might also try as root 'urpmi.update -a' to refresh the package lists of the enabled medias and try installing wine again.
Comment 6 Peter Landgren 2013-07-17 11:38:21 CEST
'urpmi.update -a' made it! I then installed wine64 and all works just fine!
Thanks a lot!

# urpmi.update -a
mediat "Core Release (distrib7)" är uppdaterat
mediat "Core 32bit Release (distrib9)" är uppdaterat
mediat "Core Updates (distrib10)" är uppdaterat
    rsync://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/3/i586/media/core/updates/media_info/20130716-083806-synthesis.hdlist.cz
uppdaterade media Core 32bit Updates (distrib12)
mediat "Nonfree Release (distrib22)" är uppdaterat                                                          
mediat "Nonfree 32bit Release (distrib24)" är uppdaterat
mediat "Nonfree Updates (distrib25)" är uppdaterat
    rsync://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/3/i586/media/nonfree/updates/media_info/20130709-183843-synthesis.hdlist.cz
uppdaterade media Nonfree 32bit Updates (distrib27)
mediat "Tainted Release (distrib37)" är uppdaterat                                                          
mediat "Tainted 32bit Release (distrib39)" är uppdaterat
mediat "Tainted Updates (distrib40)" är uppdaterat
    rsync://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/3/i586/media/tainted/updates/media_info/20130709-172729-synthesis.hdlist.cz
uppdaterade media Tainted 32bit Updates (distrib42)
[root@dell2 peter]#
Comment 7 claire robinson 2013-07-17 11:55:48 CEST
Great, that's good news :)

I'll close this as invalid then Peter as this wasn't really a bug with wine.

Thanks

Status: NEW => RESOLVED
Resolution: (none) => INVALID