Suppose one deleted the following files.
/etc/init.d/.depend.boot
/etc/init.d/.depend.start
/etc/init.d/.depend.stop
How to regenerate them?
Suppose one deleted the following files.
/etc/init.d/.depend.boot
/etc/init.d/.depend.start
/etc/init.d/.depend.stop
How to regenerate them?
Good question. The only reference I've found to those files is in man insserv:
/etc/init.d/.depend.boot,
/etc/init.d/.depend.start,
/etc/init.d/.depend.stop
The make(1) like dependency files produced by insserv for booting,
starting, and stopping with the help of startpar(8).
And in fact, running just plain insserv touches their modification time. So try that and see if it rebuilds them.
As a tip, when you are tempted to delete something like this for whatever reason, move them to a temporary trash directory instead.
find the package it come from and excecute something like :
dpkg --reinstall package name
or
dpkg-reconfigure package name
I'm not sure but that how I would do.
To find what package create what file you can use:
dpkg --search .depend.start
Thos file seems to be generated by the package insserv so command line according to this blog and the man page:
dpkg-reconfigure insserv
Should fix the problem, but BE CAREFULL THIS CAN BREAK THE BOOT SEQUENCE