WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Rudock1

  • WikiUser
  • *
  • Posts: 27
updatedb cannot find sort in findutils.tcz (TC 10)
« 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!

Offline Juanito

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