Comment 2 for bug 587441

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