Hi, after setting LC_ALL=en_US.UTF-8 on my env locate.mklocatedb seems broken, resetting LC_ALL=C is a workaround.
$ export LC_ALL=en_US.UTF-8 $ doas /usr/libexec/locate.updatedb sort: Illegal byte sequence locate.mklocatedb: cannot build locate database $ export LC_ALL=C $ doas /usr/libexec/locate.updatedb Should we run weekly(8) with LC_ALL=C to be sure that locate.updatedb runs correctly ? Cheers Giovanni