Public bug reported: Looks like the newest update of mongodb package has the init script for the server in the wrong package.
sadig@sadig:~$ sudo apt-get dist-upgrade [sudo] password for sadig: Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: mongodb 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 7 not fully installed or removed. Need to get 0 B/6.746 B of archives. After this operation, 44,0 kB of additional disk space will be used. Do you want to continue [Y/n]? y (Reading database ... 443889 files and directories currently installed.) Preparing to replace mongodb 1:2.4.5-1ubuntu2 (using .../mongodb_1%3a2.4.6-0ubuntu1_amd64.deb) ... Unpacking replacement mongodb ... dpkg: error processing /var/cache/apt/archives/mongodb_1%3a2.4.6-0ubuntu1_amd64.deb (--unpack): trying to overwrite '/etc/init/mongodb.conf', which is also in package mongodb-server 1:2.4.6-0ubuntu1 Processing triggers for ureadahead ... Errors were encountered while processing: /var/cache/apt/archives/mongodb_1%3a2.4.6-0ubuntu1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) ** Affects: mongodb (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1217051 Title: mongodb 1:2.4.6 has init script in wrong package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1217051/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs