[Bug 1062503] Re: apt fails to install libglapi-mesa-lts-quantal correctly on switching x stacks
David Kalnischkies
1062503 at bugs.launchpad.net
Tue Oct 23 23:34:18 UTC 2012
I guess I found the problem. Or in fact two problems, just that the
first hides the second and the second isn't an error condition. In
short: SmartConfigure for an M-A:same package will do a lock-step
configuration for all other ((to be) installed) archs. It just doesn't
check if the package it wants to configure was unpacked causing us to
configure not unpacked packages here.
The second is in SmartUnPack which does a similar looping over the
M-A:same architectures of a package, but this time of course for unpack
and that is the second "problem": It will happily unpack packages we
have already unpacked and configured as it isn't checking for that case
either -- as this can't happen anyway as you can see here. ;)
Your testcases have no problem with that change, but I have to admit
that I was unable to create a testcase for this bug so far (mvo's works,
it's just to big…). As this bug-ordering-solution has a rather unusual
way through dependency-hell it would be quiet good to have one though.
:/
(Attached is the same patch as in my lp branch for your cherry-picking
convenience -- patch-name-pun intended)
** Patch added: "apt-ubuntu-1062503-it-isnt-smart-to-work-too-much.diff"
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1062503/+attachment/3410941/+files/apt-ubuntu-1062503-it-isnt-smart-to-work-too-much.diff
--
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/1062503
Title:
apt fails to install libglapi-mesa-lts-quantal correctly on switching
x stacks
Status in “apt” package in Ubuntu:
New
Bug description:
I'm trying to get renaming x stacks between normal xorg and xorg from
quantal working, and for that the I've renamed all the xorg packages
with a conflicts/provides/replaces on the unrenamed packages.
This works reasonably well but now switching between them fails if I
have wine installed from ppa:~ubuntu-wine/ppa and ia32-libs installed.
I'm switching by installing ppa:ubuntu-x-swat/q-lts-backport , having
xorg-server updated and libgl1-mesa-{glx,dri}{,:i386} installed and
then installing with apt-get install xorg-server-lts-quantal
libgl1-mesa-{glx,dri}-lts-quantal{,:i386} for conflict resolution.
However, halfway through it installs libglapi-mesa-lts-quantal:i386
after removing libglapi-mesa for both archs, then proceeds to install
libgl1-mesa-glx-lts-quantal for both archs, but because libglapi-mesa-
lts-quantal:amd64 is not installed dpkg fails and you're stuck with a
broken installation.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1062503/+subscriptions
More information about the foundations-bugs
mailing list