MongoDB erreurs: mongodb-10gen E: Sub-process /usr/bin/dpkg returned an error code (1)

Je suis en train de l'installer sous Linux (Crunchbang Linux - dérivé de Debian), et j'ai des erreurs qui pointent vers mongodb-20gen.

Quand j'essaie de l'enlever à l'aide :-

cometbill@Linuxn00b:~$ sudo apt-get remove mongodb-10gen

- Je obtenir ...

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  mongodb-10gen
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 221 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 81657 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 (--remove):
 subprocess installed pre-removal script returned error exit status 100
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)

J'ai lu quelque chose sur ici pour des erreurs similaires avec MongoDB, et elle a suggéré de supprimer mongo-clients, donc, j'ai essayé:-

cometbill@Linuxn00b:~$ sudo apt-get remove mongodb-clients

et obtenez:-

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'mongodb-clients' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up mongodb-10gen (2.4.6) ...
invoke-rc.d: unknown initscript, /etc/init.d/mongodb not found.
dpkg: error processing mongodb-10gen (--configure):
 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)
C'est probablement quelque chose de plus pour demander à ubuntu ou serveur faute, je sais que vous n'êtes pas en cours d'exécution ubunut mais essayer: askubuntu.com/questions/195950/...
ajouter votre commentaire comme une réponse. Je l'ai essayé et il semble avoir travaillé.

OriginalL'auteur cometbill | 2013-09-10