oneiric unstable: update-apt-xapian-index crashed with EOFError in init()

Bug #855678 reported by Walter Rudametkin on 2011-09-21
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-xapian-index (Ubuntu)
Undecided
Unassigned

Bug Description

I updated from 11.04 to 11.10. The update went fine but I get the following error now when launching Synaptic:
    terminate called after throwing an instance of 'Xapian::DatabaseCorruptError'
    Aborted (core dumped)

Attempting to fix this gives me:

$sudo update-apt-xapian-index
No handlers could be found for logger "softwarecenter.db.update"
Reading .desktop files from /usr/share/app-install/desktop/: done.
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 513, in setupIndexing
    addon.obj.init(dict(values=self.values), self.progress)
  File "/usr/share/apt-xapian-index/plugins/cataloged_time.py", line 72, in init
    self._package_cataloged_time = cPickle.load(open(self._packages_cataloged_file))
EOFError

Aptitude and apt-get still work though.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: apt-xapian-index 0.44ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Wed Sep 21 18:03:24 2011
ExecutablePath: /usr/sbin/update-apt-xapian-index
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/update-apt-xapian-index
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
PythonArgs: ['/usr/sbin/update-apt-xapian-index']
SourcePackage: apt-xapian-index
Title: update-apt-xapian-index crashed with EOFError in init()
UpgradeStatus: Upgraded to oneiric on 2011-09-19 (2 days ago)
UserGroups:

Walter Rudametkin (rudametkin) wrote :

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #761242, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
visibility: private → public
Launchpad Janitor (janitor) wrote :

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

Changed in apt-xapian-index (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments