On Mon, Aug 02, 2010, Vishwanath Sripathy wrote:
I tried to install xdeb on my ubuntu PC (V 10.04), but faced some issues. Attached is the error log. Any inputs?
Hmm right, this is ugly; the story is as follows: * xdeb uses a script called "debuild" which wraps the usual "dpkg-buildpackage" providing some nice services (like keeping a build log) * devscripts depends on tons of stuff, including a MTA * the default MTA, Postfix, fails to install in the chroot
Workarounds: * mount /proc as amitk suggested, so that the MTA installs * install without recommends, this probably will avoid pulling a MTA * pull a small MTA explicitly, or a fake one like lsb-invalid-mta (apt-get install lsb-invalid-mta xdeb -- I didn't actually try this one)
Proper fix, not quite sure: * perhaps try removing the dep on devscripts by copying debuild in xdeb, or by replacing the functionality? * only use debuild if available? * provide better instructions on installing xdeb in a chroot (Amit did it I think!)