Package: dlocate
Version: 1.02
Severity: important

$ dlocate --filename-only --verbose -S '^/etc' 
PKGS: ^/etc
RE_SEPARATOR: |
PKGS_REGEXP: ^/etc
RUNNING: grep -E ^([-a-zA-Z0-9_.+]+:|diversion by ).*(^/etc) 
/var/lib/dlocate/dlocatedb
OUTPUT FILTER: Filenames only
$ dlocate --filename-only --verbose '^/etc' 
PKGS: ^/etc
RE_SEPARATOR: |
PKGS_REGEXP: ^/etc
RUNNING: grep -E ^/etc /var/lib/dlocate/dlocatedb
OUTPUT FILTER: Filenames only
$

i.e. no output in either case, which is clearly ridiculous.

Considering "DEFAULT" and "-S" are advertised in the man page as searching for
package filenames, this is clearly broken behaviour. I see that dlocate is
just a shell script, I will have a go at writing a patch for it.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dlocate depends on:
ii  dctrl-tools [grep-dctrl]  2.20
ii  dpkg                      1.16.1.2
ii  perl                      5.14.2-6

dlocate recommends no packages.

dlocate suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to