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