Syntax error into /etc/bash_completion.d/apt file with bash-completion_1.1-3ubuntu3

Bug #586586 reported by Matthieu Baerts
This bug report is a duplicate of:  Bug #546794: Smarter lib* aware autocompletion?. Edit Remove
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: bash-completion

Hello,

With the latest revision of Bash-Completion on Maverick (bash-completion_1.1-3ubuntu3), I've an error when I launch a new bash session (when I open a terminal):

  $ LANG=C && bash
   bash: /etc/bash_completion.d/apt: line 32: syntax error near unexpected token `;'
   bash: /etc/bash_completion.d/apt: line 32: ` 2> /dev/null ); $( apt-cache --no-generate pkgnames "lib$cur" \'
   bash: /etc/bash_completion.d/apt: line 33: syntax error near unexpected token `)'
   bash: /etc/bash_completion.d/apt: line 33: ` 2> /dev/null); )'

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: bash-completion 1:1.1-3ubuntu3
ProcVersionSignature: Ubuntu 2.6.34-4.11-generic 2.6.34
Uname: Linux 2.6.34-4-generic i686
Architecture: i386
Date: Fri May 28 00:08:41 2010
PackageArchitecture: all
ProcEnviron:
 LANG=C
 SHELL=/bin/bash
SourcePackage: bash-completion

Revision history for this message
Matthieu Baerts (matttbe) wrote :
Revision history for this message
Matthieu Baerts (matttbe) wrote :

It seems this bug is confirmed on another 'old' bug report (bug #546794 )

Changed in bash-completion (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.