View previous topic :: View next topic |
Author |
Message |
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Sun Dec 26, 2004 8:09 pm Post subject: [risolto] -bash: locate: command not found |
|
|
Code: |
#locate
bash:locate:command not found |
stesso cosa per esempio con il comando updatedb
per quale motivo mi da questo errore???
non so se c'entra,ma
Quote: |
# $PATH
-bash: /bin:/sbin:/usr/bin:/usr/sbin:/usr(local/bin:/opt/bin:/usr/i686-pc-linux-
gnu/gcc-bin/3.3:/usr/X11R6/bin: No such fuile or directory |
qualcuno può aiutarmi?
grazie
Last edited by luna80 on Sun Dec 26, 2004 8:58 pm; edited 1 time in total |
|
Back to top |
|
|
=DvD= Veteran
Joined: 25 Mar 2004 Posts: 1353
|
Posted: Sun Dec 26, 2004 8:14 pm Post subject: |
|
|
va emerso mi sa!
e poi usa slocate |
|
Back to top |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Sun Dec 26, 2004 8:23 pm Post subject: |
|
|
=DvD= wrote: | va emerso mi sa!
e poi usa slocate |
ma come va emerso? ho già installato gentoo su 5 pc e non ho mai dovuto emergere locate e neppure updatedb
questo priblema non l'ho mai avuto.
non sto dicendo che non hai ragione neh....è solo che mi sembra strano
cmq grazie mille |
|
Back to top |
|
|
ProT-0-TypE Veteran
Joined: 20 Dec 2003 Posts: 1624 Location: Cagliari
|
Posted: Sun Dec 26, 2004 8:31 pm Post subject: |
|
|
c'è qualcosa in più!
quando fai Code: | # echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin
|
dovrebbe darti solo questo! controlla bene di non aver "appiccicato" qualcosa in /etc/profile o nei config degli utenti
Last edited by ProT-0-TypE on Sun Dec 26, 2004 8:33 pm; edited 1 time in total |
|
Back to top |
|
|
alemare Tux's lil' helper
Joined: 23 Sep 2004 Posts: 137 Location: Firenze
|
Posted: Sun Dec 26, 2004 8:31 pm Post subject: |
|
|
Ciao! anche io sto installando ora!
in un messaggio durante l'emerge del system durante il pacchetto findutils mi sembra diceva che in quel pacchetto non faceva più parte locate ed andava emerso slocate
Ciao Alemare |
|
Back to top |
|
|
Manuelixm l33t
Joined: 03 Apr 2004 Posts: 832 Location: Brescia
|
Posted: Sun Dec 26, 2004 8:31 pm Post subject: |
|
|
Il pacchetto è da emergere e si chiama slocate, se nelle altre installazioni non l'hai mai emerso probabilmente era dipendenza di qualcosa, comunque anche l'handbook ne parla.
_________________ Linux user#370732 |
|
Back to top |
|
|
=DvD= Veteran
Joined: 25 Mar 2004 Posts: 1353
|
Posted: Sun Dec 26, 2004 8:35 pm Post subject: |
|
|
infatti anche io ho emerso slocate |
|
Back to top |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Sun Dec 26, 2004 8:37 pm Post subject: |
|
|
ProT-0-TypE wrote: | c'è qualcosa in più!
quando fai Code: | # echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin
|
dovrebbe darti solo questo! controlla bene di non aver "appiccicato" qualcosa in /etc/profile o nei config degli utenti |
io non ho toccato il file /etc/profile ed inoltre l'unico utente che ho è root, che è quello che uso.
ho installato gentoo oggi, non ho ancora pasticciato io! eheheh
come posso risolvere?
inoltre come mai per esempio non funziona neppure updatedb? |
|
Back to top |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Sun Dec 26, 2004 8:39 pm Post subject: |
|
|
ho emerso slocate ed ora funziona anche updatedb, come mai? fanno parte dello stesso pacchetto?
cmq grazie mille a tutti! |
|
Back to top |
|
|
Manuelixm l33t
Joined: 03 Apr 2004 Posts: 832 Location: Brescia
|
Posted: Sun Dec 26, 2004 8:41 pm Post subject: |
|
|
Credo di averti postato il modo per sapere se hai o no installato slocate e quindi i tools locate e updatedb. Il comando in questione è:
Se vuoi risolvere ti basta dare:
Per assurdo se non funzionasse, c'è qualcosaltro che non va, cosa che dubito.
Non conta quante volte hai installato gentoo, conta che hai capito come si installa e cosa installi. _________________ Linux user#370732 |
|
Back to top |
|
|
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Sun Dec 26, 2004 8:43 pm Post subject: |
|
|
luna80 wrote: |
inoltre come mai per esempio non funziona neppure updatedb? |
hai emerso app-portage/esearch?
scusate ho letto eupdatedb (la stanchezza)............
In ogni caso consiglio un emerge...
Last edited by lopio on Mon Dec 27, 2004 10:32 am; edited 3 times in total |
|
Back to top |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Sun Dec 26, 2004 8:50 pm Post subject: |
|
|
Manuelixm wrote: | Credo di averti postato il modo per sapere se hai o no installato slocate e quindi i tools locate e updatedb. Il comando in questione è:
Se vuoi risolvere ti basta dare:
Per assurdo se non funzionasse, c'è qualcosaltro che non va, cosa che dubito.
Non conta quante volte hai installato gentoo, conta che hai capito come si installa e cosa installi. |
forse non hai letto ma ho risolto il problema proprio con il comando
cmq dicendo che ho già installato gentoo altre volte non volevo dire che so tutto, ci mancherebbe, non lo penso assolutamente!!!! è solo che mi sembrava strano, tutto qui! |
|
Back to top |
|
|
Manuelixm l33t
Joined: 03 Apr 2004 Posts: 832 Location: Brescia
|
Posted: Sun Dec 26, 2004 8:55 pm Post subject: |
|
|
Ho scritto quando postavi la soluzione scusami, comunque era solo un'affermazione che soprattutto riguarda me, era solo un consiglio.
Metti risolto all'oggetto. _________________ Linux user#370732 |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30966 Location: here
|
Posted: Sun Dec 26, 2004 10:34 pm Post subject: |
|
|
luna80 wrote: | ho emerso slocate ed ora funziona anche updatedb, come mai? fanno parte dello stesso pacchetto? |
Si updatedb fa parte dello stesso pacchetto di slocate. Serve infatti ad aggiornare il db indicizato di slocate. Anche io ho dovuto installarlo usando la gentoo 2004.3 questo perche' e' stato deciso che se vuoi qualcosa lo devi installare tu (vedi dhcpcd) _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|