I don't have lucid to test, but I backported the change from http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/lucid/python2.6/lucid/revision/42#debian/patches/distutils-install-layout.dpatch to karmic and I can confirm that it solves the problem.
I don't have lucid to test, but I backported the change from http:// bazaar. launchpad. net/~ubuntu- branches/ ubuntu/ lucid/python2. 6/lucid/ revision/ 42#debian/ patches/ distutils- install- layout. dpatch to karmic and I can confirm that it solves the problem.