Comment 4 for bug 1076165

Revision history for this message
adamski99 (adamsomerville) wrote :

hi,
i have a similar problem with editing my repositorys, i have tried various things and edited /var/lib/dpkg/available and /var/lib/dpkg/status in an atempt to fix the issue, i thought it might be this bug: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1053749

whenever i try to open software-propertys-gtk i get:

$ software-properties-gtk
gpg: /tmp/tmp5icpr7/trustdb.gpg: trustdb created
Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 103, 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 834, in show_keys
    for key in self.apt_key.list():
  File "/usr/lib/python3/dist-packages/softwareproperties/AptAuth.py", line 77, in list
    for line in p:
  File "/usr/lib/python3.2/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1140: ordinal not in range(128)

Is there any way to reset / reinstal this bit of the repo management??

a way to get back the "default" /var/lib/dpkg/available and /var/lib/dpkg/status??

im running 12.10

many thanks

ads