[Bug 1004947] Re: "apt-cache search" is slow because of listing /var/lib/apt/lists 45227 times (triggered by 'Acquire::Languages "none"; ')

2012-06-12 Thread Launchpad Bug Tracker
This bug was fixed in the package apt - 0.9.6ubuntu1 --- apt (0.9.6ubuntu1) quantal-proposed; urgency=low [ Michael Vogt ] * merged from Debian, remaining changes: - use ubuntu keyring and ubuntu archive keyring in apt-key - run update-apt-xapian-index in apt.cron - su

[Bug 1004947] Re: "apt-cache search" is slow because of listing /var/lib/apt/lists 45227 times (triggered by 'Acquire::Languages "none"; ')

2012-06-12 Thread Bug Watch Updater
** Changed in: apt (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1004947 Title: "apt-cache search" is slow because of listing /var/lib/apt/lists 45227 t

[Bug 1004947] Re: "apt-cache search" is slow because of listing /var/lib/apt/lists 45227 times (triggered by 'Acquire::Languages "none"; ')

2012-06-11 Thread Launchpad Bug Tracker
** Branch linked: lp:debian/apt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1004947 Title: "apt-cache search" is slow because of listing /var/lib/apt/lists 45227 times (triggered by 'Acquire::La

[Bug 1004947] Re: "apt-cache search" is slow because of listing /var/lib/apt/lists 45227 times (triggered by 'Acquire::Languages "none"; ')

2012-06-11 Thread Launchpad Bug Tracker
** Branch linked: lp:~donkult/apt/sid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1004947 Title: "apt-cache search" is slow because of listing /var/lib/apt/lists 45227 times (triggered by 'Acqui

[Bug 1004947] Re: "apt-cache search" is slow because of listing /var/lib/apt/lists 45227 times

2012-05-28 Thread Daniel Hahler
When running it in gdb, I get the following backtrace: Starting program: /usr/bin/apt-cache search apt ^C Program received signal SIGINT, Interrupt. 0xb7fdd424 in __kernel_vsyscall () (gdb) bt #0 0xb7fdd424 in __kernel_vsyscall () #1 0xb7c9c70f in __getdents64 (fd=16304, buf=, nbytes=) at ../sys

[Bug 1004947] Re: "apt-cache search" is slow because of listing /var/lib/apt/lists 45227 times

2012-05-27 Thread Dave Gilbert
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

[Bug 1004947] Re: "apt-cache search" is slow because of listing /var/lib/apt/lists 45227 times

2012-05-27 Thread Marcos Vinícius
Mistakenly set it as affecting me, but it doesn't. The test case returns '1' for me. So I'm setting it back to 'New'. ** Changed in: apt (Ubuntu) Status: Confirmed => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://

[Bug 1004947] Re: "apt-cache search" is slow because of listing /var/lib/apt/lists 45227 times

2012-05-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apt (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1004947 Title: "apt-c

[Bug 1004947] Re: "apt-cache search" is slow because of listing /var/lib/apt/lists 45227 times

2012-05-27 Thread Bug Watch Updater
** Changed in: apt (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1004947 Title: "apt-cache search" is slow because of listing /var/lib/apt/lists 45227 times

[Bug 1004947] Re: "apt-cache search" is slow because of listing /var/lib/apt/lists 45227 times

2012-05-27 Thread Daniel Hahler
** Description changed: I've recognized that "apt-cache search" has become quite slow on my system, and when stracing it it shows that it lists the contents of /var/lib/apt/lists a lot (45227 times!): - openat(AT_FDCWD, "/var/lib/apt/lists/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTO

[Bug 1004947] Re: "apt-cache search" is slow because of listing /var/lib/apt/lists 45227 times

2012-05-27 Thread Daniel Hahler
** Bug watch added: Debian Bug tracker #674690 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674690 ** Also affects: apt (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674690 Importance: Unknown Status: Unknown -- You received this bug notification because you a

[Bug 1004947] Re: "apt-cache search" is slow because of listing /var/lib/apt/lists 45227 times

2012-05-26 Thread Daniel Hahler
** Attachment added: "strace output" https://bugs.launchpad.net/bugs/1004947/+attachment/3164510/+files/apt-cache-search-strace.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1004947 Title: "