Bug#1057450: apt-xapian-index: systemd fails to start apt-xapian-index.service
Package: apt-xapian-index
Version: 0.54
Severity: important
Dear Maintainer,
systemd fails to start apt-xapian-index.service, with the following error:
dic 05 10:35:07 capitanata update-apt-xapian-index[2172331]: File "/usr/share/apt-xapian-index/plugins/relations.py", line 130, in index
dic 05 10:35:07 capitanata update-apt-xapian-index[2172331]: self._index_rel(pfx, val, document)
dic 05 10:35:07 capitanata update-apt-xapian-index[2172331]: File "/usr/share/apt-xapian-index/plugins/relations.py", line 114, in _index_rel
dic 05 10:35:07 capitanata update-apt-xapian-index[2172331]: doc.add_term(pfx + name.split(None, 1)[0])
dic 05 10:35:07 capitanata update-apt-xapian-index[2172331]: ~~~~~~~~~~~~~~~~~~~^^^
dic 05 10:35:07 capitanata update-apt-xapian-index[2172331]: IndexError: list index out of range
which appears to hint at a bug in the python script.
I guess one can still use a previously created apt-xapian index, but while the systemd service fails, it will not get automatically updated.
If useful, I'm willing to help testing this.
Thanks, best regards
Giacomo Mulas
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (401, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-5-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages apt-xapian-index depends on:
ii python3 3.11.6-1
ii python3-apt 2.7.0+b1
ii python3-debian 0.1.49
ii python3-xapian 1.4.22-1+b1
apt-xapian-index recommends no packages.
Versions of packages apt-xapian-index suggests:
ii python3-xdg 0.28-2
-- no debconf information
Reply to: