This still happens in 24.04

The better fix appears to be:

--- a/plugins/relations.py
+++ b/plugins/relations.py
@@ -111,5 +111,6 @@
         # Extract package names from relationships
         for name, ver, rel in broken:
-            doc.add_term(pfx + name.split(None, 1)[0])
+            if name:
+                doc.add_term(pfx + name.split(None, 1)[0])
 
     def index(self, document, pkg):

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669649

Title:
  update-apt-xapian-index crashes with IndexError: list index out of
  range

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1669649/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to