BUG: update-apt-xapian-index...
Tofloor
poster avatar
omelette
deepin
2019-09-11 06:51
Author
Hi.  With a fresh install of Deepin 15.11 64-bit, when I installed 'apt-xapian-index' in order to enable "Quick filter" in Synaptic, and try to update indexes  with;


sudo update-apt-xapian-index -vf


I get the following error;


  1. Reading plugin /usr/share/apt-xapian-index/plugins/aliases.py.
  2. Reading plugin /usr/share/apt-xapian-index/plugins/app-install.py.
  3. Reading plugin /usr/share/apt-xapian-index/plugins/apttags.py.
  4. Reading plugin /usr/share/apt-xapian-index/plugins/cataloged_time.py.
  5. Reading plugin /usr/share/apt-xapian-index/plugins/debtags.py.
  6. Reading plugin /usr/share/apt-xapian-index/plugins/descriptions.py.
  7. Reading plugin /usr/share/apt-xapian-index/plugins/relations.py.
  8. Reading plugin /usr/share/apt-xapian-index/plugins/sections.py.
  9. Reading plugin /usr/share/apt-xapian-index/plugins/sizes.py.
  10. Reading plugin /usr/share/apt-xapian-index/plugins/template.py.
  11. Reading plugin /usr/share/apt-xapian-index/plugins/translated-desc.py.
  12. Most recent dataset:    Tue Oct 18 04:15:35 2016.
  13. Most recent update for: Thu Jan  1 01:00:00 1970.
  14. Aggregating value information.
  15. Initializing plugins.
  16. Rebuilding Xapian index... 19%
  17. Traceback (most recent call last):
  18.   File "/usr/sbin/update-apt-xapian-index", line 104, in
  19.     indexer.rebuild(opts.pkgfile)
  20.   File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 721, in rebuild
  21.     self.buildIndex(dbdir, generator)
  22.   File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 696, in buildIndex
  23.     for doc in documents:
  24.   File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 568, in gen_documents_apt
  25.     yield self.get_document_from_apt(pkg)
  26.   File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 536, in get_document_from_apt
  27.     addon.obj.index(document, pkg)
  28.   File "/usr/share/apt-xapian-index/plugins/relations.py", line 130, in index
  29.     self._index_rel(pfx, val, document)
  30.   File "/usr/share/apt-xapian-index/plugins/relations.py", line 114, in _index_rel
  31.     doc.add_term(pfx + name.split(None, 1)[0])
  32. IndexError: list index out of range
Copy the Code


Anyone have a fix for this "IndexError: list index out of range" error???
Reply Favorite View the author
All Replies

No replies yet