Comment 7 for bug 1526267

Revision history for this message
Jeffery Wilkins (djcanadianjeff) wrote : Re: .../softwarecenter/backend/scagent.py : no module named "spawn_helper"

ok so the solution is to purge software-center from your system
after which you will see this error

root@xubuntu:/tmp# update-apt-xapian-index --update
Reading .desktop files from /usr/share/app-install/desktop/: done.
Reading Xapian index... 0%Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 109, in <module>
    indexer.incrementalUpdate()
  File "/usr/lib/python3/dist-packages/axi/indexer.py", line 703, in incrementalUpdate
    self.updateIndex(dbpath)
  File "/usr/lib/python3/dist-packages/axi/indexer.py", line 666, in updateIndex
    unchanged, outdated, obsolete = self.compareCacheToDb(cache, db)
  File "/usr/lib/python3/dist-packages/axi/indexer.py", line 633, in compareCacheToDb
    if not cache.has_key(pkg) or not cache[pkg].candidate:
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 238, in has_key
    return key in self
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 242, in __contains__
    return self.__is_real_pkg(self._cache[key])
TypeError: Expected a string or a pair of strings