Debian Bug report logs - #412459
/usr/bin/locate: locate syntax output has -version instead of --version

version graph

Package: findutils; Maintainer for findutils is Andreas Metzler <ametzler@debian.org>; Source for findutils is src:findutils (PTS, buildd, popcon).

Reported by: Paul TBBle Hampson <Paul.Hampson@Pobox.com>

Date: Mon, 26 Feb 2007 05:25:12 UTC

Severity: minor

Found in version findutils/4.2.28-1

Fixed in versions findutils/4.3.5-1, findutils/4.2.31-1

Done: Andreas Metzler <ametzler@debian.org>

Bug is archived. No further changes may be made.

Forwarded to http://savannah.gnu.org/bugs/?19155

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Andreas Metzler <ametzler@debian.org>:
Bug#412459; Package findutils. (full text, mbox, link).


Acknowledgement sent to Paul TBBle Hampson <Paul.Hampson@Pobox.com>:
New Bug report received and forwarded. Copy sent to Andreas Metzler <ametzler@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Paul TBBle Hampson <Paul.Hampson@Pobox.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /usr/bin/locate: locate syntax output has -version instead of --version
Date: Mon, 26 Feb 2007 16:23:30 +1100
[Message part 1 (text/plain, inline)]
Package: findutils
Version: 4.2.28-1
Severity: minor
File: /usr/bin/locate

locate produces the following:
Usage: locate [-d path | --database=path] [-e | -E | --[non-]existing]
      [-i | --ignore-case] [-w | --wholename] [-b | --basename] 
      [--limit=N | -l N] [-S | --statistics] [-0 | --null] [-c | --count]
      [-P | -H | --nofollow] [-L | --follow] [-m | --mmap ] [ -s | --stdio ]
      [-A | --all] [-p | --print] [-r | --regex ] [--regextype=TYPE]
      [-version] [--help]
      pattern...

Report bugs to <bug-findutils@gnu.org>.

Yet if you run locate -version, it tries to break it up into short
options, and barfs on the 'v'.

locate --version works correctly:
GNU locate version 4.2.28

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages findutils depends on:
ii  libc6                       2.3.6.ds1-12 GNU C Library: Shared libraries

findutils recommends no packages.

-- no debconf information

-- 
Paul "TBBle" Hampson, Paul.Hampson@Pobox.com

Shorter .sig for a more eco-friendly paperless office.
[Message part 2 (application/pgp-signature, inline)]

Message sent on to Paul TBBle Hampson <Paul.Hampson@Pobox.com>:
Bug#412459. (full text, mbox, link).


Message #8 received at 412459-submitter@bugs.debian.org (full text, mbox, reply):

