I'm trying to install emacs in ubuntu 12.10. I've typed the following in the terminal
sudo add-apt-repository ppa:cassou/emacs
sudo apt-get update
sudo apt-get install emacs-snapshot
and I had received the following message:
Failed to fetch http://ph.archive.ubuntu.com/ubuntu/pool/main/e/emacsen-common/emacsen-common_2.0.3_all.deb Size mismatch
Failed to fetch http://ph.archive.ubuntu.com/ubuntu/pool/main/libo/libotf/libotf0_0.9.12-2_i386.deb Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
please help

apt-get update. Please edit your question and add there the output that you get. – Lucio Feb 10 at 1:11