Package: bash Version: 2.05b-26 Followup-For: Bug #304624 Replacing _comp-dpkg-installed-packages with _comp_dpkg_installed_packages does seems to fix the "not a valid identifier" error.
Apparently Bash 2 does not allow hypens in function names, while Bash 3 does: $ echo $BASH_VERSION 3.00.16(1)-release $ _test-foo() { echo bar; } $ echo $BASH_VERSION 2.05b.0(1)-release $ _test-foo() { echo bar; } -sh: `_test-foo': not a valid identifier -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.4.27-2-686-smp Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages bash depends on: ii base-files 3.1.2 Debian base system miscellaneous f ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libncurses5 5.4-4 Shared libraries for terminal hand ii passwd 1:4.0.3-31sarge1 change and administer password and -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]