Problemas com o sistema Ubuntu Software

-1

Eu tenho algum problema com o Ubuntu Software System.

Depois de abri-lo. Fecha automaticamente sem qualquer permissão

Alguém pode me ajudar por favor porque eu realmente não entendo isso.

Quando eu o executo através do terminal, este é o feedback que recebo do que

vangjush@vangjush:~$ software-center
2013-05-06 21:41:29,532 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2013-05-06 21:41:29,540 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True
2013-05-06 21:41:30,052 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2013-05-06 21:41:30,061 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/gi/importer.py', 51, 'find_module')'
2013-05-06 21:41:30,061 - root - ERROR - Could not find any typelib for LaunchpadIntegration
2013-05-06 21:41:30,217 - softwarecenter.ui.gtk3.app - INFO - show_available_packages: search_text is '', app is None.
2013-05-06 21:41:30,555 - 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 257, in open
    self._cache = apt.Cache(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in __init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 149, in open
    self._list.read_main_list()
SystemError: E:Malformed line 57 in source list /etc/apt/sources.list (dist parse)
2013-05-06 21:41:31,504 - 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 277, 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 182, in <module>
    app.run(args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1387, in run
    self.show_available_packages(args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1325, in show_available_packages
    self.view_manager.set_active_view(ViewPages.AVAILABLE)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/session/viewmanager.py", line 151, in set_active_view
    view_widget.init_view()
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 173, 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 324, in build
    self._build_homepage_view()
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py", line 119, in _build_homepage_view
    self._append_whats_new()
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py", line 253, in _append_whats_new
    whats_new_cat = self._update_whats_new_content()
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py", line 238, 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 277, in __contains__
    return self._cache.__contains__(k)
**AttributeError: 'NoneType' object has no attribute '__contains__'**

Considerando que quando tento reinstalar o sistema de software, recebo este erro que me impede a instalação.

vangjush@vangjush:~$ sudo apt-get install --reinstall software-center
[sudo] password for vangjush: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  calligra-l10n-engb camlp4 cdparanoia coq coq-theories coqide k3b k3b-data
  k3b-i18n kde-l10n-engb kde-l10n-zhcn kdevelop-l10n kdevelop-php-docs-l10n
  kdevelop-php-l10n language-pack-kde-en ledit libcoq-ocaml libflac++6 libk3b6
  libkcddb4 liblablgtk2-gnome-ocaml liblablgtk2-ocaml libncurses5-dev
  libtinfo-dev ocaml-base-nox ocaml-interp ocaml-nox
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 628 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://al.archive.ubuntu.com/ubuntu/ quantal-updates/main software-center all 5.4.1.4 [628 kB]
Fetched 628 kB in 2s (225 kB/s)          
(Reading database ... 287516 files and directories currently installed.)
Preparing to replace software-center 5.4.1.4 (using .../software-center_5.4.1.4_all.deb) ...
Unpacking replacement software-center ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Setting up software-center (5.4.1.4) ...
Updating software catalog...this may take a moment.
INFO:softwarecenter.db.pkginfo_impl.aptcache:aptcache.open()
Traceback (most recent call last):
  File "/usr/sbin/update-software-center", line 170, in <module>
    result = rebuild_database(pathname)
  File "/usr/share/software-center/softwarecenter/db/update.py", line 1109, in rebuild_database
    cache.open()
  File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 257, in open
    self._cache = apt.Cache(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in __init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 149, in open
    self._list.read_main_list()
**SystemError: E:Malformed line 57 in source list /etc/apt/sources.list (dist parse)**

Obrigado antecipadamente.

    
por IAI 06.05.2013 / 21:20

2 respostas

0

Eu quase tive o mesmo problema. Saída de depuração: link

2013-05-07 22:00:43,106 - root - ERROR - Could not find any typelib for LaunchpadIntegration
2013-05-07 22:00:43,106 - softwarecenter.ui.gtk3.app - DEBUG - launchpad integration error: 'cannot import name LaunchpadIntegration' ..."
Reason : Open "https://raw.github.com/Nano77/various/master/deb/gdm3setup-20130207-1.deb".

Correção: eu tentei '.. remover - limpar' atualização + atualização, reinstale sem efeito imediato. Após a reinicialização do sistema, o problema desapareceu.

Quando abri o .deb novamente - problema reproduzido.

Boa sorte!

    
por Didko 07.05.2013 / 21:34
-1

1) sudo apt-get remove --purge software-center

2) sudo apt-get install software-center

3) sudo software-center &

    
por Hojat Taheri 06.05.2013 / 22:07