indexing fails after a upgrade if the apt-xapian-index is not yet regenerated

Bug #646018 reported by Michael Vogt on 2010-09-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-xapian-index (Ubuntu)
Medium
Unassigned
software-center (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: software-center

If the apt-xapian-index is not re-generated fully (a update-apt-xapian-index --update is not sufficient) the value "catalogedtime" is missing from /var/lib/apt-xapian-index/values. This leads update-software-center to fail.

Michael Vogt (mvo) on 2010-09-23
Changed in software-center (Ubuntu):
milestone: none → ubuntu-10.10
importance: Undecided → Medium
status: New → In Progress
Michael Vogt (mvo) wrote :

There are two issues here, one is that update-software-center does not index without catalogedtime, that is fixed now.

The other one is that on upgrade we need to run a full re-index of apt-xapian-index so that the cataloged time data is written for all packages. By default the apt-xapian-index weekly cron job rus with "--update" and the dbus service that software-center triggers run with --update as well. But update will only look at the changed packages, in this case (and in every case when a new index plugin is availalbe) we want to do a full-reindex to benefit from the new plugin.

Changed in software-center (Ubuntu):
status: In Progress → Fix Committed
Michael Vogt (mvo) on 2010-09-23
Changed in apt-xapian-index (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
milestone: none → ubuntu-10.10
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt-xapian-index - 0.39ubuntu1

---------------
apt-xapian-index (0.39ubuntu1) maverick; urgency=low

  * debian/postinst:
    - when upgrading, ensure the index is fully rebuild (in the
      background) to ensure that we get updated information in
      /var/lib/apt-xapian-index/{index.values} and that the index
      fully utilizes the new plugins (LP: #646018)
 -- Michael Vogt <email address hidden> Thu, 23 Sep 2010 16:04:11 +0200

Changed in apt-xapian-index (Ubuntu):
status: In Progress → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 3.0.1

---------------
software-center (3.0.1) maverick; urgency=low

  [ Michael Vogt ]
  * softwarecenter/db/update.py:
    - index the file even if "catalogedtime" is not yet written
      to /var/lib/apt-xapian-index/values (LP: #646018)
  * softwarecenter/view/purchasedialog.py:
    - set default window size to 640x400 (LP: #635215)

  [ Gary Lasker ]
  * softwarecenter/view/appdetailsview_gtk.py:
    - fix crash if iconname has no value (LP: #639934)
  * softwarecenter/view/viewswitcher.py:
    - fix intermittent crash when using arrow keys to
      expand/collapse nodes in the left nav pane (LP: #644176)
 -- Michael Vogt <email address hidden> Fri, 24 Sep 2010 22:35:42 +0200

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers