Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[risolto] -bash: locate: command not found
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Sun Dec 26, 2004 8:09 pm    Post subject: [risolto] -bash: locate: command not found Reply with quote

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
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Sun Dec 26, 2004 8:14 pm    Post subject: Reply with quote

va emerso mi sa!
e poi usa slocate ;)
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Sun Dec 26, 2004 8:23 pm    Post subject: Reply with quote

=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
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Sun Dec 26, 2004 8:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
alemare
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2004
Posts: 137
Location: Firenze

PostPosted: Sun Dec 26, 2004 8:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Manuelixm
l33t
l33t


Joined: 03 Apr 2004
Posts: 832
Location: Brescia

PostPosted: Sun Dec 26, 2004 8:31 pm    Post subject: Reply with quote

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.
Code:

emerge -s slocate

_________________
Linux user#370732
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Sun Dec 26, 2004 8:35 pm    Post subject: Reply with quote

infatti anche io ho emerso slocate :)
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Sun Dec 26, 2004 8:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Sun Dec 26, 2004 8:39 pm    Post subject: Reply with quote

ho emerso slocate ed ora funziona anche updatedb, come mai? fanno parte dello stesso pacchetto?


cmq grazie mille a tutti!
Back to top
View user's profile Send private message
Manuelixm
l33t
l33t


Joined: 03 Apr 2004
Posts: 832
Location: Brescia

PostPosted: Sun Dec 26, 2004 8:41 pm    Post subject: Reply with quote

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 è:
Code:
emerge -s slocate

Se vuoi risolvere ti basta dare:
Code:
emerge slocate

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
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Sun Dec 26, 2004 8:43 pm    Post subject: Reply with quote

luna80 wrote:

inoltre come mai per esempio non funziona neppure updatedb?


hai emerso app-portage/esearch?

Code:

emerge 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
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Sun Dec 26, 2004 8:50 pm    Post subject: Reply with quote

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 è:
Code:
emerge -s slocate

Se vuoi risolvere ti basta dare:
Code:
emerge slocate

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
Code:
emerge slocate


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
View user's profile Send private message
Manuelixm
l33t
l33t


Joined: 03 Apr 2004
Posts: 832
Location: Brescia

PostPosted: Sun Dec 26, 2004 8:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Sun Dec 26, 2004 10:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum