Results 1 to 4 of 4

Thread: Unable to install or remove anything.

  1. #1
    Join Date
    2013-Jul
    Posts
    1

    Exclamation Unable to install or remove anything.

    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

  2. #2
    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.

  3. #3
    Join Date
    2013-Aug
    Posts
    1

    Smile

    Quote Originally Posted by kalisingh View Post
    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.

  4. #4
    Join Date
    2013-Apr
    Posts
    4
    Quote Originally Posted by shaneoss View Post
    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.

Similar Threads

  1. Unable to Install Zipalang - Unable to locate Package
    By thitetejas in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2022-01-22, 14:46
  2. Replies: 5
    Last Post: 2021-10-16, 18:02
  3. Replies: 0
    Last Post: 2020-08-27, 20:03
  4. What is the safe way to remove the PHP 5.6 and install PHP 7
    By Luis A. C. in forum General Archive
    Replies: 0
    Last Post: 2016-05-27, 20:35
  5. Replies: 16
    Last Post: 2015-09-08, 07:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •