I'm not sure if it's totally the correct fix or not, but setting the option below seems to resolve the issue.

apt_pkg.config.set('Dpkg::Use-Pty', "0")

Thanks,
Blake

Reply via email to