Comment 4 for bug 1004947

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote : Re: "apt-cache search" is slow because of listing /var/lib/apt/lists 45227 times

Hi Daniel,
  I can't get this to trigger on my 12.04 system, could you include a copy of your /etc/apt/apt.conf.d and /etc/apt/preferences.d?
Another suggestion you could try would be to install the ddebs and then run apt-cache search under gdb and ctrl-c it somewhere in the middle, hope you hit the slow patch and then try and get a backtrace to see how it got there.

Dave