plocate updatedb /var/lib/plocate/: Is a directory error
1
vote
3
answers
19210
views
> plocate is a locate(1) based on posting lists, giving much faster searches
on a much smaller index. It is a drop-in replacement for mlocate in nearly
all aspects, and is fast on SSDs and non-SSDs alike.
But I'm having problem using it ***under WSL1***.
$ plocate java
/var/lib/plocate/plocate.db: No such file or directory
$ sudo updatedb
/var/lib/plocate/: Is a directory
$ updatedb.plocate
/var/lib/plocate/: Is a directory
$ apt-cache policy plocate
plocate:
Installed: 1.1.8-2+deb11u1
Candidate: 1.1.8-2+deb11u1
Version table:
1.1.13-1~bpo11+1 100
100 http://ftp.debian.org/debian bullseye-backports/main amd64 Packages
*** 1.1.8-2+deb11u1 500
500 http://deb.debian.org/debian bullseye/main amd64 Packages
100 /var/lib/dpkg/status
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
Asked by xpt
(1858 rep)
Jun 3, 2022, 04:08 PM
Last activity: Sep 1, 2023, 04:42 PM
Last activity: Sep 1, 2023, 04:42 PM