Adept installer bug | Rebuild Xapian database

Bug #321540 reported by cojack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-xapian-index (Ubuntu)
New
Undecided
Unassigned

Bug Description

Rebuild Xapian database, Subprocess terminated with error 1

Revision history for this message
cojack (xcojack) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in adept.

Revision history for this message
Daniel Jelinski (dumbass-wp) wrote :

On my machine I have traced this error to update-apt-xapian-index:

daniel@magda-laptop:~$ sudo update-apt-xapian-index
[sudo] password for daniel:
Reading Debtags database: done.
Reading pl translations from /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jaunty_universe_i18n_Translation-pl: done.
Reading pl translations from /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jaunty_multiverse_i18n_Translation-pl: done.
Reading pl translations from /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jaunty_main_i18n_Translation-pl...
Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 579, in <module>
    addon.obj.init(dict(values = values), progress)
  File "/usr/share/apt-xapian-index/plugins/translated-desc.py", line 83, in init
    self.indexers.append(Indexer(lang, file))
  File "/usr/share/apt-xapian-index/plugins/translated-desc.py", line 33, in __init__
    for pkg in deb822.Deb822.iter_paragraphs(open(file)):
  File "/var/lib/python-support/python2.6/debian_bundle/deb822.py", line 247, in iter_paragraphs
    for key in parser.Section.keys()]
KeyError: 'Common UNIX Printing System(tm) - polecenia BSD\n The Common UNIX Printing System (or CUPS(tm)) is a printing system and\n general replacement for lpr, lpd and the like. It supports the Internet\n Printing Protocol (IPP), and has its own filtering driver model for\n handling various document types.\n .\n This package provides the BSD commands for interacting with CUPS. It is\n provided separately to allow CUPS to coexist with other printing systems\n (to a small degree).\n .\n Nazwy "Common UNIX Printing System" i "CUPS"s\xc4\x85 znakami handlowymi firmy\n Easy Software Products (www.easysw.com) i odnosz\xc4\x85 si\xc4\x99 do oryginalnych\n pakiet\xc3\xb3w \xc5\xbar\xc3\xb3d\xc5\x82owych, z kt\xc3\xb3rych te pakiety zosta\xc5\x82y zbudowane.'

affects: adept (Ubuntu) → apt-xapian-index (Ubuntu)
Revision history for this message
Daniel Jelinski (dumbass-wp) wrote :

okay, did some more tracing. It seems that error exists in file:
http://archive.ubuntu.com/ubuntu/dists/jaunty/main/i18n/Translation-pl
description of packages cups-bsd and cups-common is incorrect - second line of description does not start with space. After I corrected these descriptions, update-apt-xapian-index works fine, and so does adept.

Well, now I guess it's not xapian's bug, but I have no idea whose is it.

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote : Marking as a duplicate

This is caused by a bug in the Polish package descriptions Translation file (see bug 378075) and is not a bug in adept, apt-xapian-index, cups or synaptic, therefore marking as a duplicate of the mentioned bug. Please look at the other bug report for a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.