sudo add-apt-repository ppa:george-edison55/openssl-heartbleed-fix
sudo apt-get update
sudo apt-get upgrade
Any errors running "add-apt-repository" on Ubuntu 12.04, will probably mean that you need to install the "python-software-properties" package with the following command:
sudo apt-get install python-software-properties