Narcochaos
(usa Crunchbang)
Enviado em 07/11/2013 - 15:20h
Eu resolvi um problema agora tenho outro que é o software center que não abre ele da o seguinte erro:
Desempacotando software-center (de .../software-center_5.6.0-0ubuntu2_all.deb) ...
Processando gatilhos para hicolor-icon-theme ...
Processando gatilhos para bamfdaemon ...
Rebuilding /usr/share/applications/bamf-2.index...
Processando gatilhos para desktop-file-utils ...
Processando gatilhos para gnome-menus ...
Processando gatilhos para man-db ...
Configurando software-center (5.6.0-0ubuntu2) ...
ERROR:root:DebFileApplication import
Traceback (most recent call last):
File "/usr/share/software-center/softwarecenter/db/__init__.py", line 4, in <module>
from debfile import DebFileApplication, DebFileOpenError
File "/usr/share/software-center/softwarecenter/db/debfile.py", line 25, in <module>
from softwarecenter.db.application import Application, AppDetails
File "/usr/share/software-center/softwarecenter/db/application.py", line 28, in <module>
import softwarecenter.distro
File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 198, in <module>
distro_instance = _get_distro()
File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 166, in _get_distro
distro_info = platform.linux_distribution()
File "/usr/lib/python2.7/platform.py", line 339, in linux_distribution
if etclsbrel:
UnboundLocalError: local variable 'etclsbrel' referenced before assignment
Traceback (most recent call last):
File "/usr/sbin/update-software-center", line 38, in <module>
from softwarecenter.db.update import rebuild_database
File "/usr/share/software-center/softwarecenter/db/update.py", line 33, in <module>
from softwarecenter.backend.scagent import SoftwareCenterAgent
File "/usr/share/software-center/softwarecenter/backend/scagent.py", line 28, in <module>
from softwarecenter.distro import get_distro, get_current_arch
File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 198, in <module>
distro_instance = _get_distro()
File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 166, in _get_distro
distro_info = platform.linux_distribution()
File "/usr/lib/python2.7/platform.py", line 339, in linux_distribution
if etclsbrel:
UnboundLocalError: local variable 'etclsbrel' referenced before assignment