Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Software Center loopt vast  (gelezen 220 keer)

Offline Eefje

  • Lid
    • http://www.bespaarenergie.com
  • Steunpunt: Nee
Software Center loopt vast
« Gepost op: 2015/01/27, 13:32:34 »
Op mijn laptop loopt het Software Center de hele tijd vast.
Als ik in de terminal "software-center" tik, krijg ik het volgende:

Citaat
olaflindehugo@olaflindehugo:~$ software-center
2015-01-27 13:26:18,443 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2015-01-27 13:26:18,976 - 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-01-27 13:26:20,124 - softwarecenter.region - WARNING - failed to use geoclue: 'org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Geoclue.Master was not provided by any .service files'
2015-01-27 13:26:21,913 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2015-01-27 13:26:22,145 - softwarecenter.plugin - INFO - activating plugin '<module 'webapps_activation' from '/usr/share/software-center/softwarecenter/plugins/webapps_activation.pyc'>'
2015-01-27 13:26:23,268 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
^CTraceback (most recent call last):
  File "/usr/share/software-center/update-software-center-agent", line 81, in <module>
    cache = apt.Cache(memonly=True)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 107, in __init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 172, in open
    self._set.add(pkg.get_fullname(pretty=True))
KeyboardInterrupt
2015-01-27 13:27:14,388 - softwarecenter.backend.reviews - WARNING - error creating bsddb: '(22, 'Invalid argument -- BDB0054 illegal flag combination specified to DB_ENV->open')' (corrupted?)
2015-01-27 13:27:14,519 - 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')
2015-01-27 13:27:14,682 - softwarecenter.db.utils - INFO - software-center-agent finished with status 1
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:535: Warning: Source ID 62 was not found when attempting to remove it
  return super(MainContext, self).iteration(may_block)
^CTraceback (most recent call last):
  File "/usr/share/software-center/expunge-cache.py", line 70, in <module>
    cleaner.clean()
  File "/usr/share/software-center/softwarecenter/expunge.py", line 79, in clean
    self._cleanup_dir(d)
  File "/usr/share/software-center/softwarecenter/expunge.py", line 59, in _cleanup_dir
    header = open(fullpath).readline().strip()
KeyboardInterrupt
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 223, in mro
    def mro(cls):
KeyboardInterrupt
**
ERROR:../../gi/pygobject.c:1017:pygobject_new_full: assertion failed: (tp != NULL)


Offline erik1984

  • Lid
    • erik1984
  • Steunpunt: Nee
Re: Software Center loopt vast
« Reactie #1 Gepost op: 2015/01/27, 20:41:39 »
Dit lijkt het voornaamste probleem:
DatabaseOpeningError: Couldn't stat '/var/lib/apt-xapian-index/index' (No such file or directory)
Als ik dat in Google invoer dan komt er dit topic uit: http://ubuntuforums.org/showthread.php?t=1833044

Dit bericht heeft misschien de oplossing:
http://ubuntuforums.org/showthread.php?t=1833044&p=11186917&viewfull=1#post11186917
(wel goed oppassen met die rm-opdrachten!)
« Laatst bewerkt op: 2015/01/27, 20:54:22 door erik1984 »