Comment 1 for bug 135794

Revision history for this message
topdog (andrew-topdog-software) wrote :

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
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/command-not-found
/usr/share/doc/command-not-found/README
/usr/share/doc/command-not-found/copyright
/usr/share/doc/command-not-found/changelog.gz
/usr/share/pycentral
/usr/share/pycentral/command-not-found
/usr/share/pycentral/command-not-found/site-packages
/usr/share/pycentral/command-not-found/site-packages/CommandNotFound
/usr/share/pycentral/command-not-found/site-packages/CommandNotFound/CommandNotFound.py
/usr/share/pycentral/command-not-found/site-packages/CommandNotFound/__init__.py
/usr/share/pycentral/command-not-found/site-packages/command_not_found-0.1.egg-info
/usr/lib
/usr/lib/command-not-found
/etc
/etc/zsh_command_not_found
/etc/bash_command_not_found

Either the /etc/bash.bashrc has to be fixed our possible a simlink between the two locations needs to be created.