2

I am trying to install wine on a 64-bit Natty.

It was installed, but one of my regular update & dist-upgrades removed it (didn't pay enough attention to which packages would be removed).

Now when I'm trying to install it, I get the following error:

The following packages have unmet dependencies:
 wine : Depends: wine1.3 but it is not going to be installed
        Depends: ia32-libs (>= 1.6) but it is not going to be installed
E: Broken packages

I found this question on askubuntu, but the accepted answer (change the mirror to the main one) didn't work for me.

I also tried to disable all sources that aren't enabled after a clean install, do an update an install wine, didn't work.

Here's my /etc/apt/sources.list (sans comments for brewity):

deb http://us.archive.ubuntu.com/ubuntu/ natty main restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ natty main universe restricted multiverse 

deb http://us.archive.ubuntu.com/ubuntu/ natty-updates main restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ natty-updates main universe restricted multiverse

deb http://us.archive.ubuntu.com/ubuntu/ natty universe
deb http://us.archive.ubuntu.com/ubuntu/ natty-updates universe

deb http://archive.canonical.com/ubuntu natty partner
deb-src http://archive.canonical.com/ubuntu natty partner

deb http://us.archive.ubuntu.com/ubuntu/ natty-security main restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ natty-security main universe restricted multiverse
deb http://us.archive.ubuntu.com/ubuntu/ natty-security universe

deb http://linux.dropbox.com/ubuntu natty main
deb-src http://linux.dropbox.com/ubuntu natty main

deb http://ppa.launchpad.net/libv4l/ppa/ubuntu natty main
deb-src http://ppa.launchpad.net/libv4l/ppa/ubuntu natty main

deb http://apt.mucommander.com stable main non-free contrib

deb http://extras.ubuntu.com/ubuntu natty main
deb http://archive.canonical.com/ natty partner
deb-src http://archive.canonical.com/ natty partner

And here's the contents of the files in /etc/apt/sources.list.d/:

deb http://ppa.launchpad.net/gm-notify-maintainers/ppa/ubuntu natty main
deb http://ppa.launchpad.net/gm-notify-maintainers/ppa/ubuntu natty main

deb http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu natty main
deb-src http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu natty main

deb http://deb.opera.com/opera/ stable non-free

deb http://ppa.launchpad.net/resmo/git-ftp/ubuntu natty main
deb-src http://ppa.launchpad.net/resmo/git-ftp/ubuntu natty main

deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu natty main

deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu natty main
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu natty main
5
  • Have you installed the dependencies? ia32-libs?. Also to install wine is apt-get install wine1.3 or wine1.2 for the stable version, wine is to actually execute the program, so apt-get install wine will not work. Jan 6, 2012 at 9:40
  • ia32 is one of the dependencies that cannot be installed. If it could be, apt-get would have handled that for me automatically. ia32-libs depends on lib32v4l-0, and there's no suck package at all. Also: wine is actually a metapackage that depends on wine1.3 if you have the wine ppa installed (see the top: wine depends on wine1.3).
    – Maerlyn
    Jan 6, 2012 at 9:42
  • I just downloaded ia32-libs as a .deb from packages.ubuntu.com but it cannot be installed because lib32v4l-0 is missing. Also did a search for that, that package is oneiric-only.
    – Maerlyn
    Jan 6, 2012 at 9:47
  • I mean install the oneiric package.I guess you already tried to just install wine1.3 instead of the meta package?. Jan 6, 2012 at 9:53
  • I didn't realize I could install oneiric packages on natty, but that seems to have worked, wine is being installed right now. Please add your solution as an answer and I shall accept it.
    – Maerlyn
    Jan 6, 2012 at 10:02

1 Answer 1

2

By installing the missing ia32-libs the problem can be reoslved as it's a missing dependency, the OP had encountered that ia32-libsdepends on lib32v4l-0 but the package is only available for Oneiric.

Installing the .deb for lib32v4l-0 solves the dependencies for ia32-libs which in turn solves the dependency for wine.

1
  • Actually, on oneiric ia32-libs provides libv4l32-0, so that's the only package I needed.
    – Maerlyn
    Jan 6, 2012 at 10:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .