I have just pushed a possible solution, can you please test whether this works for you?
If I understood the problem correctly, your attempt to change os.environ didn't work because by default `sudo' strips out all unknown variables (see "sudo -s 'sudo -V'"). This can be worked around by defining them inside the sudo call as I did. ** Changed in: ubuntu-dev-tools (Ubuntu) Status: Confirmed => Fix Committed -- pbuilder-dist and flexible configuration files https://bugs.launchpad.net/bugs/628933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs