Acabei de instalar o Ubuntu 15.10 (total recém-chegado ao Linux em geral, btw). O centro de software, bem como os aplicativos atualizadores do Ubuntu, parecem fechar imediatamente após a abertura. o terminal surgiu com a seguinte reação ao início do software-center:
2015-12-06 19:55:36,309 - softwarecenter.backend.zeitgeist_logger - WARNING - Support for Zeitgeist disabled
2015-12-06 19:55:36,358 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2015-12-06 19:55:36,361 - softwarecenter.db.database - ERROR - failed to add apt-xapian-index
Traceback (most recent call last):
File "/usr/share/software-center/softwarecenter/db/database.py", line 194, in _get_new_xapiandb
softwarecenter.paths.APT_XAPIAN_INDEX_DB_PATH)
File "/usr/lib/python2.7/dist-packages/xapian/__init__.py", line 3667, in __init__
_xapian.Database_swiginit(self,_xapian.new_Database(*args))
DatabaseOpeningError: Couldn't stat '/var/lib/apt-xapian-index/index' (No such file or directory)
2015-12-06 19:55:36,837 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2015-12-06 19:55:36,840 - softwarecenter.plugin - INFO - activating plugin '<module 'webapps_activation' from '/usr/share/software-center/softwarecenter/plugins/webapps_activation.pyc'>'
2015-12-06 19:55:36,878 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
Traceback (most recent call last):
File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 261, in open
self._cache = apt.Cache(progress)
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 113, in __init__
self.open(progress)
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 168, in open
self._list.read_main_list()
SystemError: E:Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/spotify.list
/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py:190: Warning: Source ID 70 was not found when attempting to remove it
Gtk.main_iteration()
2015-12-06 19:55:37,523 - softwarecenter.db.enquire - ERROR - _get_estimate_nr_apps_and_nr_pkgs failed
Traceback (most recent call last):
File "/usr/share/software-center/softwarecenter/db/enquire.py", line 115, in _get_estimate_nr_apps_and_nr_pkgs
tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter)
File "/usr/share/software-center/softwarecenter/db/appfilter.py", line 89, in __call__
if (not pkgname in self.cache and
File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 281, in __contains__
return self._cache.__contains__(k)
AttributeError: 'NoneType' object has no attribute '__contains__'
Traceback (most recent call last):
File "/usr/bin/software-center", line 183, in <module>
app.run(args)
File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1378, in run
self.show_available_packages(args)
File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1316, in show_available_packages
self.view_manager.set_active_view(ViewPages.AVAILABLE)
File "/usr/share/software-center/softwarecenter/ui/gtk3/session/viewmanager.py", line 150, in set_active_view
view_widget.init_view()
File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 227, in init_view
self.cache, self.db, self.icons, self.apps_filter)
File "/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py", line 80, in __init__
self.build()
File "/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py", line 326, in build
self._build_homepage_view()
File "/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py", line 121, in _build_homepage_view
self._append_whats_new()
File "/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py", line 255, in _append_whats_new
whats_new_cat = self._update_whats_new_content()
File "/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py", line 240, in _update_whats_new_content
docs = whats_new_cat.get_documents(self.db)
File "/usr/share/software-center/softwarecenter/db/categories.py", line 131, in get_documents
nonblocking_load=False)
File "/usr/share/software-center/softwarecenter/db/enquire.py", line 330, in set_query
self._blocking_perform_search()
File "/usr/share/software-center/softwarecenter/db/enquire.py", line 225, in _blocking_perform_search
matches = enquire.get_mset(0, self.limit, None, xfilter)
File "/usr/share/software-center/softwarecenter/db/appfilter.py", line 89, in __call__
if (not pkgname in self.cache and
File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 281, in __contains__
return self._cache.__contains__(k)
AttributeError: 'NoneType' object has no attribute '__contains__'
Isso é informação demais para alguém como eu. Alguém pode por favor interpretar o que está acontecendo com a minha máquina?
PS: Eu estava tentando baixar o software spotify antes de tentar abrir o atualizador de software. Ele falhou e eu não sei porque. Talvez isso desempenhe um papel no que você vê ...
Obrigado!
Kaiser