WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: updatedb cannot find sort in findutils.tcz (TC 10)  (Read 1832 times)

Offline Rudock1

  • Jr. Member
  • **
  • Posts: 62
updatedb cannot find sort in findutils.tcz (TC 10)
« on: February 18, 2019, 09: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!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14801
Re: updatedb cannot find sort in findutils.tcz (TC 10)
« Reply #1 on: February 20, 2019, 01:20:11 AM »
updated extension posted - thanks for reporting this