[Bug 561155] Re: command_not_found_handle shows no errors when command-not-found is uninstalled

Launchpad Bug Tracker 561155 at bugs.launchpad.net
Mon Apr 2 22:20:19 UTC 2012


This bug was fixed in the package bash - 4.2-2ubuntu1

---------------
bash (4.2-2ubuntu1) precise; urgency=low

  * Merge with Debian; remaining changes:

bash (4.2-2) unstable; urgency=low

  * Fix command-not-found location. Closes: #529313.
  * Print a replacement error message if command-not-found was removed
    after bashrc was loaded. Closes: #631023. LP: #561155.
  * skel.bashrc: Document and prepare enabling the globstar feature (Fabian
    Greffrath). Closes: #627926.
  * Apply upstream patches 021 - 024.
 -- Matthias Klose <doko at ubuntu.com>   Mon, 02 Apr 2012 23:58:07 +0200

** Changed in: bash (Ubuntu)
       Status: New => Fix Released

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

Title:
  command_not_found_handle shows no errors when command-not-found is
  uninstalled

Status in “bash” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: bash

  There are two problems with the command_not_found_handle hook in
  /etc/bash.bashrc:

  • [The first one was a dupe of bug 561046, removed.]

  • If both command-not-found and command-not-found-data are uninstalled
  but a shell remains open from when command-not-found was installed,
  then bad commands yield no error message at all:

  anders at balanced-tree:~$ badcommand
  anders at balanced-tree:~$

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: bash 4.1-2ubuntu2
  ProcVersionSignature: Ubuntu 2.6.32-20.29-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-20-generic x86_64
  NonfreeKernelModules: openafs wl nvidia
  Architecture: amd64
  Date: Sun Apr 11 22:57:27 2010
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate amd64 (20091020.3)
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: bash

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/561155/+subscriptions




More information about the foundations-bugs mailing list