looking for some people to do some testing

Harald Sitter apachelogger at ubuntu.com
Wed Jul 23 10:13:13 UTC 2014


https://trello.com/c/W1ZdDudj

to get some preliminary data it would be very lovely if everyone who's
interested could create an update hook that should be relatively safe
to use:

 cat /etc/apt/apt.conf.d/90xapian
APT::Update::Post-Invoke-Success { "if [ -x
/usr/sbin/update-apt-xapian-index ]; then update-apt-xapian-index -u;
fi" }

this will make sure that the search index used by qapt and friends is
updated whenever apt-get update finished successfully. Simply check
the last couple of lines of your update output to see what apt-xapian
has to say.

I am particularly looking for any cases where the updater would report
database corruption or you think that it takes too long or causes too
much disk access. Generally speaking the updates are conducted
incrementally so they should be relatively fast. Assuming apt-xapian
works as well as I believe the hook will only slow apt-get update down
a bit (<10 seconds on most systems I'd say).

example output:
....
Hit http://ppa.launchpad.net utopic/main i386 Packages
Reading .desktop files from /usr/share/app-install/desktop/: done.
Reading Xapian index: done.
Updating Xapian index: done.
Reading package lists... Done

In case you wondered about the command.... the final hook command I
would actually imagine to set appropriate IO niceness and fork so that
it doesn't block apt-get update at all and doesn't otherwise interfere
with system usage but for this test I'd like it to be as prominent as
possible.

Also, I doubt this epic will land before 15.04 because ideally it'd be
done globally for all of ubuntu if at all possible.

HS



More information about the kubuntu-devel mailing list