First thing you should do just after the installation is updating the Ubuntu. Ubuntu 12.04 is the LST version and would be supported until April 2017. If you have Ubuntu 12.04 freshly installed, very first thing after installation is to update all the repositories. This would save you from unmet dependency errors.
Read complete step by step Guide here