Can't install wine (or ia32-libs) in Ubuntu 12.10 64 bit

29,145

Solution 1

Okay. So I found out what caused my problems. It was probably some PPAs with certain packages that created the dependency issues. While surfing randomly at Askubuntu last night, I came across an answer that fixed my problem.

Here is the answer, just modified so it works for Ubuntu 12.10:

First a downgrade is required and done with the following: create the 'preferences' file:

sudo vi /etc/apt/preferences

and insert the following lines:

Package: *       
Pin: release a=quantal*
Pin-Priority: 2012

enter :wq to write the file. Pin-Priority must be greater than 1000.

Then you may downgrade the offending applications with:

sudo apt-get dist-upgrade

And that was it. Installing wine, crossover and ia32-libs now work. Why this happened when I ran a freshly downloaded 12.10 version of Ubuntu live I don't know and don't understand.

Thank you all for trying to help!

Solution 2

This drove me crazy as well. I installed Ubuntu 64-bit using plain debootstrap from a 32-bit Ubuntu lucid (booting a newer 64-bit kernel).

After digging through forums and documentation I found out that I had to do:

dpkg --add-architecture i386

(actually I found a page on disabling multiarch and figured out that it was not enabled in the first place)

Share:
29,145

Related videos on Youtube

carestad
Author by

carestad

Been using Ubuntu since 2007. Studying new media at The University of Bergen, work part time as a web consultant. Do a lot of web development on my spare time, trying to take part of the Ubuntu community and help out as often as I can.

Updated on September 18, 2022

Comments

  • carestad
    carestad over 1 year

    As already pointed out here, people seems to have issues with installing wine in the latest version of Ubuntu. I'm suspecting this only happens with 64 bit users.

    For example, when trying to install wine or ia32-libs with apt-get, I get a lot of dependency errors. Doing a sudo apt-get -f install doesn't seem to do the trick, neither does using aptitude.

    The errors I get is normally that the packages depend on some :i386 package, but installing those manually doesn't work either because they also have dependency issues (isn't APT supposed to do this automatically?!). I also downloaded CrossOver today and tried installing the .deb manually, but the dependency issues show up there as well. When running sudo apt-get -f install after trying to install the CrossOver .deb, apt-get wants to purge the following packages:

    • ia32-crossover
    • intel-gpu-tools
    • libdrm-nouveau2
    • libgl1-mesa-dri
    • libva-x11-1
    • ubuntu-desktop
    • vlc
    • xorg
    • xserver-xorg-video-ati
    • xserver-xorg-video-intel
    • xserver-xorg-video-modesetting
    • xserver-xorg-video-openchrome
    • xserver-xorg-video-radeon
    • xserver-xorg-video-vmware

    What I've tried so far (and didn't work):

    • Installing synaptic, reloading my repositories, searching for ia32 and installing ia32-libs.
    • Using Ubuntu Software Center to install Wine and ia32-libs.
    • Using apt-get and aptitude to install all the differend varieties of the wine packages, both with and without the :i386 and -amd64 suffixes in package names.
    • Disabling the universe and multiverse repos, run a sudo apt-get update and then re-enable them again.
    • Boot a newly downloaded Ubuntu 12.10 x64 live USB and try to install all the different packages there.

    What I've tried so far (that actually DID work):

    • Installing 12.10 x64 in VirtualBox and installing wine1.4-amd64.

    What I haven't tried (yet):

    • Boot a newly downloaded Ubuntu 12.10 x32 image and try to install wine there (I'm just guessing that will work).
    • Reinstall Ubuntu.
    • Throw my computer out a window.

    wine

    alexander@cosmo:~$ LANGUAGE=en_US sudo apt-get install wine
    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:
     wine : Depends: wine1.5 but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
    

    wine-1.4

    alexander@cosmo:~$ sudo apt-get install wine1.4
    (...)
    The following packages have unmet dependencies:
     wine1.4 : Depends: wine1.4-i386 (= 1.4.1-0ubuntu1)
    E: Unable to correct problems, you have held broken packages.
    

    ia32-libs

    alexander@cosmo:~$ sudo apt-get install ia32-libs
    (...)
    The following packages have unmet dependencies:
     ia32-libs : Depends: ia32-libs-multiarch
    E: Unable to correct problems, you have held broken packages.
    
    • carestad
      carestad over 11 years
      @green7 I should have mentioned that installing ia32-libs-multiarch doesn't work either.
  • Dr_Bunsen
    Dr_Bunsen over 11 years
    installing wine with the terminal(sudo apt-get install wine) worked fine for me. And quite right, it seems he is missing that Ia32 package.
  • carestad
    carestad over 11 years
    @Dr_Bunsen doesn't work here. Maybe my entire software catalog is broken somehow. If that's the case, I wouldn't know how to fix it :-S
  • KashmirHackers
    KashmirHackers over 11 years
    @carestad use ubuntu software center as I said above
  • carestad
    carestad over 11 years
    @KashmirHackers yes, I did, but that didn't help.
  • Dr_Bunsen
    Dr_Bunsen over 11 years
    @carestad use sudo apt-get update -f, what do you get?
  • carestad
    carestad over 11 years
    @Dr_Bunsen nothing special. As with sudo apt-get -f install after running sudo apt-get install wine. I just tried purging all my previously installed i386 packages (installed by Skype it seems), but that didn't do much good either.
  • KashmirHackers
    KashmirHackers over 11 years
    @carestad did you tried installing this package "Ia32 shared libraries - transitional package", you should try it
  • carestad
    carestad over 11 years
    @KashmirHackers yes. I tried it just like you described it. The "ia32 shared libraries - transitional package" is the same as the ia32-libs package when using apt-get. But I've tried it both in Ubuntu Software Center and with apt-get.
  • carestad
    carestad over 11 years
    Okay. The problem is that I haven't used Wine for a couple of years, so I probably didn't try it in 12.04. I did try to install synaptic (isn't installed by default in Ubuntu anymore) and reload the repositories and search for ia32 but that didn't lead me to something that hasn't happened before. It still wants to remove a bunch of vital packages.
  • carestad
    carestad over 11 years
    Update: I just ran fresh install in VirtualBox of 12.10 x64, and there it actually worked, which leads me to believe that this could have something to do with my hardware setup and what drivers (xorg drivers?) are installed on my computer. VirtualBox use very generic hardware so it's possible this just affects people with certain hardware.
  • jdthood
    jdthood over 11 years
    Is it possible that the machine referred to in your original question has third-party packages installed (e.g., from your attempt to install CrossOver) that are incompatible with the wine packages that you now want to install?
  • carestad
    carestad over 11 years
    It's possible. I use some PPA's, but shouldn't that be eliminated when I booted the same computer through a live USB and tried installing Wine there?
  • philcolbourn
    philcolbourn over 11 years
    this did not help me.
  • Albert
    Albert about 11 years
    apt-get update after that and it worked! I had done the same: Installed Ubuntu 64bit via debootstrap.