PDA

View Full Version : Apt install preview



ssc
05-04-2004, 02:47 PM
Hi everyone...
here is my question:
When i boot Knoppix and use "apt-get install " and type only the first letters and then press tab 2 times, then i can see all the avalibel pack`s (from my apt sources) beginning with same first letters, but when i install Debain by myself, then i can`t see the avalibel Pack`s :(
Got anyone a solution???

Greetz

SSC

Stephen
05-04-2004, 09:00 PM
Hi everyone...
here is my question:
When i boot Knoppix and use "apt-get install " and type only the first letters and then press tab 2 times, then i can see all the avalibel pack`s (from my apt sources) beginning with same first letters, but when i install Debain by myself, then i can`t see the avalibel Pack`s :(
Got anyone a solution???

Greetz

SSC

Edit the /etc/bash.bashrc and uncomment this section.



# enable bash completion in interactive shells
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi

ssc
05-05-2004, 04:29 PM
Nope, man..... ain`t workin :cry:
Won`t workin on my install and i tested it at my friends pc.....

Stephen
05-05-2004, 09:59 PM
Nope, man..... ain`t workin :cry:
Won`t workin on my install and i tested it at my friends pc.....

Well that is a strange one I just enabled it on my firewall machine and it works perfectly.



[05:45 PM Wed May 05: stephen @ ~]
>$ dts
Linux DoopeyTux 2.4.18-586tsc #1 Sun Apr 14 10:57:57 EST 2002 i586 unknown

Most of the programs included with the Debian GNU/Linux system are
freely redistributable; the exact distribution terms for each program
are described in the individual files in /usr/share/doc/*/copyright

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon May 3 20:27:41 2004 from happytux
stephen@DoopeyTux:~$ su
Password:
DoopeyTux:/home/stephen# apt-get install h
DoopeyTux:/home/stephen# vi /etc/bash.bashrc
DoopeyTux:/home/stephen# exit
exit
stephen@DoopeyTux:~$ logout
Connection to 192.168.0.254 closed.
[05:47 PM Wed May 05: stephen @ ~]
>$ dts
Linux DoopeyTux 2.4.18-586tsc #1 Sun Apr 14 10:57:57 EST 2002 i586 unknown

Most of the programs included with the Debian GNU/Linux system are
freely redistributable; the exact distribution terms for each program
are described in the individual files in /usr/share/doc/*/copyright

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed May 5 17:46:29 2004 from happytux
stephen@DoopeyTux:~$ su
Password:
DoopeyTux:/home/stephen# apt-get install h
Display all 11151 possibilities? (y or n)
DoopeyTux:/home/stephen# apt-get install hd
hdate hdlant hdparm
DoopeyTux:/home/stephen# apt-get install hdparm



You have logged out and back in again??

ssc
05-06-2004, 02:07 PM
jupp done it... and i had even restarted.... but nothing helps

Stephen
05-06-2004, 07:12 PM
jupp done it... and i had even restarted.... but nothing helps

I'm out of ideas then that is all I have every needed to do on my boxes to get it working.

mikekgr
05-06-2004, 07:31 PM
Dear Friends,
a couple of months i tried (hard) to have same very good bash-autocompletion as knoppix has at my libranet (debian) box.
The result : NOWAY. I did not achieve same functionality at all.
Really I don't kno why but if someone can help us PLEASE DO IT.

Best Regards
Mike Kranidis