Public bug reported:
Binary package hint: bash-completion
Ubuntu 9.10rc
bash-completion: Installed: 1:1.0-3ubuntu2
If you turn on "nounset" to warn about undefined variables, then
bash_completion fails to load and fails to run.
idal...@ubuntu:~$ set -o nounset
idal...@ubuntu:~$ . /etc/bash_completion
bash: BASH_COMPLETION_DEBUG: unbound variable
bash: BASH_COMPLETION: unbound variable
bash: BASH_COMPLETION_DIR: unbound variable
bash: BASH_COMPLETION: unbound variable
bash: li...@]: unbound variable
bash: BASH_COMPLETION_DIR: unbound variable
bash: BASH_COMPLETION: unbound variable
idal...@ubuntu:~$ set +o nounset
idal...@ubuntu:~$ cd /[TAB]
bin/ etc/ media/ root/ sys/
boot/ home/ mnt/ sbin/ tmp/
cdrom@ lib/ opt/ selinux/ usr/
dev/ lost+found/ proc/ srv/ var/
idal...@ubuntu:~$ set -o nounset
idal...@ubuntu:~$ cd /[TAB] bash: comprep...@]: unbound variable
etc.
All references to variables that might be unset should be replaced with
"${variable-}" to avoid these errors.
ProblemType: Bug
Architecture: i386
Date: Mon Oct 26 11:01:24 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate i386
(20091020.3)
Package: bash-completion 1:1.0-3ubuntu2
PackageArchitecture: all
ProcEnviron:
LC_COLLATE=C
PATH=(custom, user)
LANG=C
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: bash-completion
Uname: Linux 2.6.31-14-generic i686
** Affects: bash-completion (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386
--
bash-completion fails under "set -o nounset"
https://bugs.launchpad.net/bugs/461318
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs