I can finally reproduce this now with the lp:~mvo/+junk/test-case-
lp940396 branch and the lp:~mvo/apt/debian-experimental2 branch:
"./run.sh /path/to/debian-experimental2/build/bin/apt-get" triggers it
for me.
There are various workaround:
- add versionized dependency of libsmbclient (>= 2:3.6.3) to kde-runtime that
ensures libsmbclient is unpacked early
- add breaks to kde-runtime against libsmbclient (<= 2:3.6.1) (just like
libkrb5-3)
But of course those are workaround not fixes.
One fix that works for me is to do:
=== modified file 'apt-pkg/packagemanager.cc'
--- apt-pkg/packagemanager.cc 2012-03-07 08:20:31 +0000
+++ apt-pkg/packagemanager.cc 2012-03-12 15:08:19 +0000
@@ -742,7 +742,7 @@
}
if (PkgLoop == false)
List->Flag(Pkg,pkgOrderList::Loop);
- SmartUnPack(BrokenPkg, false, Depth + 1);
+ SmartUnPack(BrokenPkg, true, Depth + 1);
if (PkgLoop == false)
List->RmFlag(Pkg,pkgOrderList::Loop);
}
So essentially calling unpack with immediately configure to ensure that the
package is fully ready early. But that is
slightly risky as it will have side-effects beyond this one bug. It does work
for me though.
I'm looking into more possible solutions.
--
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