Answer the question
In order to leave comments, you need to log in
Apt-get gives Can't exec "insserv" how to fix?
I try to install any package via sudo apt-get install Everything downloaded, installed but not completely. Here are the logs
Configuring package PROGRAM_NAME (0.0.0-0) ...
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 406.
update-rc.d: error: insserv rejected the script header
dpkg: error processing package PROGRAM_NAME (--configure): sub-process
installed post-installation script returned error code 255
Errors occurred while processing the following packages:
PROGRAM_NAME
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt-get -f install
Reading package lists... Done
Building dependency tree
Reading status information... Done
0 upgraded, 0 new packages installed, 0 packages marked to remove, and 0 packages not upgraded.
not fully installed or 1 packages removed.
After this operation, the amount of used disk space will increase by 0 B.
Configure package PROGRAM_NAME (0.0.0-0) …
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 406 update-rc.d :
error: insserv rejected the script header
dpkg: error processing package PROGRAM_NAME (--configure):
subprocess installed post-installation script returned error code 255
Errors occurred while processing the following packages:
PROGRAM_NAME
E: Sub-process /usr/bin/dpkg returned an error code (1)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question