[Bug 831768] Re: aptitude cannot handle conflicts with multiarch enabled

Edward Donovan launchpad at numble.net
Sun Aug 5 19:15:29 UTC 2012


Hi Daniel, thanks for the patch!  It looks good to me so far.

I patched and built the current version from Quantal, 0.6.6-1ubuntu2.

In the fullscreen text interface, I played around, marking needed
packages for deletion.  The resolver only showed the actual dependencies
as problems, and didn't flag any foreign-arch packages.  Without the
patch, I certainly hit the bug: whenever a conflict comes up, it wants
to remove all the i386 packages from my amd64 system.

I'll try to keep testing it in normal use for a while.

(I tried to build it against 0.6.8 from the debian source, but the gtest
stuff wouldn't build.  I was compiling it with dpkg-buildpackage, and
couldn't find how to skip building those tests.)

Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/831768

Title:
  aptitude cannot handle conflicts with multiarch enabled

Status in aptitude:
  Confirmed
Status in “aptitude” package in Ubuntu:
  Triaged
Status in “aptitude” source package in Oneiric:
  Triaged
Status in “aptitude” source package in Precise:
  Triaged
Status in Baltix GNU/Linux:
  Incomplete
Status in “aptitude” package in Debian:
  Unknown

Bug description:
  TEST CASE:
  1. Enable multiarch (should be automatic on new oneiric systems)
  2. Install an i386 package on amd64 (like flashplugin-installer:i386)
  3. Mark something with a lot of dependencies for installation
  4. On the confirmation screen, try to remove on of the dependencies (aptitude will now fail to perform upgrades when there's a package conflict w/out removing the i386 libs)

  This renders aptitude painful on a multiarch enabled system (default
  in oneiric).

  WORKAROUND:
  1. If you can survive without 32 bit libraries, just comment out the single line in /etc/dpkg/dpkg.cfg.d/multiarch; or
  2. Use another package manager (e.g. apt-get, synaptic, or Software Center)
  3. Disable the problem resolver by adding this line in /etc/apt/apt.conf:

  Aptitude::ProblemResolver::StepLimit "0";

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: aptitude 0.6.4-1ubuntu2
  Architecture: amd64

To manage notifications about this bug go to:
https://bugs.launchpad.net/aptitude/+bug/831768/+subscriptions




More information about the foundations-bugs mailing list