On Wed, Nov 26, 2025 at 10:59:05AM -0700, D. R. Evans wrote: > Since upgrading my desktop machine to trixie earlier this month, I have been > receiving the follow failure in my e-mail inbox (with the subject: "Anacron > job 'cron.weekly' on zbrew" [zbrew is the name of the machine]): > > > /etc/cron.weekly/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 27, in <module> > > import imp > > ModuleNotFoundError: No module named 'imp' > > run-parts: /etc/cron.weekly/apt-xapian-index exited with return code 1 > > I wasn't seeing this before the upgrade. I have never manually placed > anything in cron.weekly, and have always guessed/assumed that the items that > are in that directory have been put there, and are managed, by debian > (probably as a byproduct of installing packages). Certainly, when I look at > the file /etc/cron.weekly/apt-xapian-index, the script is nothing I've ever > manually installed in that directory. > > Any suggestions as to what might be going on here? Or is it perhaps a debian > packaging bug that somehow escaped detection before trixie was released? Hm. What's your Python version? It seems imp is deprecated for >= 3.12. Cheers -- tomás
Attachment:
signature.asc
Description: PGP signature