Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
BUG: update-apt-xapian-index...
Community Discussion
789
views ·
0
replies ·
To
floor
Go
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;
Reading plugin /usr/share/apt-xapian-index/plugins/aliases.py.
Reading plugin /usr/share/apt-xapian-index/plugins/app-install.py.
Reading plugin /usr/share/apt-xapian-index/plugins/apttags.py.
Reading plugin /usr/share/apt-xapian-index/plugins/cataloged_time.py.
Reading plugin /usr/share/apt-xapian-index/plugins/debtags.py.
Reading plugin /usr/share/apt-xapian-index/plugins/descriptions.py.
Reading plugin /usr/share/apt-xapian-index/plugins/relations.py.
Reading plugin /usr/share/apt-xapian-index/plugins/sections.py.
Reading plugin /usr/share/apt-xapian-index/plugins/sizes.py.
Reading plugin /usr/share/apt-xapian-index/plugins/template.py.
Reading plugin /usr/share/apt-xapian-index/plugins/translated-desc.py.
Most recent dataset: Tue Oct 18 04:15:35 2016.
Most recent update for: Thu Jan 1 01:00:00 1970.
Aggregating value information.
Initializing plugins.
Rebuilding Xapian index... 19%
Traceback (most recent call last):
File "/usr/sbin/update-apt-xapian-index", line 104, in
indexer.rebuild(opts.pkgfile)
File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 721, in rebuild
self.buildIndex(dbdir, generator)
File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 696, in buildIndex
for doc in documents:
File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 568, in gen_documents_apt
yield self.get_document_from_apt(pkg)
File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 536, in get_document_from_apt
addon.obj.index(document, pkg)
File "/usr/share/apt-xapian-index/plugins/relations.py", line 130, in index
self._index_rel(pfx, val, document)
File "/usr/share/apt-xapian-index/plugins/relations.py", line 114, in _index_rel
doc.add_term(pfx + name.split(None, 1)[0])
IndexError: list index out of range
Copy the Code
Anyone have a fix for this "
IndexError: list index out of range" error???
Reply
Like 0
Favorite
View the author
All Replies
No replies yet
Please
sign
in first
New Thread
Popular Ranking
Change
[2024.12.31] deepin 23 Update Log
休眠后网络掉线,需要拔插后才行
Popular Events
More
sudo update-apt-xapian-index -vf
I get the following error;
Anyone have a fix for this "IndexError: list index out of range" error???