Package: dlocate
Version: 1.02
Severity: wishlist

Dear Maintainer,

The 'parallel' package diverts a command in the 'moreutils' package.

'-lsman' & '-lsbin' don't reflect that change:

    % { dlocate -lsman moreutils ; dlocate -lsbin moreutils ; } | grep parallel
    /usr/share/man/man1/parallel.1.gz
    /usr/bin/parallel

Which creates a little illusion of duplicate filenames in lines
#1 & #3 and #2 & #4 below:

    # feed the last command back to 'dlocate', filter out diversions:
    % { dlocate -lsman moreutils ; dlocate -lsbin moreutils ; } | grep parallel 
| xargs dlocate | grep -v diversion | nl
     1  moreutils: /usr/bin/parallel
     2  moreutils: /usr/share/man/man1/parallel.1.gz
     3  parallel: /usr/bin/parallel
     4  parallel: /usr/share/man/man1/parallel.1.gz

No duplicate filenames exist under '/usr/' of course.  
A diversion search reveals:

    % dlocate parallel | grep diversion
    diversion by parallel from: /usr/share/man/man1/parallel.1.gz
    diversion by parallel to: /usr/share/man/man1/parallel.moreutils.1.gz
    diversion by parallel from: /usr/bin/parallel
    diversion by parallel to: /usr/bin/parallel.moreutils

Wouldn't it be simpler to have the '-ls*' switch output show
the diversion names (where applicable) instead?  Hypothetical output:

    % dlocate -lsman moreutils | grep parallel
    /usr/bin/parallel.moreutils

HTH...
    


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages dlocate depends on:
ii  dctrl-tools [grep-dctrl]  2.21.1
ii  dpkg                      1.16.3
ii  perl                      5.14.2-9

dlocate recommends no packages.

dlocate suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to