updatedb


Forum: Other Help Topics
Topic: updatedb
started by: Darigaaz

Posted by Darigaaz on May 13 2004,08:21
Code Sample
root@box:/# updatedb
sort: invalid option -- f
BusyBox v1.00-pre5 (2004.01.15-15:11+0000) multi-call binary

Usage: find [PATH...] [EXPRESSION]

BusyBox v1.00-pre5 (2004.01.15-15:11+0000) multi-call binary

Usage: sort [-n] [FILE]...


Could someone help me to fix this problem ?

Posted by sjmelia on May 13 2004,10:49
Hmm...

"Busybox" is a replacement (because it's tiny) for the really important utilities (like 'ls' to list your directories etc - they're actually programs in unix rather than built into the shell a la DOS) that usually come with unix. It basically replaces some programs with small replacements, but the price of a smaller size on disk is that often they don't support the same options.

So, I would suggest that you try and find the GNU versions of "sort" and "find" - it seems your program is complaining because the versions you have don't support required options. I think an enhanced install might get you them, or you can try to download a debian package using apt-get.

When i'm looking for a debian package I always go to Google and search for:
site:packages.debian.org [some keywords]
so in your case i'd probably search for
site:package.debian.org find
or something like that.

Debian packages come in a few flavours, the first thing you should try is find one that's in the "stable" section. Then use apt-get install [package-name] to get it.

I know that typing apt-get install coreutils should get you the gnu version of the "sort" command, but I have no idea about "find".

Sorry for the crap explanation - I hope it helps :)

disclaimer: I am a perpetual newbie

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.