welcome: please sign in
apt-get performance fix

If your dpkg runs seem to take a long time in the “reading database” step, try this...

Basic Way

  1. Clear the available file dpkg --clear-avail

  2. Run sync-available (in the dctrl-tools package) if you use grep-available (or other tools that rely on a useful available file).

The few times I’ve tried it (all situations where the “reading database” step seemed to take ages), it has always sped the process up dramatically. There probably are situations where it won’t make much difference, but I haven’t run into

Hax0r Way

apt-get_performance_fix (last edited 2011-02-05 12:27:47 by Chris)