[Bug 2088996] [NEW] --help lists --ignore-installed twice

Anselm Schüler 2088996 at bugs.launchpad.net
Tue Nov 19 10:13:55 UTC 2024


Public bug reported:

--help lists --ignore-installed twice

current behavior:
$ /usr/lib/command-not-found --help
Usage: command-not-found [options] <command-name>

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -d DATA_DIR, --data-dir=DATA_DIR
                        use this path to locate data fields
  --ignore-installed, --ignore-installed
                        ignore local binaries and display the available
                        packages
  --no-failure-msg      don't print '<command-name>: command not found'

expected behavior:
$ /usr/lib/command-not-found --help
Usage: command-not-found [options] <command-name>

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -d DATA_DIR, --data-dir=DATA_DIR
                        use this path to locate data fields
  --ignore-installed    ignore local binaries and display the available
                        packages
  --no-failure-msg      don't print '<command-name>: command not found'

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: command-not-found 23.04.0
Uname: Linux 6.11.5 x86_64
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
CloudBuildName: server
CloudSerial: 20240608
Date: Tue Nov 19 10:11:14 2024
PackageArchitecture: all
ProcEnviron:
 LANG=C.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: command-not-found
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: command-not-found (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug cloud-image noble

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/2088996

Title:
  --help lists --ignore-installed twice

Status in command-not-found package in Ubuntu:
  New

Bug description:
  --help lists --ignore-installed twice

  current behavior:
  $ /usr/lib/command-not-found --help
  Usage: command-not-found [options] <command-name>

  Options:
    --version             show program's version number and exit
    -h, --help            show this help message and exit
    -d DATA_DIR, --data-dir=DATA_DIR
                          use this path to locate data fields
    --ignore-installed, --ignore-installed
                          ignore local binaries and display the available
                          packages
    --no-failure-msg      don't print '<command-name>: command not found'

  expected behavior:
  $ /usr/lib/command-not-found --help
  Usage: command-not-found [options] <command-name>

  Options:
    --version             show program's version number and exit
    -h, --help            show this help message and exit
    -d DATA_DIR, --data-dir=DATA_DIR
                          use this path to locate data fields
    --ignore-installed    ignore local binaries and display the available
                          packages
    --no-failure-msg      don't print '<command-name>: command not found'

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: command-not-found 23.04.0
  Uname: Linux 6.11.5 x86_64
  ApportVersion: 2.28.1-0ubuntu3.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CloudBuildName: server
  CloudSerial: 20240608
  Date: Tue Nov 19 10:11:14 2024
  PackageArchitecture: all
  ProcEnviron:
   LANG=C.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: command-not-found
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/2088996/+subscriptions




More information about the foundations-bugs mailing list