Getting an error when i try to reinstall

Sounds like your OS image is screwed up somehow? Can you delete it and reload Ubuntu 14.04?

Or, paste here the output of these commands?

cat /etc/issue

cat /etc/*-release

cat /proc/version