title: Can't remove, purge, unistall mongodb from debian
body: <p>I'm trying to reinstall it, because it has problems. For example, I can't install Chromium because mongodb-org-server is not configured. But I can't even remove it for the same reason.</p>
  
  <pre><code>apt-get autoremove --purge mongodb
  </code></pre>
  
  <p>Or:</p>
  
  <pre><code>apt-get purge mongodb
  </code></pre>
  
  <p>Or:</p>
  
  <pre><code>apt-get remove --purge mongodb
  </code></pre>
  
  <p>All end in the same way:</p>
  
  <pre><code> dpkg: error processing package mongodb-org-server (--configure):
    subprocess installed post-installation script returned error exit status 102
   Errors were encountered while processing:
    mongodb-org-server
   E: Sub-process /usr/bin/dpkg returned an error code (1)
  </code></pre>
  
  <p>Some data about my machine from hostnamectl:</p>
  
  <pre><code>  Operating System: Debian GNU/Linux 8 (jessie)
    Kernel: Linux 3.14-2-amd64
    Architecture: x86_64
  </code></pre>
  
  <p>How can I fix this?</p>
  
  <p>Updates: things I tried/I'm trying</p>
  
  <pre><code>apt-get install -f
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 973 not upgraded.
  1 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  Setting up mongodb-org-server (3.0.2) ...
  dpkg: error processing package mongodb-org-server (--configure):
   subprocess installed post-installation script returned error exit status 102
  Errors were encountered while processing:
   mongodb-org-server
  </code></pre>