I've tested 0.11-1 current Lenny. Same problem: sudo aptitude install python-all-dev python-pkg-resources is not enough. Need also sudo aptitude install python-setuptools to be able to build trac. -- Zaar