Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#1156 closed bug (fixed)

/bin/updatedb broken

Reported by: elmo Owned by: axeld
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

First of all, it didn't have executable bit set, so I had to run it manually with "sh /bin/updatedb". Then, it's apparently missing some component.

updatedb: line 105: frcode: command not found updatedb: new database would be empty

And the relevant line of updatedb is } | sort -f | $frcode > $LOCATE_DB.n

The definition of $frcode is on line 83: : ${frcode=frcode}

find / -name frcode doesn't give any results.

About Haiku says that the revision number is 20683.

Change History (4)

comment:1 by axeld, 17 years ago

The easiest solution would be to remove it altogether. Since it doesn't have any value in Haiku, I don't really think why we should include it anyway (besides that it seems to have been part of BeOS).

comment:2 by korli, 17 years ago

Resolution: fixed
Status: newclosed

fixed in hrev20699 a clean build could be needed

comment:3 by diver, 17 years ago

Strange, but i get null sized updatedb file now, using image form haikuhost.com. Also StyledEdit can't open this file (Bad argument type passed to function)

in reply to:  1 comment:4 by wkornewald, 17 years ago

Replying to axeld:

The easiest solution would be to remove it altogether. Since it doesn't have any value in Haiku, I don't really think why we should include it anyway (besides that it seems to have been part of BeOS).

I'm all for removing unnecessary legacy stuff. Especially, if it's the easiest way to fix a bug. :)

Note: See TracTickets for help on using tickets.