apt-xapian-index plugin broken with software-center 5.3.3; breaks quantal image builds

Bug #1019535 reported by Colin Watson
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Confirmed
Critical
Unassigned

Bug Description

software-center 5.3.3 broke all quantal image builds that contain software-center, with this error:

Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 101, in <module>
    if not indexer.setupIndexing(force=opts.force, system=opts.pkgfile is None):
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 466, in setupIndexing
    self.plugins = Plugins(progress=self.progress, system=system)
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 89, in __init__
    addon = Addon(fullname, **kw)
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 49, in __init__
    self.module = imp.load_source("axi.plugin_" + self.name, fname)
  File "/usr/share/apt-xapian-index/plugins/software-center.py", line 13, in <module>
    from softwarecenter.db.update import index_name
ImportError: cannot import name index_name

I think something like http://paste.ubuntu.com/1067313/ should fix this, but I'm sort of guessing at the API change involved here.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
mebuntu (salsa-temps) wrote :

I have done a fresh install of Kubuntu 12.10 and Muon search is not working, I purged and reinstalled, which gave me the line 101 error.

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.