Oneric's ia32-libs has unresolved dependencies, breaks subversion

Reported by Lucas Magasweran on 2011-10-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)

Bug Description

On my clean installation of Ubuntu 11.10 64-bit I installed subversion using apt-get. I tested it and it works. Afterwards I install ia32-libs using apt-get (for a binary toolchain I use). Then I notice subversion no longer runs (file not found). If I run aptitude on another machine where I've clean-installed Oneric I see the following when attempting to install ia32-libs:

Leave the following dependencies unresolved:
100) ia32-libs recommends ia32-libs-multiarch
101) libdbus-1-3 recommends dbus
102) libgl1-mesa-glx recommends libgl1-mesa-dri (>= 7.2)
103) libqt4-sql recommends libqt4-sql-mysql | libqt4-sql-odbc | libqt4-sql-psql | libqt4-sql-sqlite
104) sysvinit-utils recommends upstart (>= 0.6.3-4)

Steve Langasek (vorlon) wrote :

These are unresolved recommends, not broken dependencies. They are expected.

And I don't know what broke subversion for you, but it wasn't ia32-libs. You didn't give the text of the error message, so it's impossible for us to diagnose.

Changed in ia32-libs (Ubuntu):
status: New → Invalid
Lucas Magasweran (lucasrangit) wrote :

Let me try and recreate the problem and capture all the error messages.

Lucas Magasweran (lucasrangit) wrote :

The error when executing Subversion is:

user@host:~$ svn --version
bash: /usr/bin/svn: No such file or directory

Lucas Magasweran (lucasrangit) wrote :

Here's the installation log of the ia32-libs package.

Lucas Magasweran (lucasrangit) wrote :

Before installing the ia32-libs package I can run Subversion:

user@host:~$ svn --version
svn, version 1.6.12 (r955767)
   compiled Aug 5 2011, 17:07:24

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

user@host:~$ sudo apt-get install ia32-libs | tee ia32-libs.txt
(see log in previous comment)

Lucas Magasweran (lucasrangit) wrote :

Oh! I see my confusion now. Sorry, but it appears ia32-libs uninstalled subversion (that would explain why I cannot execute it). If I try to re-install it I get the following error message:

user@host:~$ sudo apt-get install subversion | tee subversion.txt
Reading package lists...
Building dependency tree...
Reading state information...
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:
 subversion : Depends: libsvn1 (= 1.6.12dfsg-4ubuntu5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Lucas Magasweran (lucasrangit) wrote :

I've just performed the exact same steps on a clean installation of 11.04 64-bit and have a working installation of Subversion after the installation of the ia32-libs package. Please let me know if there's any more information I can provide.

Steve Langasek (vorlon) wrote :

For some reason, the ia32-libs install is pulling libxml2 in on your system. Please show the output of this command:

sudo apt-get install ia32-libs ia32-libs-multiarch:i386 libxml2

Lucas Magasweran (lucasrangit) wrote :

Hi Steve, thanks for follow up. Here's the output:

user@host:~$ sudo apt-get install ia32-libs ia32-libs-multiarch:i386 libxml2
[sudo] password for svn:
Reading package lists... Done
Building dependency tree
Reading state information... Done
ia32-libs is already the newest version.
ia32-libs-multiarch:i386 is already the newest version.
ia32-libs-multiarch:i386 set to manually installed.
The following packages were automatically installed and are no longer required:
  libapr1 libaprutil1
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  libxml2:i386 shared-mime-info:i386
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B/673 kB of archives.
After this operation, 2,232 kB disk space will be freed.
Do you want to continue [Y/n]?

Steve Langasek (vorlon) wrote :

ok, so the culprit is shared-mime-info; for some reason apt calculated that it would be better to install the i386 version of this package instead of the amd64 one, despite the package being Multi-Arch: foreign (meaning any architecture will suffice, but the native architecture is preferred). And shared-mime-info has to have a matching version of libxml2, which has not been converted yet for multiarch, resulting in the amd64 version being kicked out.

If you had already had the amd64 shared-mime-info installed before installing ia32-libs, this probably would not have occurred.

Assigning this bug to apt, which should be more aggressive about preferring the amd64 package versions.

affects: ia32-libs (Ubuntu) → apt (Ubuntu)
Changed in apt (Ubuntu):
importance: Undecided → Low
status: Invalid → Triaged
Lucas Magasweran (lucasrangit) wrote :

That works! So the workaround I just tested from a clean-install is:

$ sudo apt-get install shared-mime-info
$ sudo apt-get install ia32-libs
$ sudo apt-get install subversion
$ $ svn --version
svn, version 1.6.12 (r955767)
   compiled Aug 5 2011, 17:07:24


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

Other bug subscribers