Não é possível abrir o Centro de Software

0

Acabei de fazer uma instalação limpa do Ubuntu 14.04LTS e não consigo abrir o Centro de Software. O aplicativo abre e tenta carregar, mas apenas fecha.

Running from the command line presents this output:
 software-center
2015-10-10 18:21:31,807 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2015-10-10 18:21:32,327 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2015-10-10 18:21:32,329 - softwarecenter.plugin - INFO - activating plugin '<module 'webapps_activation' from '/usr/share/software-center/softwarecenter/plugins/webapps_activation.pyc'>'
2015-10-10 18:21:32,385 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
2015-10-10 18:21:33,036 - softwarecenter.backend.reviews - WARNING - error creating bsddb: '(22, 'Invalid argument -- BDB0054 illegal flag combination specified to DB_ENV->open')' (corrupted?)
2015-10-10 18:21:33,037 - softwarecenter.backend.reviews - ERROR - trying to repair DB failed
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/backend/reviews/__init__.py", line 358, in _save_review_stats_cache_blocking
    self._dump_bsddbm_for_unity(outfile, outdir)
  File "/usr/share/software-center/softwarecenter/backend/reviews/__init__.py", line 377, in _dump_bsddbm_for_unity
    0600)
DBInvalidArgError: (22, 'Invalid argument -- BDB0054 illegal flag combination specified to DB_ENV->open')
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:535: Warning: Source ID 68 was not found when attempting to remove it
  return super(MainContext, self).iteration(may_block)
Bus error (core dumped)

Por favor, ajude!

    
por zach 11.10.2015 / 00:25

1 resposta

0

Eu tenho duas sugestões.

1) reinstalação simples:

sudo apt-get purge software-center

sudo apt-get install software-center

2) Remover /var/lib/apt/lists :

sudo rm -rf /var/lib/apt/lists/*

Isso funciona?

    
por Joseph Farah 11.10.2015 / 05:43