Public bug reported:

Binary package hint: sup-mail

When upgrading from karmic's sup-mail to lucid's sup-mail package, sup-
mail changed internals of search engine; it is not using ruby-ferret
anymore.

sup-mail tells to run - sup-convert-ferret-index - but it doesn't work
because it requires libgemplugin-ruby1.8.

$ sup-convert-ferret-index
/usr/bin/sup-convert-ferret-index:3:in `require': no such file to load -- 
rubygems (LoadError)
        from /usr/bin/sup-convert-ferret-index:3

after installing libgemplugin-ruby1.8 it works.

ji...@hp530:/tmp$ sup-convert-ferret-index
## Step one: back up all message state to /tmp/sup-state.txt
/usr/bin/sup-dump --index ferret > /tmp/sup-state.txt
(completed in 0.5s)

## message state saved to /tmp/sup-state.txt
## Step two: back up sources.yaml file to 
/home/jirib/.sup/sources.yaml-before-xapian-upgrade
cp /home/jirib/.sup/sources.yaml 
/home/jirib/.sup/sources.yaml-before-xapian-upgrade
(completed in 0.0s)

## Step three: build the Xapian index
/usr/bin/sup-sync --all --all-sources --index xapian --restore 
/tmp/sup-state.txt 
Loading state dump from /tmp/sup-state.txt...
Read 3 entries from dump file.
Scanning mbox:/var/mail/jirib...
Scanned 0, added 0, updated 0 messages from mbox:/var/mail/jirib.
Scanning sup://drafts...
Scanned 0, added 0, updated 0 messages from sup://drafts.
Scanning sup://sent...
Scanned 1, added 1, updated 0 messages from sup://sent.
Restored state on 1 (100.00%) messages.
Deleting missing messages from the index...
Deleted 0 / 1 messages
[Sun Jun 06 23:06:03 +0200 2010] Flushing Xapian updates to disk. This may take 
a while...
(completed in 0.7s)

## xapian index successfully built!

Congratulations, your index has been upgraded to the Xapian backend.
>From now on, running sup should detect this index automatically.

If you want to revert to the Ferret index:
1. overwrite /home/jirib/.sup/sources.yaml with 
/home/jirib/.sup/sources.yaml-before-xapian-upgrade
2. use sup --index ferret, OR delete your /home/jirib/.sup/xapian directory"
Note that the Ferret index will not be supported as of the next Sup release, so
you probably shouldn't do this.

If you are happy with Xapian and want to reclaim precious hard drive space:
1. rm /home/jirib/.sup/sources.yaml-before-xapian-upgrade
2. rm -r /home/jirib/.sup/ferret

Happy supping!

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: sup-mail 0.10.2-1
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Sun Jun  6 23:15:29 2010
PackageArchitecture: all
ProcEnviron:
 LC_CTYPE=cs_CZ.UTF-8
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LC_MESSAGES=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: sup-mail

** Affects: sup-mail (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
Missing depends for sup-mail
https://bugs.launchpad.net/bugs/590518
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to