Bug#935039: apt-xapian-index fails called by cron.weekly
Package: apt-xapian-index
Version: 0.50
Severity: normal
Dear Maintainer,
for a few weeks now update-apt-xapian-index fails called by con.weekly with the following error:
"/etc/cron.weekly/apt-xapian-index:
Traceback (most recent call last):
File "/usr/sbin/update-apt-xapian-index", line 104, in <module>
indexer.incrementalUpdate()
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 685, in incrementalUpdate
self.updateIndex(dbpath)
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 666, in updateIndex
db.add_document(self.get_document_from_apt(pkg))
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 539, 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
run-parts: /etc/cron.weekly/apt-xapian-index exited with return code 1/etc/cron.weekly/apt-xapian-index:
Traceback (most recent call last):
File "/usr/sbin/update-apt-xapian-index", line 104, in <module>
indexer.incrementalUpdate()
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 685, in incrementalUpdate
self.updateIndex(dbpath)
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 666, in updateIndex
db.add_document(self.get_document_from_apt(pkg))
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 539, 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
run-parts: /etc/cron.weekly/apt-xapian-index exited with return code 1"
Hopefully this can be fixed ;-)
Klaumi
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (900, 'testing'), (200, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE:de:en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages apt-xapian-index depends on:
ii python3 3.7.3-1
ii python3-apt 1.8.4
ii python3-debian 0.1.35
ii python3-xapian 1.4.11-2
apt-xapian-index recommends no packages.
Versions of packages apt-xapian-index suggests:
ii python3-xdg 0.25-5
-- no debconf information
Reply to: