Skip to content
Advertisement

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

I’m trying to install things in Linux (Crunchbang Linux – a derivation of Debian), and I’m getting errors which point towards mongodb-20gen.

When I try to remove it using :-

JavaScript

I get …

JavaScript

I read something on here for similar errors with MongoDB, and it suggested removing mongo-clients, so, I tried:-

JavaScript

and get:-

JavaScript

Advertisement

Answer

This is due to some corruption within the package manager dpkg itself, this thread from Ask Ubuntu: https://askubuntu.com/questions/195950/package-system-broken-e-sub-process-usr-bin-dpkg-returned-an-error-code-1 lists some solutions, more specifically the editing of the status file has been noted as one that always works.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement