[gutsy] command-not-found not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: command-not-found
This is just too funny:
$ alien
bash: /usr/bin/
bash: alien: command not found
version:
$ dpkg -s bash
Package: bash
Essential: yes
Status: install ok installed
Priority: required
Section: shells
Installed-Size: 2028
Maintainer: Ubuntu Core developers <email address hidden>
Architecture: amd64
Version: 3.2-0ubuntu9
Replaces: bash-doc (<= 2.05-1), bash-completion
Depends: base-files (>= 2.1.12), debianutils (>= 2.15)
Pre-Depends: libc6 (>= 2.6-1), libncurses5 (>= 5.6)
Suggests: bash-doc
Conflicts: bash-completion
Conffiles:
/etc/skel/.bashrc 52acca91b52f797
/etc/skel/.profile 7d97942254c076a
/etc/skel/
/etc/bash.bashrc 0a22bcf91612bad
/etc/bash_
Description: The GNU Bourne Again SHell
Bash is an sh-compatible command language interpreter that executes
commands read from the standard input or from a file. Bash also
incorporates useful features from the Korn and C shells (ksh and csh).
.
Bash is ultimately intended to be a conformant implementation of the
IEEE POSIX Shell and Tools specification (IEEE Working Group 1003.2).
.
Included in the bash package is the Programmable Completion Code, by
Ian Macdonald.
Original-
$ dpkg -s command-not-found
Package: command-not-found
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 96
Maintainer: Michael Vogt <email address hidden>
Architecture: all
Version: 0.2.7
Depends: python, python-central (>= 0.5.8), command-
Conffiles:
/etc/zsh_
/etc/bash_
Description: Suggest installation of packages in interactive bash sessions
This package will install handler for command_not_found that lookups
programs not currently installed but available from the repositiories.
Original-
Python-Version: current
Bash expects the it to be at this location /usr/bin/ command- not-found The new package is installing it in the wrong location /usr/lib/ command- not-found.
root@andrew:~# dpkg -L command-not-found doc/command- not-found doc/command- not-found/ README doc/command- not-found/ copyright doc/command- not-found/ changelog. gz pycentral pycentral/ command- not-found pycentral/ command- not-found/ site-packages pycentral/ command- not-found/ site-packages/ CommandNotFound pycentral/ command- not-found/ site-packages/ CommandNotFound /CommandNotFoun d.py pycentral/ command- not-found/ site-packages/ CommandNotFound /__init_ _.py pycentral/ command- not-found/ site-packages/ command_ not_found- 0.1.egg- info command- not-found command_ not_found command_ not_found
/.
/usr
/usr/share
/usr/share/doc
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/lib
/usr/lib/
/etc
/etc/zsh_
/etc/bash_
Either the /etc/bash.bashrc has to be fixed our possible a simlink between the two locations needs to be created.