invoke-rc.d: unknown initscript, /etc/init.d/mongodb not found.


The following packages will be REMOVED:
mongodb-10gen{ap}
0 packages upgraded, 0 newly installed, 1 to remove and 81 not upgraded.
Need to get 0 B of archives. After unpacking 127 MB will be freed.
Do you want to continue? [Y/n/?] Y
(Reading database ... 46636 files and directories currently installed.)
Removing mongodb-10gen ...
arg: remove
invoke-rc.d: unknown initscript, /etc/init.d/mongodb not found.
dpkg: error processing mongodb-10gen (--purge):
subprocess installed pre-removal script returned error exit status 100
configured to not write apport reports
invoke-rc.d: unknown initscript, /etc/init.d/mongodb not found.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 100
Errors were encountered while processing:
mongodb-10gen
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:

to fix this issue kindly


touch /etc/init.d/mongodb

and then apt-get remove or aptitutde purge mongodb-10gen

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s