Tiny Core Linux

Tiny Core Extensions => TCE Corepure64 => Topic started by: Rudock1 on February 18, 2019, 06:02:31 AM

Title: updatedb cannot find sort in findutils.tcz (TC 10)
Post by: Rudock1 on February 18, 2019, 06:02:31 AM
Just a heads up about locate in findutils.tcz

TC v10 Corepure64 'findutils.tcz': sudo updatedb gives an error "/usr/local/bin/updatedb: line 323: usr/bin/sort: not found"

whereis sort reports: "sort: /usr/bin/sort /usr/local/bin/sort"

I see a a "sort -> ../../bin/busybox" in the /var/bin directory but there is no corresponding symbolic link from there over to the new location for sort in /usr/local/bin/sort

A temporary symbolic link 'sudo ln -s /usr/local/bin/sort /bin/sort' seems to revive the updatedb.  Is a fix better in the tcz or perhaps added to one of my two /opt/boot .sh files where sudo (I think) is assumed?

thx
Billy

Learning Linux one mistake at a time!
Title: Re: updatedb cannot find sort in findutils.tcz (TC 10)
Post by: Juanito on February 19, 2019, 10:20:11 PM
updated extension posted - thanks for reporting this