Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: updatedb : /usr/lib/locate/frcode not found, locate & updatedb< Next Oldest | Next Newest >
bcostacurta Offline





Group: Members
Posts: 13
Joined: Dec. 2008
Posted: Dec. 20 2008,17:49 QUOTE

Hello,

running updatedb (related to 'locate' usage) I receive error :

/usr/bin/updatedb: line 114: /usr/lib/locate/frcode: No such file or directory

In fact /usr/lib/locate is simply missing ... !?!

Thanks for any clue.
Bye,
Bruno
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 20 2008,21:56 QUOTE

I can't tell you why updatedb is included in DSL, but it might be something unrelated to locate.
What i can say is that locate is not available in DSL base, but is available in the gnu-utils and findutils extensions.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
bcostacurta Offline





Group: Members
Posts: 13
Joined: Dec. 2008
Posted: Dec. 20 2008,23:01 QUOTE

Unfortunately both gnu-utils and findutils extensions were already installed before getting this problem.

Bruno
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 21 2008,13:24 QUOTE

Something went wrong on your end, apparently.  /usr/lib/locate/frcode is also part of gnu-utils.dsl

In findutils.uci, frcode is in /opt/findutils/libexec.  In that case the updatedb script in DSL will not work; you'll need to use /opt/findutils/bin/updatedb


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
bcostacurta Offline





Group: Members
Posts: 13
Joined: Dec. 2008
Posted: Dec. 21 2008,22:38 QUOTE

Indeed /opt/findutils/bin/updatedb is present and (quite) work.

Indeed it seems that its options and/or setup are missing : I had to use '--output=/var/cache/locate/locatedb' when calling updatedb to obtain correct call to 'locate' program.

Bye,
Bruno
Back to top
Profile PM 
7 replies since Dec. 20 2008,17:49 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: updatedb : /usr/lib/locate/frcode not found

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code