[Deborphan-devel] Bug#658669: dlocate: bash_completion fails as _comp_dpkg_installed_packages no longer exists

Julian Gilbey jdg at debian.org
Sun Feb 5 23:47:23 UTC 2012

clone 658669 -1
reassign -1 deborphan
retitle -1 "deborphan: dpkg-completion doesn't work until a dpkg completion has been attempted"

On Sun, Feb 05, 2012 at 01:23:29AM +0000, Julian Gilbey wrote:
> Package: dlocate
> Version: 1.02
> Severity: normal
> I don't know which package used to provide the
> _comp_dpkg_installed_packages function which was used by the dlocate
> bash_completion functions, but it no longer seems to do so, and so
> dlocate completion no longer works :-/

I've tracked it down.  It is still provided by the dpkg completion;
however, it is only loaded when an attempt is made to complete a dpkg
command.  So I guess that dlocate (and also deborphan) need to
duplicate the definition of the _comp_dpkg_* functions they use in
their bash-completion scripts :-(


More information about the Deborphan-devel mailing list