Eduard Bloch wrote: > 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.
Note that dlocate is already in reportbug's "Suggests:" list. While I am by no means a Python expert, it seems to me that the query_dpkg_for function in reportbug-6.3/reportbug/utils.py already does try to go through dlocate first, then tries again setting "use_dlocate=False" if that fails. 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. -- JBR Not the maintainer or even a Debian Member -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org