First A simple workaround for this specific case:
Move the libsmbclient dependency in kde-runtime from somewhere in the middle to 
the end of the dependency list.

The problem:
Imagine a package A depending on B and C. B depends on nothing and C breaks the 
"old" installed B.
In some situations (not many, usually the ordering prevents this, but "loops" 
can trigger this) APT will look at package A first:
Dependency B is satisfied with the version installed. Fine. Next dependency is 
C - this dependency is broken as an old B is installed. We fix this by 
unpacking the new version of B. Dependency C is fine now, too. But hang on a 
minute: The first dependency we checked isn't satisfied anymore, just that APT 
doesn't notice this and tries to configure A now as it thinks all dependencies 
are satisfied…

Michaels hot-fix above works here - as you might guess - as it will
force APT to not only unpack B for C, but also configure it. Problem
solved - but as Michael hinted this isn't side-effect free (it would do
this for dependency D of C, too, even through it's not needed for D and
therefore increases the complexity of the solution - if we are able to
find one with this added).

In a few seconds launchpad should link my branch to this bug. Rev 2229
and 2230 (subject to change after merge/pull) fixes this problem by re-
checking the dependencies in case we have "changed" anything (damn, this
sounds so easy…). This shouldn't have a side-effect, but as this is
quiet a bit of a change source-wise Michael will push it through a few
testcases before we throw that at the general public…

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

Title:
  lucid -> precise main all failed to upgrade: dpkg: dependency problems
  prevent configuration of kde-runtime

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/940396/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to