In our little corner of the Linux desktop world, we have two package management indexes. One is maintained by Apt (apt-get, apt-cache, dpkg, and related). The other is mainted by QApt, an abstraction layer for Apt that's integrated with Qt and KDE applications -- Muon being the prime example.
In a recent email to the kubuntu-devel list, Harald has asked for some help with a small but important test: invoking the QApt indexer, called Xapian, whenever apt-get update successfully runs. It's easy to do:
1. Run your favorite text editor as root and create the file /etc/apt/apt.conf.d/90xapian
2. Paste the following line into the file:
3. Save the file and exit the editor
When you run apt-get update, you'll see something like:
It will likely increase the run time of apt-get update by only a few seconds.
The test is to help gather information for determining whether to make this a Ubuntu-wide change for 15.04. It's an easy thing to do, won't harm your system, and helps improve package management and stability.
If you encounter issues, report back here or (better) subscribe to kubuntu-devel and reply to Harald's message.
In a recent email to the kubuntu-devel list, Harald has asked for some help with a small but important test: invoking the QApt indexer, called Xapian, whenever apt-get update successfully runs. It's easy to do:
1. Run your favorite text editor as root and create the file /etc/apt/apt.conf.d/90xapian
2. Paste the following line into the file:
Code:
APT::Update::Post-Invoke-Success { "if [ -x /usr/sbin/update-apt-xapian-index ]; then update-apt-xapian-index -u; fi" }
When you run apt-get update, you'll see something like:
Code:
... Fetched 85.7 kB in 20s (4,196 B/s) Reading .desktop files from /usr/share/app-install/desktop/: done. ... } ... } [i]several lines of reading translation files[/i] ... } Reading Xapian index: done. Updating Xapian index: done. Reading package lists... Done
The test is to help gather information for determining whether to make this a Ubuntu-wide change for 15.04. It's an easy thing to do, won't harm your system, and helps improve package management and stability.
If you encounter issues, report back here or (better) subscribe to kubuntu-devel and reply to Harald's message.
Comment