Thank you for taking the time to report this bug and helping to make Ubuntu better.
dpkg_resource parses the output of dpkg --version. Since you're using a de_DE locale, this contains non-ascii characters which are causing the problem.
Traceback (most recent call last):
File "/usr/share/checkbox/scripts/dpkg_resource", line 56, in <module>
sys.exit(main())
File "/usr/share/checkbox/scripts/dpkg_resource", line 47, in main
dpkg = get_dpkg()
File "/usr/share/checkbox/scripts/dpkg_resource", line 38, in get_dpkg
output.decode("ascii"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 7: ordinal not in range(128)
I'll set as triaged with importance: High as this will hit everyone not using an english locale.
Thank you for taking the time to report this bug and helping to make Ubuntu better.
dpkg_resource parses the output of dpkg --version. Since you're using a de_DE locale, this contains non-ascii characters which are causing the problem.
Steps to reproduce:
1- sudo apt-get install language- pack-de{ ,-base} checkbox/ scripts/ dpkg_resource
2- LANGUAGE=de_DE LANG=de_DE.UTF-8 /usr/share/
Expected result:
version: 1.16.1.2
architecture: i386
Actual result:
Traceback (most recent call last): checkbox/ scripts/ dpkg_resource" , line 56, in <module> exit(main( )) checkbox/ scripts/ dpkg_resource" , line 47, in main checkbox/ scripts/ dpkg_resource" , line 38, in get_dpkg decode( "ascii" ))
File "/usr/share/
sys.
File "/usr/share/
dpkg = get_dpkg()
File "/usr/share/
output.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 7: ordinal not in range(128)
I'll set as triaged with importance: High as this will hit everyone not using an english locale.