- Package:
- apt-xapian-index
- Source:
- apt-xapian-index
- Submitter:
- Colin Vernon
- Date:
- 2025-12-21 16:25:02 UTC
- Severity:
- normal
Dear Maintainer,
After I upgraded to trixie, I started getting these emails:
/etc/cron.weekly/apt-xapian-index:
Trackback (most recent call last):
File "/usr/sbin/update-apt-xapian-index", line 61, in <module>
import axi.indexer
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 27, in <module>
import imp
ModuleNotFoundError: No module named 'imp'
run-parts: /etc/cron.weekly/apt-xapian-index exited with return code 1
[Colin Vernon 2025-12-14]
I assume a dependency on python3-zombie-imp providing imp.py is missing.
I got a different message from my cron.weekly yesterday:
/etc/cron.weekly/apt-xapian-index:
/usr/lib/python3/dist-packages/axi/__init__.py:53: SyntaxWarning: invalid
escape sequence '\s'
re_empty = re.compile("^\s*(?:#.*)?$")
/usr/lib/python3/dist-packages/axi/__init__.py:54: SyntaxWarning: invalid
escape sequence '\S'
re_value = re.compile("^(\S+)\s+(\d+)(?:\s*#\s*(.+))?$")
I assume this is some version skew.
It also needs python3-six:
richard@sfere:~$ /usr/sbin/update-apt-xapian-index
Traceback (most recent call last):
File "/usr/sbin/update-apt-xapian-index", line 61, in <module>
import axi.indexer
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 39, in
<module>
from six.moves.urllib_parse import unquote
ModuleNotFoundError: No module named 'six'
ttfn/rjk
six is really EOL, so this wants a source patch. Chris