Your message dated Sat, 12 Nov 2011 18:40:11 +0100
with message-id <[email protected]>
and subject line Re: dlocate for faster package name lookup
has caused the Debian Bug report #648513,
regarding try dlocate for faster package name lookup
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
648513: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648513
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: reportbug
Version: 6.3
Severity: wishlist
Hi,
when user specifies the name of the buggy binary then a lookup for the
binary package name is suggested. This is currently done using
dpkg --search ... , which is ok but painfully slow when disk load is
high.
I suggest to use dlocate as primary alternative if dlocate is present.
The justification is obvious, just compare the numbers of syscalls, and
many of them are IO bound:
~ $ strace -f -o /dev/stdout dpkg --search bin/xfce4-keyboard-settings | wc -l
35825
~ $ strace -f -o /dev/stdout dlocate -S bin/xfce4-keyboard-settings | wc -l
3012
Regards,
Eduard.
-- Package-specific info:
** Environment settings:
DEBEMAIL="[email protected]"
DEBFULLNAME="Eduard Bloch"
DEBNAME="Eduard Bloch"
INTERFACE="text"
** /home/ed/.reportbugrc:
reportbug_version "4.10.2"
mode expert
ui text
mutt
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages reportbug depends on:
ii apt 0.8.15.9
ii python 2.7.2-9
ii python-reportbug 6.3
reportbug recommends no packages.
Versions of packages reportbug suggests:
ii debconf-utils 1.5.41
ii debsums 2.0.49
ii dlocate 1.02
ii emacs23-bin-common 23.3+1-4
ii exim4 4.77-1
ii exim4-daemon-light [mail-transport-agent] 4.77-1
ii file 5.09-2
ii gnupg 1.4.11-3
ii python-gtk2 2.24.0-2
ii python-gtkspell <none>
ii python-urwid <none>
ii python-vte 1:0.28.2-1
ii xdg-utils 1.1.0~rc1-2
Versions of packages python-reportbug depends on:
ii apt 0.8.15.9
ii python 2.7.2-9
ii python-debian 0.1.21
ii python-debianbts 1.10
ii python-support 1.0.14
python-reportbug suggests no packages.
-- no debconf information
--
<Getty> Beamtentum
<Getty> wir haben halt strikte Aufgabenteilung
--- End Message ---
--- Begin Message ---
#include <hallo.h>
* Justin B Rye [Sat, Nov 12 2011, 03:05:21PM]:
> Such a failure is quite likely if it's a package the user has only
> just started trying out - the dlocate database is updated just once a
> day, so freshly installed packages won't be registered.
You are right. dlocate's database was not uptodate and there it was
falling back to dpkg.
Closing, sorry for the noise.
Regards,
Eduard.
--- End Message ---
_______________________________________________
Reportbug-maint mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint