ia32-libs won't install unless I also install libgd2-xpm:i386
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
graphviz (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
On Ubuntu 12.04.1 LTS installed using lxc (i.e. headless), doing
$ sudo apt-get install ia32-libs
fails with
The following packages have unmet dependencies:
ia32-libs : Depends: ia32-libs-multiarch
$ sudo apt-get install ia32-libs-multiarch
says
The following packages have unmet dependencies:
ia32-libs-
$ sudo apt-get install libgphoto2-2:i386
says
The following packages have unmet dependencies:
libgphoto2-2:i386 : Depends: libgd2-xpm:i386 (>= 2.0.36~rc1~dfsg) but it is not going to be installed
And hey presto,
$ sudo apt-get install libgd2-xpm:i386 ia32-libs
says
The following packages will be REMOVED:
libgd2-noxpm libgraphviz-dev libgvc5 libmagick++-dev libmagickcore-dev libmagickcore4-
but works!
(Since my real need was to run the android sdk, I ended up installing a subset instead of the full-on ia32-libs, e.g.
sudo apt-get install libc6:i386 zlib1g:i386 libstdc++6:i386
but figured I'd mention the workaround here in case it helped others.)
The libgphoto2-2 dependency on libgd2-xpm is correct; and since libgd2-xpm and libgd2-noxpm conflict, you must have the xpm version of both the i386 and amd64 versions of libgd2. That makes this a bug in graphviz, for preferring the noxpm version of libgd2. We have taken care to enforce libgd2-xpm as the preferred version for all packages on the Ubuntu CD for reasons such as this; that should be extended to other packages as well.