I am following the simple steps to install mongoDB:
First:
apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
Worked Good
Second:
echo "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" | tee -a /etc/apt/sources.list.d/10gen.list
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
Done
Third:
apt-get -y update
Done
Fourth:
apt-get install mongodb-10gen
But this step failed with following message:
Failed to fetch http://downloads-distro.mongodb.org/repo/ubuntu-upstart/dists/dist/10gen/binary-amd64/mongodb-10gen_2.4.9_amd64.deb Size mismatch
I am not able to get what am I doing wrong as I have been following these steps for a while and they were successful.