[Bug 831768] Re: aptitude cannot handle conflicts with multiarch enabled
Daniel Hartwig
831768 at bugs.launchpad.net
Sat Aug 4 10:06:29 UTC 2012
On 4 August 2012 17:12, Fyodor Kupchik <831768 at bugs.launchpad.net> wrote:
> However, after update
> and pressing CTRL+G I see that aptitude still unable to
> understand that libqt4-gui both i386 and amd64 can coesist
> like apt-get does.
libqt4-gui is not multi-arch: same and apt-get does not support
installing on both amd64 and i386:
# apt-get -s install libqt4-gui:i386 libqt4-gui:amd64
…
The following packages have unmet dependencies:
libqt4-gui:amd64 : Conflicts: libqt4-gui but 4:4.8.2-2 is to be installed
libqt4-gui : Conflicts: libqt4-gui:amd64 but 4:4.8.2-2 is to be installed
Do you instead mean the libraries depended on by libqt4-gui
(libqt4-designer, -opengl, -svg, libqtgui4)?
> Tested with Aptitude::ProblemResolver::StepLimit "0"; hack applied.
You should remove that when testing the problem resolver.
--
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