On Tue, 31 Oct 2006 19:47:12 -0700
grumpypenguin <[EMAIL PROTECTED]> wrote:

> when I try to do a updatedb && update-menus
> =====================================
> [EMAIL PROTECTED] grumpy]# updatedb && update-menus
> /usr/bin/slocate: option requires an argument -- l
> 
> [EMAIL PROTECTED] grumpy]#
> =================================
> any idea what I'm doing wrong ?

you're not doing anything wrong (for once :-) )

As root you could edit /usr/bin/updatedb to the following :

source /etc/updatedb.conf
/usr/bin/slocate -u

or

You could run : slocate -u && update-menus

The explanation is that the -l flag only accepts 0 or 1 as security
levels whereas your security level could be between 0 and (I think 4).
eg Standard security is 3

John
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to