I was curious about whether or not this was still necessary as bug 1892879 has been resolved now. However, one still needs to manually install python-ubuntutools to be able to test sbuild-launchpad-chroot and then it still fails.
bdmurray@clean-bionic-amd64:~$ sudo sbuild-launchpad-chroot create -n bionic -s bionic -a $(dpkg --print-architecture)
[bionic] Creating config
Traceback (most recent call last):
File "/usr/bin/sbuild-launchpad-chroot", line 376, in <module>
args.func(args)
File "/usr/bin/sbuild-launchpad-chroot", line 67, in create_chroot
host_arch = host_architecture()
File "/usr/lib/python2.7/dist-packages/ubuntutools/misc.py", line 96, in host_architecture
encoding='utf-8').strip()
File "/usr/lib/python2.7/subprocess.py", line 216, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'encoding'
I was curious about whether or not this was still necessary as bug 1892879 has been resolved now. However, one still needs to manually install python-ubuntutools to be able to test sbuild- launchpad- chroot and then it still fails.
bdmurray@ clean-bionic- amd64:~ $ sudo sbuild- launchpad- chroot create -n bionic -s bionic -a $(dpkg --print- architecture) sbuild- launchpad- chroot" , line 376, in <module> sbuild- launchpad- chroot" , line 67, in create_chroot python2. 7/dist- packages/ ubuntutools/ misc.py" , line 96, in host_architecture 'utf-8' ).strip( ) python2. 7/subprocess. py", line 216, in check_output
[bionic] Creating config
Traceback (most recent call last):
File "/usr/bin/
args.func(args)
File "/usr/bin/
host_arch = host_architecture()
File "/usr/lib/
encoding=
File "/usr/lib/
process = Popen(stdout=PIPE, *popenargs, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'encoding'
So this SRU is still necessary.