After upgrading from Ubuntu 12.04 LTS to 14.04.1 LTS I have the same
error, slightly different:

root@amd8:/home/helmut# software-properties-gtk
Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 101, in <module>
    app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, 
file=file)
  File 
"/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py",
 line 169, in __init__
    self.show_keys()
  File 
"/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py",
 line 846, in show_keys
    for key in self.apt_key.list():
  File "/usr/lib/python3/dist-packages/softwareproperties/AptAuth.py", line 75, 
in list
    for line in p:
  File "/usr/lib/python3.4/codecs.py", line 313, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 1440: 
invalid start byte

I tried the methods described above with gedit and "cat /var/lib/dpkg/available 
| iconv -c -f utf-8 -t utf-8 > /tmp/available.fixed
root@amd8:/var/lib/dpkg# cat /var/lib/dpkg/available | iconv -c -f utf-8 -t 
utf-8 > /tmp/available.fixed, but the error is still present. I did not install 
davmail etc.

Can anyone help me? Ubuntu 14.04.1 is quite new, perhaps are there other
reasons.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1053749

Title:
  UnicodeDecodeError from broken package descriptions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1053749/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to