Debian – command not found

debianupdate

I use Debian and try to run update-rc.d sphinx defaults, buts it's shows:

update-rc.d command not found

Script sphinx already exists.

How can I fix it?

Best Answer

sudo update-rc.d

or

sudo /usr/sbin/update-rc.d

If the second one works but the first one doesn't, something is wrong with your $PATH variables.