Estou usando o Ubuntu 12.10. Ontem notei que o software-properties-gtk não funciona mais. Não faço ideia do porquê e do que fazer. Quando eu começo via Terminal eu recebo a seguinte saída:
chocobai@pfubuntu:~$ software-properties-gtk
gpg: /tmp/tmpgkhlnl/trustdb.gpg: trust-db erzeugt
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 162, in packages_for_modalias
cache_map = packages_for_modalias.cache_maps[apt_cache_hash]
KeyError: 4726621
During handling of the above exception, another exception occurred:
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 178, in __init__
self.init_drivers()
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1097, in init_drivers
self.devices = detect.system_device_drivers()
File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 415, in system_device_drivers
for pkg, pkginfo in system_driver_packages(apt_cache).items():
File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 319, in system_driver_packages
for p in packages_for_modalias(apt_cache, alias):
File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 164, in packages_for_modalias
cache_map = _apt_cache_modalias_map(apt_cache)
File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 129, in _apt_cache_modalias_map
m = package.candidate.record['Modaliases']
File "/usr/lib/python3/dist-packages/apt/package.py", line 429, in record
return Record(self._records.record)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 777: invalid start byte
chocobai@pfubuntu:~$
O que eu quero fazer é reinstalar completamente os drivers gráficos proprietários da ATI, porque o jogo DungeonDefenders não inicia. Também o software-properties-gtk é útil para gerenciar repositórios.
Eu pensei em apt-get purge software-properties-gtk, mas não tenho certeza se isso é seguro ou se eu quebraria alguma coisa.