Package: plocate Version: 1.1.8-2 Severity: minor I noticed plocate always reports a broken locatedb as "plocate.db", even when the filename is something else:
twb@hera[Desktop]$ LOCATE_PATH=$PWD/test.mlocatedb locate 'tinyssh*deb' plocate.db is corrupt or an old version; please rebuild it. twb@hera[Desktop]$ locate 'tinyssh*deb' [no output] Clearly the broken file there is called "test.mlocatedb", not "plocate.db". plocate should either not mention a filename, or use the specific filename that had corruption/oldness. Not really relevant to this bug report, but the context for this is: 1. To reduce search load, I generate per-user locate databases on the NFS server, and tell clients to use them: server$ sudo -H -u twb LC_MESSAGES=C nocache nice ionice -c3 chrt --idle 0 updatedb --require-visibility=no --output /home/twb/.locatedb --database-root /home/twb client$ export LOCATE_PATH=/home/twb/.locatedb client$ catfish # or something else that calls locate(1). 2. mlocate is gone in Debian 12, so I wanted to test if locate(1plocate) could read a database generated by updatedb(8mlocate). If it could, I wouldn't have to upgrade all clients and servers at once. (It can't, hence the error message about "corrupt or an old version".) -- System Information: Debian Release: 11.0 APT prefers stable-updates APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'stable'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages plocate depends on: ii libc6 2.32-4 ii libgcc-s1 10.2.1-6 ii libstdc++6 10.2.1-6 ii liburing1 0.7-3 ii libzstd1 1.4.8+dfsg-2.1 plocate recommends no packages. Versions of packages plocate suggests: ii nocache 1.1-1+b1 ii powermgmt-base 1.36 ii systemd-sysv 247.3-6 -- no debconf information