From: Andreas Metzler <INVALID.NOREPLY@gnu.org>
To: Andreas Metzler <gnu@downhill.at.eu.org>, 412459-submitter@bugs.debian.org, bug-findutils@gnu.org
Subject: [bug #19155] Typo in locate --help
Date: Mon, 26 Feb 2007 18:09:14 +0000
URL:
  <http://savannah.gnu.org/bugs/?19155>

                 Summary: Typo in locate --help
                 Project: findutils
            Submitted by: ametzler
            Submitted on: Montag 26.02.2007 um 19:09
                Category: find
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Paul TBBle Hampson
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.28
           Fixed Release: None

    _______________________________________________________

Details:

Hej,

this was reported as  http://bugs.debian.org/412459 by Paul TBBle Hampson:

locate --help advocates

      [--max-database-age D] [-version] [--help]

however it should read --version instead. This applies to both 4.2.28 and CVS
HEAD.

thanks, cu andreas




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?19155>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




Noted your statement that Bug has been forwarded to http://savannah.gnu.org/bugs/?19155. Request was from Andreas Metzler <ametzler@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Message sent on to Paul TBBle Hampson <Paul.Hampson@Pobox.com>:
Bug#412459. (full text, mbox, link).


Message #13 received at 412459-submitter@bugs.debian.org (full text, mbox, reply):

From: James Youngman <INVALID.NOREPLY@gnu.org>
To: 412459-submitter@bugs.debian.org, James Youngman <jay@gnu.org>, bug-findutils@gnu.org
Subject: [bug #19155] Typo in locate --help
Date: Sat, 03 Mar 2007 02:11:29 +0000
Follow-up Comment #1, bug #19155 (project findutils):

This problem is fixed in the CVS code for findutils.
To resolve your problem, you could either wait for the 
next official release of findutils, or check out a copy 
of the code from the CVS repository for findutils.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?19155>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




Message sent on to Paul TBBle Hampson <Paul.Hampson@Pobox.com>:
Bug#412459. (full text, mbox, link).


Message #16 received at 412459-submitter@bugs.debian.org (full text, mbox, reply):

From: James Youngman <INVALID.NOREPLY@gnu.org>
To: James Youngman <jay@gnu.org>, 412459-submitter@bugs.debian.org, bug-findutils@gnu.org
Subject: [bug #19155] Typo in locate --help
Date: Sat, 03 Mar 2007 02:11:41 +0000
Update of bug #19155 (project findutils):

                  Status:                    None => Fixed                  
             Assigned to:                    None => jay                    


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?19155>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




Message sent on to Paul TBBle Hampson <Paul.Hampson@Pobox.com>:
Bug#412459. (full text, mbox, link).


Message #19 received at 412459-submitter@bugs.debian.org (full text, mbox, reply):

From: James Youngman <INVALID.NOREPLY@gnu.org>
To: James Youngman <jay@gnu.org>, 412459-submitter@bugs.debian.org, bug-findutils@gnu.org
Subject: [bug #19155] Typo in locate --help
Date: Sun, 15 Apr 2007 19:41:06 +0000
Update of bug #19155 (project findutils):

             Open/Closed:                    Open => Closed                 
           Fixed Release:                    None => 4.3.3                  


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?19155>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




Message sent on to Paul TBBle Hampson <Paul.Hampson@Pobox.com>:
Bug#412459. (full text, mbox, link).


Message #22 received at 412459-submitter@bugs.debian.org (full text, mbox, reply):

From: James Youngman <INVALID.NOREPLY@gnu.org>
To: James Youngman <jay@gnu.org>, 412459-submitter@bugs.debian.org, bug-findutils@gnu.org
Subject: [bug #19155] Typo in locate --help
Date: Sun, 22 Apr 2007 16:58:27 +0000
Follow-up Comment #2, bug #19155 (project findutils):

Also fixed int he CVS code for 4.2.x.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?19155>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




Reply sent to Andreas Metzler <ametzler@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Paul TBBle Hampson <Paul.Hampson@Pobox.com>:
Bug acknowledged by developer. (full text, mbox, link).


Message #27 received at 412459-close@bugs.debian.org (full text, mbox, reply):

From: Andreas Metzler <ametzler@debian.org>
To: 412459-close@bugs.debian.org
Subject: Bug#412459: fixed in findutils 4.3.5-1
Date: Sun, 13 May 2007 17:47:03 +0000
Source: findutils
Source-Version: 4.3.5-1

We believe that the bug you reported is fixed in the latest version of
findutils, which is due to be installed in the Debian FTP archive:

findutils_4.3.5-1.diff.gz
  to pool/main/f/findutils/findutils_4.3.5-1.diff.gz
findutils_4.3.5-1.dsc
  to pool/main/f/findutils/findutils_4.3.5-1.dsc
findutils_4.3.5-1_i386.deb
  to pool/main/f/findutils/findutils_4.3.5-1_i386.deb
findutils_4.3.5.orig.tar.gz
  to pool/main/f/findutils/findutils_4.3.5.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 412459@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Metzler <ametzler@debian.org> (supplier of updated findutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 13 May 2007 14:40:44 +0200
Source: findutils
Binary: findutils
Architecture: source i386
Version: 4.3.5-1
Distribution: experimental
Urgency: low
Maintainer: Andreas Metzler <ametzler@debian.org>
Changed-By: Andreas Metzler <ametzler@debian.org>
Description: 
 findutils  - utilities for finding files--find, xargs, and locate
Closes: 21084 291419 354384 370057 400936 403823 412459 420190
Changes: 
 findutils (4.3.5-1) experimental; urgency=low
 .
   * New upstream version.
     - Better error message if the second operand of a binary operator is
       missing. (Closes: #403823)
     - If locatedb is old show actual age in warning mesage instead of just
       saying "more than 8 days old". (Closes: #354384)
     - Do not show warnings about argument ordering if -nowarn is specified.
       (Closes: #370057)
     - Correct docs for %b printf specifier. (Closes: #400936)
     - [-version] instead of [--version] in locate --help. (Closes: #412459)
     - make clean does not delete regexprops.texi if cross-building.
       (Closes: #420190)
     - Different error message on 'find ""'. (Closes: #21084)
     - Support for *BSDs -newerXY tests allows to find files with a date in the
       future without generating a temporary file. "find -newermt 2007-07-07"
       (Closes: #291419)
   * Undo workaround for savannah #19550, since it is a glibc bug.
Files: 
 3888ad33fac7e8618724af7181a7ae21 660 utils required findutils_4.3.5-1.dsc
 52138c6834208506a5dd70c9701f90e8 1726358 utils required findutils_4.3.5.orig.tar.gz
 6c91c88107b6fd172b449ad79b05c4c8 14695 utils required findutils_4.3.5-1.diff.gz
 7b081f5a02d3dccd3e5e6dc5a54cb94b 577666 utils required findutils_4.3.5-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGR0p6HTOcZYuNdmMRAmCAAJ4zvTdwLFI+V1iR8jIiEWCGSGqaewCeLPYa
QCRgyNfyRSdMshIVZE2FFd0=
=ItfQ
-----END PGP SIGNATURE-----




Reply sent to Andreas Metzler <ametzler@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Paul TBBle Hampson <Paul.Hampson@Pobox.com>:
Bug acknowledged by developer. (full text, mbox, link).


Message #32 received at 412459-close@bugs.debian.org (full text, mbox, reply):

From: Andreas Metzler <ametzler@debian.org>
To: 412459-close@bugs.debian.org
Subject: Bug#412459: fixed in findutils 4.2.31-1
Date: Sat, 02 Jun 2007 09:02:03 +0000
Source: findutils
Source-Version: 4.2.31-1

We believe that the bug you reported is fixed in the latest version of
findutils, which is due to be installed in the Debian FTP archive:

findutils_4.2.31-1.diff.gz
  to pool/main/f/findutils/findutils_4.2.31-1.diff.gz
findutils_4.2.31-1.dsc
  to pool/main/f/findutils/findutils_4.2.31-1.dsc
findutils_4.2.31-1_i386.deb
  to pool/main/f/findutils/findutils_4.2.31-1_i386.deb
findutils_4.2.31.orig.tar.gz
  to pool/main/f/findutils/findutils_4.2.31.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 412459@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Metzler <ametzler@debian.org> (supplier of updated findutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat,  2 Jun 2007 09:55:27 +0200
Source: findutils
Binary: findutils
Architecture: source i386
Version: 4.2.31-1
Distribution: unstable
Urgency: medium
Maintainer: Andreas Metzler <ametzler@debian.org>
Changed-By: Andreas Metzler <ametzler@debian.org>
Description: 
 findutils  - utilities for finding files--find, xargs, and locate
Closes: 412459 420190 426862
Changes: 
 findutils (4.2.31-1) unstable; urgency=medium
 .
   * Undo workaround for savannah #19550, since it is a glibc bug.
   * New upstream bugfix release:
     - Fixes locate heap buffer overflow when using databases in old format.
       (CVE-2007-2452) Closes: #426862
     - make clean does not delete regexprops.texi if cross-building.
       (Closes: #420190)
     - [-version] instead of [--version] in locate --help. (Closes: #412459)
Files: 
 16f4e628a8e63cca5464b7d48f2cb28f 663 utils required findutils_4.2.31-1.dsc
 a0e31a0f18a49709bf5a449867c8049a 1326294 utils required findutils_4.2.31.orig.tar.gz
 f26ca47a383c7e9b3c7e4e26d1ce21ec 14516 utils required findutils_4.2.31-1.diff.gz
 75742515ce14edd06f2804423d4a8a84 422370 utils required findutils_4.2.31-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGYS2kHTOcZYuNdmMRAqYFAJ4qoYDi1tGrOpmNaazM63CzlxZpEgCeJkX8
xIG+vJLbRI4XB2FMZfPITFs=
=w/8/
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 05 Oct 2007 07:27:57 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Dec 23 16:48:54 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.