gnome-terminal reports errors

Bug #587441 reported by timosha
This bug report is a duplicate of:  Bug #546794: Smarter lib* aware autocompletion?. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gnome-terminal

The following is reported when starting gnome-terminal in Maverick:

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: gnome-terminal 2.30.1-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.34-4.11-generic 2.6.34
Uname: Linux 2.6.34-4-generic i686
Architecture: i386
Date: Sun May 30 10:53:40 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100113)
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: gnome-terminal

Revision history for this message
timosha (timosha) wrote :
Revision history for this message
heir4c (heir4c+) wrote :

I have also this error.

The difference between the 2 files:

Line in /etc/bash_completion.d/apt in 10.04:

           *)
                COMPREPLY=( $( apt-cache --no-generate pkgnames "$cur" \
                    2> /dev/null ) )
                return 0
                ;;
        esac
    fi

Line in /etc/bash_completion.d/apt in 10.10:

            *)
                COMPREPLY=( $( apt-cache --no-generate pkgnames "$cur" \
                    2> /dev/null ); $( apt-cache --no-generate pkgnames "lib$cur" \
                    2> /dev/null); )
                return 0
                ;;
        esac
    fi

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.