[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mandrake-cooker
Subject:    [Cooker] [Bug 26649] [slocate] NEW: updatedb script gives error
From:       "kjetil84 () gmail ! com" <bugzilla () qa ! mandrivalinux ! com>
Date:       2006-10-31 19:44:24
Message-ID: bug26649.20061031194424.358949 () qa ! mandriva ! com
[Download RAW message or body]

User ID: 54559, 4 bugs reported (2 fixed, 0 duplicate, 0 invalid), 20 comments.

http://qa.mandriva.com/show_bug.cgi?id=26649





------- Comment #1 from kjetil84@gmail.com  2006-10-31 20:44 -------
Still valid here.. 


-- 
Configure bugmail: http://qa.mandriva.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: warly@mandriva.com
status: NEW
distribution: 2007.0
creation_date: 
description: 
command updatedb gives this error:
/usr/bin/slocate: option requires an argument -- l

Looking inside updatedb:
/usr/bin/slocate -u -l"$SECURITY" $@

man slocate: says: -l  <level>
Apparently there must be a space between "l" and ""$SECURITY"".

echo $SECURITY:
3
My security level seems to be "3".
But when I run
/usr/bin/slocate -u -l "$SECURITY"
I get this error:
slocate: fatal error: Security level must be 0 or 1.

So $SECURITY must be set to "1" (default for slocate). 
And put a space between "-l" and ""$SECURITY"" (or remove "-l "$SECURITY"").

vatbier
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic