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.
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.