← Back to team overview

touch-packages team mailing list archive

[Bug 1539858] Re: whereis command output for -M and -B options is inversed

 

Those switches instruct whereis on where it should search for binaries
or man pages.  You asked it to look only in a directory where the file
is NOT and thus it does not report finding the file.  Try:

whereis -B /usr/bin -f apt-get


** Changed in: util-linux (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1539858

Title:
  whereis command output for -M and -B options is inversed

Status in util-linux package in Ubuntu:
  Invalid

Bug description:
  Ubuntu 14.04

  using whereis command I came across the following situation

  if I type '-M' option I get binaries result,
  if I type '-B' option I get manual results,

  command               : whereis -M /usr -f apt-get

  expected output : /usr/share/man/man8/apt-get.8.gz

  real output            : /usr/bin/apt-get /usr/bin/X11/apt-get

  
  command               : whereis -B /usr -f apt-get

  expected output : /usr/bin/apt-get /usr/bin/X11/apt-get

  real output            : /usr/share/man/man8/apt-get.8.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1539858/+subscriptions