vagrant@precise64:~$ sudo apt-get install mongodb-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libboost-filesystem1.46.1 libboost-program-options1.46.1 libboost-system1.46.1
libboost-thread1.46.1 libpcrecpp0 mongodb-clients
The following NEW packages will be installed:
libboost-filesystem1.46.1 libboost-program-options1.46.1 libboost-system1.46.1
libboost-thread1.46.1 libpcrecpp0 mongodb-clients mongodb-server
0 upgraded, 7 newly installed, 0 to remove and 154 not upgraded.
Need to get 20.9 MB of archives.
After this operation, 50.8 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http:Get:2 http:Get:3 http:Get:4 http:Get:5 http:Get:6 http:Get:7 http:Fetched 20.9 MB in 3s (6,317 kB/s)
Selecting previously unselected package libpcrecpp0.
(Reading database ... 51095 files and directories currently installed.)
Unpacking libpcrecpp0 (from .../libpcrecpp0_8.12-4_amd64.deb) ...
Selecting previously unselected package libboost-system1.46.1.
Unpacking libboost-system1.46.1 (from .../libboost-system1.46.1_1.46.1-7ubuntu3_amd64.deb) ...
Selecting previously unselected package libboost-filesystem1.46.1.
Unpacking libboost-filesystem1.46.1 (from .../libboost-filesystem1.46.1_1.46.1-7ubuntu3_amd64.deb) ...
Selecting previously unselected package libboost-program-options1.46.1.
Unpacking libboost-program-options1.46.1 (from .../libboost-program-options1.46.1_1.46.1-7ubuntu3_amd64.deb) ...
Selecting previously unselected package libboost-thread1.46.1.
Unpacking libboost-thread1.46.1 (from .../libboost-thread1.46.1_1.46.1-7ubuntu3_amd64.deb) ...
Selecting previously unselected package mongodb-clients.
Unpacking mongodb-clients (from .../mongodb-clients_1%3a2.0.4-1ubuntu2.1_amd64.deb) ...
Selecting previously unselected package mongodb-server.
Unpacking mongodb-server (from .../mongodb-server_1%3a2.0.4-1ubuntu2.1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up libpcrecpp0 (8.12-4) ...
Setting up libboost-system1.46.1 (1.46.1-7ubuntu3) ...
Setting up libboost-filesystem1.46.1 (1.46.1-7ubuntu3) ...
Setting up libboost-program-options1.46.1 (1.46.1-7ubuntu3) ...
Setting up libboost-thread1.46.1 (1.46.1-7ubuntu3) ...
Setting up mongodb-clients (1:2.0.4-1ubuntu2.1) ...
Setting up mongodb-server (1:2.0.4-1ubuntu2.1) ...
Adding system user `mongodb' (UID 106) ...
Adding new user `mongodb' (UID 106) with group `nogroup' ...
Not creating home directory `/home/mongodb'.
Adding group `mongodb' (GID 111) ...
Done.
Adding user `mongodb' to group `mongodb' ...
Adding user mongodb to group mongodb
Done.
mongodb start/running, process 1676
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
vagrant@precise64:~$ sudo apt-get install mongodb-org-unstable-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
mongodb-org-unstable-server
0 upgraded, 1 newly installed, 0 to remove and 154 not upgraded.
Need to get 8,094 kB of archives.
After this operation, 20.6 MB of additional disk space will be used.
Get:1 http:Fetched 8,094 kB in 1s (6,291 kB/s)
Selecting previously unselected package mongodb-org-unstable-server.
(Reading database ... 51166 files and directories currently installed.)
Unpacking mongodb-org-unstable-server (from .../mongodb-org-unstable-server_2.5.2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/mongodb-org-unstable-server_2.5.2_amd64.deb (--unpack):
trying to overwrite '/usr/bin/mongod', which is also in package mongodb-server 1:2.0.4-1ubuntu2.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/mongodb-org-unstable-server_2.5.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)