plocate -r says invalid option -- 'r'

Bug #1903336 reported by Marius Gedminas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
plocate (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

$ plocate --help
...
  -r, --regexp interpret patterns as basic regexps (slow)
...

$ plocate -r xyzzy
plocate: invalid option -- 'r'

Note that `plocate --regexp xyzzy` works fine.

This is fixed in some upstream version (I tested by pulling in a docker image of debian/sid, which has plocate 1.0.7).

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: plocate 1.0.4-4
ProcVersionSignature: Ubuntu 5.8.0-26.27-generic 5.8.14
Uname: Linux 5.8.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu50
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Fri Nov 6 19:52:49 2020
EcryptfsInUse: Yes
InstallationDate: Installed on 2019-06-12 (512 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
SourcePackage: plocate
UpgradeStatus: Upgraded to groovy on 2020-10-23 (14 days ago)

Revision history for this message
Marius Gedminas (mgedmin) wrote :
Revision history for this message
Marius Gedminas (mgedmin) wrote :

This is fixed in upstream version 1.0.5, with this commit: https://git.sesse.net/?p=plocate;a=commitdiff;h=f7dddf5cd31d26be12c4c4d718d257fe012fe368

Looking at https://sources.debian.org/src/plocate/1.0.7-1/debian/changelog/ I think there may be some other changes worth SRUing:
- make /etc/cron.daily/plocate cleanly if the package has been removed (in 1.0.5-3)
- Remove locate alternative when package is removed (in prerm) (in 1.0.6-1).

Revision history for this message
Steve Langasek (vorlon) wrote :

all supported releases of Ubuntu containing plocate have plocate >= 1.0.5, marking resolved.

Changed in plocate (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.