[Bug 1130707] Re: apt doesn't handle multi-arched provides properly
David Kalnischkies
1130707 at bugs.launchpad.net
Wed Feb 20 15:50:22 UTC 2013
*** This bug is a duplicate of bug 1130419 ***
https://bugs.launchpad.net/bugs/1130419
** This bug is no longer a duplicate of bug 1130714
apt doesn't handle multi-arched provides properly
** This bug has been marked a duplicate of bug 1130419
apt resolver doesn't do sensible things when satisfying a cross-dependency on a virtual package (steam, wine)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1130707
Title:
apt doesn't handle multi-arched provides properly
Status in “apt” package in Ubuntu:
New
Bug description:
affects ubuntu/apt
subscribe jpugh
subscribe dpitkin
subscribe sarvatt
subscribe slangasek
subscribe
When installing steam:i386 in a fresh amd64 Ubuntu 12.04.2 installation, apt-get
chooses to forcibly uninstall the entire X11 stack.
The dependencies in question are:
- steam:i386 depends on libgl1-mesa-{glx,dri}
- libgl1-mesa-{glx,dri}-lts-quantal:amd64 are installed
- libgl1-mesa-{glx,dri}-lts-quantal:i386 are not installed
- libgl1-mesa-{glx,dri}:i386 are not installed.
- libgl1-mesa-{glx,dri}-lts-quantal Provides: libgl1-mesa-{glx,dri}
- libgl1-mesa-{glx,dri}-lts-quantal Conflicts: libgl1-mesa-{glx,dri}
PROBLEM:
Facing this situation, when apt-get is told to install steam:i386, it chooses to
install libgl1-mesa-{glx,dri}:i386 instead of
libgl1-mesa-{glx,dri}-lts-quantal:i386 (which can satisfy the dependency due to
the Provides field being set appropriately). This forces
libgl1-mesa-{glx,dri}:amd64 to be uninstalled due to the conflicts relationship
as mentioned above.
Conversely, if libgl1-mesa-{glx,dri}-lts-quantal:i386 is already installed,
apt-get install steam:i386 does the right thing.
Amending steam:i386 to depend on libgl1-mesa-{glx,dri}-lts-quantal |
libgl1-mesa-{glx,dri}-lts-quantal fixes the issue for those with the LTS
Enablement Stack installed, but causes this bug to manifest on systems on the
older stack. Reversing the order of the packages in the bar dependency (foo |
foo-lts-quantal) also doesn't work.
[1] https://wiki.ubuntu.com/Kernel/LTSEnablementStack
--
Kind regards,
Loong Jin
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1130707/+subscriptions
More information about the foundations-bugs
mailing list