PDA

View Full Version : Unable to install or remove anything.



kalisingh
2013-07-19, 07:03
Hey Guys

This is the error that I'm keep getting again and again, Showed up first when I upgraded the system. I believe I messed up with my system without knowing what I'm doing but I don't know how to go back. apt-get dselect-upgrade is giving me the same problem.

Any help please . That will be highly appreciable for me.

Thank You.

COMMAND: dpkg --configure -a
## RESULT

Setting up initscripts (2.88dsf-43) ...
insserv: script rc.local.original: service rc.local already provided!
insserv: script checkroot.sh: service mtab already provided!
insserv: script rc.local.original: service rc.local already provided!
insserv: script checkroot.sh: service mtab already provided!
insserv: script rc.local.original: service rc.local already provided!
insserv: script checkroot.sh: service mtab already provided!
insserv: script checkroot.sh: service mtab already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing initscripts (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initscripts

## END OF RESULT

muts
2013-07-19, 15:20
You've been mixing your kali repositories, and have broken your system. No clue how to help you now other than recommend a clean install.

shaneoss
2013-08-01, 02:44
Hey Guys

This is the error that I'm keep getting again and again, Showed up first when I upgraded the system. I believe I messed up with my system without knowing what I'm doing but I don't know how to go back. apt-get dselect-upgrade is giving me the same problem.

Any help please . That will be highly appreciable for me.

Thank You.

COMMAND: dpkg --configure -a
## RESULT

Setting up initscripts (2.88dsf-43) ...
insserv: script rc.local.original: service rc.local already provided!
insserv: script checkroot.sh: service mtab already provided!
insserv: script rc.local.original: service rc.local already provided!
insserv: script checkroot.sh: service mtab already provided!
insserv: script rc.local.original: service rc.local already provided!
insserv: script checkroot.sh: service mtab already provided!
insserv: script checkroot.sh: service mtab already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing initscripts (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initscripts

## END OF RESULT

You can just edit checkroot.sh and remove mtab from the script header. That will allow you to progress.

easior
2013-08-19, 06:01
You can just edit checkroot.sh and remove mtab from the script header. That will allow you to progress.

I had same problem. Your method is great. The problem has solved.