Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My Ubuntu 12.04 The system shuts down normally not get error message can't not open

 / etc / init.d / .depend.stop
    no such file of directory

See picture

What can I do?

share|improve this question
Does this file exist? Post output of ls -la /etc/init.d | grep depend – Fred Thomsen May 14 '13 at 14:25

I don't know what they're for but here are three commands that will create these files and fill them with the same content as my copies of /etc/init.d/.depend.{stop,start,boot}

sudo install -b -m 644 <(<<EOF
EOF) /etc/init.d/.depend.stop

sudo install -b -m 644 <(<<EOF
EOF) /etc/init.d/.depend.start

sudo install -b -m 644 <(<<EOF
EOF) /etc/init.d/.depend.boot
share|improve this answer
Ok I have created three files {stop, start, boat} With the same content (not tested) – Heiko Schäfer May 14 '13 at 15:09

@Oli's answer should create those files for you, but if you want to shut down your system try to use:

sudo shutdown -P now
share|improve this answer
or the powerbutton or the shut down function built in the system.... – Alvar May 14 '13 at 16:31
yes I just thought in this case rebooting the machine might solve his problem, but in that case sudo reboot would be better I guess... – skepticscript May 14 '13 at 16:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.