You are not logged in.
Hi folks! I wanted to try
mlocateafter executing
sudo updatedbbut according to zsh it is not found. Even after reinstalling mlocate:
xyz@xyz ~ sudo pacman -S mlocate
[sudo] password for xyz:
warning: mlocate-0.26.git.20170220-5 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) mlocate-0.26.git.20170220-5
Total Installed Size: 0,34 MiB
Net Upgrade Size: 0,00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#####################################################################] 100%
(1/1) checking package integrity [#####################################################################] 100%
(1/1) loading package files [#####################################################################] 100%
(1/1) checking for file conflicts [#####################################################################] 100%
(1/1) checking available disk space [#####################################################################] 100%
:: Processing package changes...
(1/1) reinstalling mlocate [#####################################################################] 100%
:: Running post-transaction hooks...
(1/3) Creating system user accounts...
(2/3) Reloading system manager configuration...
(3/3) Arming ConditionNeedsUpdate...
xyz@xyz ~ which mlocate
mlocate not foundWhat am i missing?
Last edited by archnoon (2020-12-17 12:55:44)
Offline
The command name is just "locate" without the "m".
You can browse file contents of a package like this:
pacman -Ql mlocate | lessThe commands it installs are in the /usr/bin location:
$ pacman -Ql mlocate | grep /usr/bin
mlocate /usr/bin/
mlocate /usr/bin/locate
mlocate /usr/bin/slocate
mlocate /usr/bin/updatedbLast edited by Ropid (2020-12-17 11:27:27)
Offline