软件中心崩溃错误(总线错误)

软件中心崩溃错误(总线错误)

当我尝试运行 Ubuntu 软件中心时,它总是崩溃。更奇怪的是,这种情况发生在两台笔记本电脑上,并且发生在两个版本的 Ubuntu(14.04 和 16.10)上。在 14.04 上,出现了以下错误:

...$ software-center

2016-12-07 20:03:48,104 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2016-12-07 20:03:48,496 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2016-12-07 20:03:48,498 - softwarecenter.plugin - INFO - activating plugin '<module 'webapps_activation' from '/usr/share/software-center/softwarecenter/plugins/webapps_activation.pyc'>'
2016-12-07 20:03:48,537 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
2016-12-07 20:03:48,780 - softwarecenter.backend.reviews - WARNING - error creating bsddb: '(22, 'Invalid argument -- BDB0054 illegal flag combination specified to DB_ENV->open')' (corrupted?)
2016-12-07 20:03:48,781 - 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 74 was not found when attempting to remove it
  return super(MainContext, self).iteration(may_block)
Bus error (core dumped)

我尝试了各种方法来解决这个问题(包括我该如何修复我的软件中心?软件中心崩溃:错误还是配置错误?),甚至在我的 16.10 机器上也出现了更多问题,最后我记不起任何东西都正常工作过。此外,这两次都是在全新安装的 ubuntu 上发生的。有人知道如何解决这个问题吗?

相关内容