apt-get install
and apt-cache policy
do not complete package names.
I have double checked /etc/bash.bashrc, no irregularities.
Googled for answers but none suffice.
Any help/advice?
apt-get install
and apt-cache policy
do not complete package names.
I have double checked /etc/bash.bashrc, no irregularities.
Googled for answers but none suffice.
Any help/advice?
Open
/etc/bash.bashrc
with gedit or other text editor and uncomment the following lines:It works for me.
On Ubuntu 16.04 the it looks like this:
Actually, I found the solution ~
Install the auto-complete-el
After installing this package, I got everything back to normal.
Is your shell prompt looking like
$
instead ofuser@host:~$
? If yes, then it could be case of wrong shell causing problem with autocompletion. Try changing login shell to/bin/bash
from/bin/sh
as below.The cause might be that you are missing the package
bash-completion
. In that case, you can try installing it withfollowed by
for enabling it. (Or just log out and in again).