aptitude cannot handle conflicts with multiarch enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptitude |
Fix Released
|
Unknown
|
|||
Baltix |
Invalid
|
Undecided
|
Unassigned | ||
aptitude (Debian) |
Fix Released
|
Unknown
|
|||
aptitude (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Oneiric |
Invalid
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
* Inability to use aptitude on multi-arch systems. Any action which results in a packaging conflict, or otherwise broken package, invokes the problem resolver which will proceed to remove *all* foreign-arch packages.
The packages are removed always, even if they are unrelated to the problem being resolved. In the usual case, the problem resolver is unable to find any solution which does not involve removing all foreign-arch packages.
[Fix]
As attached. Update the problem resolver to be more informed about multi-arch packages and specifically the implicit package relations associated
with them.
[Test Case]
1. Enable multiarch (should be automatic on new oneiric systems)
2. Install an i386 package on amd64 (like flashplugin-
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).
*** It has been suggested that this wait longer than 7 days in -proposed for Precise so that it can be extensively tested. ***
[Workaround]
1. If you can survive without 32 bit libraries, just comment out the single line in /etc/dpkg/
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:
[Regression Potential]
* Minimal. Patch has received extensive testing in Sid/Wheezy (since September 2012), and Quantal (October 2012). No regressions have been reported.
* Some package relations, particularly conflicts and breaks, may be wrongly ignored and packages not identified as broken by aptitude. This can leave a system in a broken state and/or result in dpkg errors.
* Any complex dependency situation is potentially handled incorrectly.
* Multiple user confirmations that the patch works on aptitude 0.6.6.
[Original Report]
ProblemType: BugDistroRelease: Ubuntu 11.10
Package: aptitude 0.6.4-1ubuntu2
Architecture: amd64
summary: |
- aptitude cannot handle the same packages of diff architectures being - installed + aptitude cannot handle the same packages of different architectures + being installed |
Changed in aptitude (Ubuntu): | |
status: | New → Confirmed |
tags: | added: testcase |
description: | updated |
summary: |
- aptitude cannot handle the same packages of different architectures - being installed + aptitude cannot handle conflicts with multiarch enabled |
description: | updated |
tags: | added: rls-mgr-o-tracking |
Changed in aptitude (Ubuntu Oneiric): | |
importance: | Undecided → High |
Changed in aptitude (Ubuntu Oneiric): | |
status: | Confirmed → Won't Fix |
Changed in aptitude (Ubuntu Precise): | |
status: | New → Confirmed |
tags: |
added: rls-mgr-p-tracking removed: rls-mgr-o-tracking |
Changed in aptitude (Ubuntu Oneiric): | |
status: | Won't Fix → Triaged |
Changed in aptitude (Ubuntu Precise): | |
status: | Confirmed → Triaged |
Changed in aptitude (Ubuntu): | |
status: | Confirmed → Triaged |
tags: | added: rls-p-tracking |
Changed in aptitude (Ubuntu Precise): | |
milestone: | none → ubuntu-12.04 |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
tags: | added: bjf-debug |
Changed in aptitude (Ubuntu Precise): | |
importance: | Undecided → High |
Changed in aptitude: | |
status: | Unknown → Fix Committed |
Changed in aptitude (Debian): | |
status: | Unknown → Fix Committed |
Changed in aptitude (Debian): | |
status: | Fix Committed → Fix Released |
Changed in aptitude: | |
status: | Fix Committed → Fix Released |
tags: | removed: rls-p-tracking |
Changed in baltix: | |
status: | Invalid → Incomplete |
description: | updated |
Changed in aptitude: | |
importance: | Unknown → Undecided |
status: | Fix Released → New |
Changed in aptitude (Debian): | |
importance: | Unknown → Undecided |
status: | Fix Released → New |
Changed in aptitude: | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in aptitude: | |
status: | Unknown → New |
Changed in aptitude (Ubuntu): | |
milestone: | ubuntu-12.04 → none |
assignee: | Colin Watson (cjwatson) → nobody |
description: | updated |
Changed in aptitude (Ubuntu Precise): | |
milestone: | ubuntu-12.04 → ubuntu-12.04.1 |
Changed in aptitude: | |
status: | New → Confirmed |
Changed in aptitude (Debian): | |
importance: | Undecided → Unknown |
status: | New → Unknown |
tags: | added: patch |
Changed in aptitude (Debian): | |
status: | Unknown → Confirmed |
Changed in aptitude: | |
status: | Confirmed → Fix Released |
Changed in aptitude (Debian): | |
status: | Confirmed → Fix Released |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Worth mentioning in the known issues section of oneiric release notes?