# now run apt-xapian-index if it is installed to ensure the index
# is up-to-date
if [ -x /usr/sbin/update-apt-xapian-index ]; then
- nice ionice -c3 update-apt-xapian-index -q
+ if [ "$(dpkg --print-architecture)" = "armel" ]; then
+ xapian_extra_args='-u'
+ fi
+ nice ionice -c3 update-apt-xapian-index -q $xapian_extra_args
fi
else
debug_echo "download updated metadata (error)"
+apt (0.8.16~exp5ubuntu13) UNRELEASED; urgency=low
+
+ * On armel, call update-apt-xapian-index with '-u' to keep the CPU
+ and I/O usage low. We would do this on all arches, but there's a
+ regression risk here, but that's better than killing slow systems.
+
+ -- Adam Conrad <adconrad@ubuntu.com> Tue, 04 Oct 2011 01:24:01 -0600
+
apt (0.8.16~exp5ubuntu12) oneiric; urgency=low
[ David Kalnischkies ]