This question already has an answer here:
Can someone please walk me through installing qgis on Ubuntu 13.04. I keep getting 1.7 no matter what I do and I would like 1.8 if possible. I am a new Linux user.
This was addressed in a previous post but it still did not fix my problem. I was still getting the same errors even when I followed this post: Cannot fix QGIS after upgrade to Ubuntu 13.04 Raring
I was finally able to figure it out:
On the QGIS website I installed this http://hub.qgis.org/projects/quantum-gis/wiki/Download#262-With-updated-dependencies section 2.6.2
I actually had to download these packages from the site:
sudo apt-get install python-software-properties sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable sudo apt-get update sudo apt-get install qgis